Package | Description |
---|---|
org.apache.commons.geometry.euclidean.threed |
This package provides basic 3D geometry components.
|
org.apache.commons.geometry.euclidean.threed.line |
This package provides classes and utilities for lines in 3D Euclidean space.
|
org.apache.commons.geometry.euclidean.threed.shape |
This package provides utilities for constructing basic 3D shapes.
|
Modifier and Type | Method and Description |
---|---|
default LinecastPoint3D |
BoundarySource3D.linecastFirst(LineConvexSubset3D subset)
Intersect the given line convex subset against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line subset from its
start point.
|
LinecastPoint3D |
RegionBSPTree3D.linecastFirst(LineConvexSubset3D subset)
Intersect the given line convex subset against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line subset from its
start point.
|
Modifier and Type | Method and Description |
---|---|
default List<LinecastPoint3D> |
BoundarySource3D.linecast(LineConvexSubset3D subset)
Intersect the given line convex subset against the boundaries in this instance, returning
a list of all intersections in order of increasing distance along the line.
|
List<LinecastPoint3D> |
RegionBSPTree3D.linecast(LineConvexSubset3D subset)
Intersect the given line convex subset against the boundaries in this instance, returning
a list of all intersections in order of increasing distance along the line.
|
Modifier and Type | Field and Description |
---|---|
static Comparator<LinecastPoint3D> |
LinecastPoint3D.ABSCISSA_ORDER
Comparator that sorts intersection instances by increasing abscissa order.
|
Modifier and Type | Method and Description |
---|---|
default LinecastPoint3D |
Linecastable3D.linecastFirst(Line3D line)
Intersect the given line against the boundaries in this instance, returning the first
intersection found when traveling in the direction of the line from infinity.
|
LinecastPoint3D |
Linecastable3D.linecastFirst(LineConvexSubset3D subset)
Intersect the given line convex subset against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line subset from its
start point.
|
Modifier and Type | Method and Description |
---|---|
default List<LinecastPoint3D> |
Linecastable3D.linecast(Line3D line)
Intersect the given line against the boundaries in this instance, returning a
list of all intersections in order of increasing distance along the line.
|
List<LinecastPoint3D> |
Linecastable3D.linecast(LineConvexSubset3D subset)
Intersect the given line convex subset against the boundaries in this instance, returning
a list of all intersections in order of increasing distance along the line.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LinecastPoint3D.eq(LinecastPoint3D other,
Precision.DoubleEquivalence precision)
Return true if this instance should be considered equivalent to the argument, using the
given precision context for comparison.
|
Modifier and Type | Method and Description |
---|---|
static void |
LinecastPoint3D.sortAndFilter(List<LinecastPoint3D> pts)
Sort the given list of linecast points by increasing abscissa value and filter to remove
duplicate entries (as determined by the
eq(LinecastPoint3D, Precision.DoubleEquivalence) method). |
Modifier and Type | Method and Description |
---|---|
LinecastPoint3D |
Sphere.linecastFirst(LineConvexSubset3D subset)
Intersect the given line convex subset against the boundaries in this instance, returning
the first intersection found when traveling in the direction of the line subset from its
start point.
|
Modifier and Type | Method and Description |
---|---|
List<LinecastPoint3D> |
Sphere.linecast(LineConvexSubset3D subset)
Intersect the given line convex subset against the boundaries in this instance, returning
a list of all intersections in order of increasing distance along the line.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.