Uses of Class
org.apache.commons.geometry.euclidean.twod.LinecastPoint2D
-
Packages that use LinecastPoint2D Package Description org.apache.commons.geometry.euclidean.twod This package provides basic 2D geometry components.org.apache.commons.geometry.euclidean.twod.shape 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 LinecastPoint2D Modifier and Type Field Description static java.util.Comparator<LinecastPoint2D>LinecastPoint2D. ABSCISSA_ORDERComparator that sorts intersection instances by increasing abscissa order.private java.util.List<LinecastPoint2D>RegionBSPTree2D.LinecastVisitor. resultsList of results from the linecast operation.Methods in org.apache.commons.geometry.euclidean.twod that return LinecastPoint2D Modifier and Type Method Description private LinecastPoint2DBoundarySourceLinecaster2D. computeIntersection(LineConvexSubset boundary, LineConvexSubset subset)Compute the intersection between a boundary line subset and linecast intersecting line subset.private LinecastPoint2DRegionBSPTree2D.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.LinecastPoint2DRegionBSPTree2D.LinecastVisitor. getFirstResult()Get the firstLinecastPoint2Dresulting from the linecast operation.default LinecastPoint2DBoundarySource2D. 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.LinecastPoint2DBoundarySourceLinecaster2D. 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 LinecastPoint2DLinecastable2D. 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.LinecastPoint2DLinecastable2D. 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.LinecastPoint2DRegionBSPTree2D. 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 LinecastPoint2D Modifier and Type Method Description private java.util.stream.Stream<LinecastPoint2D>BoundarySourceLinecaster2D. getIntersectionStream(LineConvexSubset subset)Return a stream containing intersections between the boundary source and the given line subset.java.util.List<LinecastPoint2D>RegionBSPTree2D.LinecastVisitor. getResults()Get a list containing the results of the linecast operation.default java.util.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.java.util.List<LinecastPoint2D>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 java.util.List<LinecastPoint2D>Linecastable2D. linecast(Line line)Intersect the given line against the boundaries in this instance, returning a list of all intersections in order of increasing position along the line.java.util.List<LinecastPoint2D>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.java.util.List<LinecastPoint2D>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 LinecastPoint2D Modifier and Type Method Description private static booleanLinecastPoint2D. containsEq(LinecastPoint2D pt, java.util.List<? extends LinecastPoint2D> list)Return true if the given linecast point is equivalent to any of those in the given list.booleanLinecastPoint2D. 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 LinecastPoint2D Modifier and Type Method Description private static booleanLinecastPoint2D. containsEq(LinecastPoint2D pt, java.util.List<? extends LinecastPoint2D> list)Return true if the given linecast point is equivalent to any of those in the given list.static voidLinecastPoint2D. sortAndFilter(java.util.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 LinecastPoint2D Modifier and Type Method Description LinecastPoint2DCircle. 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 LinecastPoint2D Modifier and Type Method Description private java.util.stream.Stream<LinecastPoint2D>Circle. getLinecastStream(LineConvexSubset segment)Get a stream containing the linecast intersection points of the given segment with this instance.java.util.List<LinecastPoint2D>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.
-