Uses of Class
org.apache.commons.geometry.euclidean.twod.LinecastPoint2D
Packages that use LinecastPoint2D
Package
Description
This package provides basic 2D geometry components.
This package provides utilities for constructing basic 2D shapes.
-
Uses of LinecastPoint2D in org.apache.commons.geometry.euclidean.twod
Fields in org.apache.commons.geometry.euclidean.twod with type parameters of type LinecastPoint2DModifier and TypeFieldDescriptionstatic final Comparator
<LinecastPoint2D> LinecastPoint2D.ABSCISSA_ORDER
Comparator that sorts intersection instances by increasing abscissa order.private final List
<LinecastPoint2D> RegionBSPTree2D.LinecastVisitor.results
List of results from the linecast operation.Methods in org.apache.commons.geometry.euclidean.twod that return LinecastPoint2DModifier and TypeMethodDescriptionprivate LinecastPoint2D
BoundarySourceLinecaster2D.computeIntersection
(LineConvexSubset boundary, LineConvexSubset subset) Compute the intersection between a boundary line subset and linecast intersecting line subset.private LinecastPoint2D
RegionBSPTree2D.LinecastVisitor.computeLinecastPoint
(Vector2D pt, RegionBSPTree2D.RegionNode2D 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.RegionBSPTree2D.LinecastVisitor.getFirstResult()
Get the firstLinecastPoint2D
resulting from the linecast operation.default LinecastPoint2D
BoundarySource2D.linecastFirst
(LineConvexSubset subset) Intersect the given line subset against the boundaries in this instance, returning the first intersection found when traveling in the direction of the line subset from its start location.BoundarySourceLinecaster2D.linecastFirst
(LineConvexSubset subset) Intersect the given line subset against the boundaries in this instance, returning the first intersection found when traveling in the direction of the line subset from its start location.default LinecastPoint2D
Linecastable2D.linecastFirst
(Line 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.Linecastable2D.linecastFirst
(LineConvexSubset subset) Intersect the given line subset against the boundaries in this instance, returning the first intersection found when traveling in the direction of the line subset from its start location.RegionBSPTree2D.linecastFirst
(LineConvexSubset subset) Intersect the given line subset against the boundaries in this instance, returning the first intersection found when traveling in the direction of the line subset from its start location.Methods in org.apache.commons.geometry.euclidean.twod that return types with arguments of type LinecastPoint2DModifier and TypeMethodDescriptionprivate Stream
<LinecastPoint2D> BoundarySourceLinecaster2D.getIntersectionStream
(LineConvexSubset subset) Return a stream containing intersections between the boundary source and the given line subset.RegionBSPTree2D.LinecastVisitor.getResults()
Get a list containing the results of the linecast operation.default List
<LinecastPoint2D> BoundarySource2D.linecast
(LineConvexSubset subset) Intersect the given line subset against the boundaries in this instance, returning a list of all intersections in order of increasing position along the line.BoundarySourceLinecaster2D.linecast
(LineConvexSubset subset) Intersect the given line subset against the boundaries in this instance, returning a list of all intersections in order of increasing position along the line.default List
<LinecastPoint2D> Intersect the given line against the boundaries in this instance, returning a list of all intersections in order of increasing position along the line.Linecastable2D.linecast
(LineConvexSubset subset) Intersect the given line subset against the boundaries in this instance, returning a list of all intersections in order of increasing position along the line.RegionBSPTree2D.linecast
(LineConvexSubset subset) Intersect the given line subset against the boundaries in this instance, returning a list of all intersections in order of increasing position along the line.Methods in org.apache.commons.geometry.euclidean.twod with parameters of type LinecastPoint2DModifier and TypeMethodDescriptionprivate static boolean
LinecastPoint2D.containsEq
(LinecastPoint2D pt, List<? extends LinecastPoint2D> list) Return true if the given linecast point is equivalent to any of those in the given list.boolean
LinecastPoint2D.eq
(LinecastPoint2D 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.twod with type arguments of type LinecastPoint2DModifier and TypeMethodDescriptionprivate static boolean
LinecastPoint2D.containsEq
(LinecastPoint2D pt, List<? extends LinecastPoint2D> list) Return true if the given linecast point is equivalent to any of those in the given list.static void
LinecastPoint2D.sortAndFilter
(List<LinecastPoint2D> pts) Sort the given list of linecast points by increasing abscissa value and filter to remove duplicate entries (as determined by theeq(LinecastPoint2D, Precision.DoubleEquivalence)
method). -
Uses of LinecastPoint2D in org.apache.commons.geometry.euclidean.twod.shape
Methods in org.apache.commons.geometry.euclidean.twod.shape that return LinecastPoint2DModifier and TypeMethodDescriptionCircle.linecastFirst
(LineConvexSubset segment) Intersect the given line subset against the boundaries in this instance, returning the first intersection found when traveling in the direction of the line subset from its start location.Methods in org.apache.commons.geometry.euclidean.twod.shape that return types with arguments of type LinecastPoint2DModifier and TypeMethodDescriptionprivate Stream
<LinecastPoint2D> Circle.getLinecastStream
(LineConvexSubset segment) Get a stream containing the linecast intersection points of the given segment with this instance.Circle.linecast
(LineConvexSubset segment) Intersect the given line subset against the boundaries in this instance, returning a list of all intersections in order of increasing position along the line.