Uses of Class
org.apache.commons.geometry.euclidean.threed.line.LinecastPoint3D
-
Packages that use LinecastPoint3D 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. -
-
Uses of LinecastPoint3D in org.apache.commons.geometry.euclidean.threed
Fields in org.apache.commons.geometry.euclidean.threed with type parameters of type LinecastPoint3D Modifier and Type Field Description private java.util.List<LinecastPoint3D>
RegionBSPTree3D.LinecastVisitor. results
List of results from the linecast operation.Methods in org.apache.commons.geometry.euclidean.threed that return LinecastPoint3D Modifier and Type Method Description private LinecastPoint3D
BoundarySourceLinecaster3D. computeIntersection(PlaneConvexSubset planeSubset, LineConvexSubset3D lineSubset)
Compute the intersection between a boundary plane subset and line subset.private LinecastPoint3D
RegionBSPTree3D.LinecastVisitor. computeLinecastPoint(Vector3D pt, RegionBSPTree3D.RegionNode3D node)
Compute the linecast point for the given intersection point and tree node, returning null if the point does not actually lie on the region boundary.LinecastPoint3D
RegionBSPTree3D.LinecastVisitor. getFirstResult()
Get the firstLinecastPoint2D
resulting from the linecast operation.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
BoundarySourceLinecaster3D. 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.Methods in org.apache.commons.geometry.euclidean.threed that return types with arguments of type LinecastPoint3D Modifier and Type Method Description private java.util.stream.Stream<LinecastPoint3D>
BoundarySourceLinecaster3D. getIntersectionStream(LineConvexSubset3D subset)
Return a stream containing intersections between the boundary source and the given line convex subset.java.util.List<LinecastPoint3D>
RegionBSPTree3D.LinecastVisitor. getResults()
Get a list containing the results of the linecast operation.default java.util.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.java.util.List<LinecastPoint3D>
BoundarySourceLinecaster3D. 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.java.util.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. -
Uses of LinecastPoint3D in org.apache.commons.geometry.euclidean.threed.line
Fields in org.apache.commons.geometry.euclidean.threed.line with type parameters of type LinecastPoint3D Modifier and Type Field Description static java.util.Comparator<LinecastPoint3D>
LinecastPoint3D. ABSCISSA_ORDER
Comparator that sorts intersection instances by increasing abscissa order.Methods in org.apache.commons.geometry.euclidean.threed.line that return LinecastPoint3D Modifier and Type Method 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.Methods in org.apache.commons.geometry.euclidean.threed.line that return types with arguments of type LinecastPoint3D Modifier and Type Method Description default java.util.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.java.util.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.Methods in org.apache.commons.geometry.euclidean.threed.line with parameters of type LinecastPoint3D Modifier and Type Method Description private static boolean
LinecastPoint3D. containsEq(LinecastPoint3D pt, java.util.List<? extends LinecastPoint3D> list)
Return true if the given linecast point is equivalent to any of those in the given list.boolean
LinecastPoint3D. eq(LinecastPoint3D other, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Return true if this instance should be considered equivalent to the argument, using the given precision context for comparison.Method parameters in org.apache.commons.geometry.euclidean.threed.line with type arguments of type LinecastPoint3D Modifier and Type Method Description private static boolean
LinecastPoint3D. containsEq(LinecastPoint3D pt, java.util.List<? extends LinecastPoint3D> list)
Return true if the given linecast point is equivalent to any of those in the given list.static void
LinecastPoint3D. sortAndFilter(java.util.List<LinecastPoint3D> pts)
Sort the given list of linecast points by increasing abscissa value and filter to remove duplicate entries (as determined by theeq(LinecastPoint3D, Precision.DoubleEquivalence)
method). -
Uses of LinecastPoint3D in org.apache.commons.geometry.euclidean.threed.shape
Methods in org.apache.commons.geometry.euclidean.threed.shape that return LinecastPoint3D Modifier and Type Method 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.Methods in org.apache.commons.geometry.euclidean.threed.shape that return types with arguments of type LinecastPoint3D Modifier and Type Method Description private java.util.stream.Stream<LinecastPoint3D>
Sphere. getLinecastStream(LineConvexSubset3D subset)
Get a stream containing the linecast intersection points of the given line subset with this instance.java.util.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.
-