Uses of Class
org.apache.commons.geometry.euclidean.twod.LineConvexSubset
-
Packages that use LineConvexSubset Package Description org.apache.commons.geometry.euclidean.threed This package provides basic 3D geometry components.org.apache.commons.geometry.euclidean.twod This package provides basic 2D geometry components.org.apache.commons.geometry.euclidean.twod.path This package provides classes for working with connected sequences of line segments and other line subsets.org.apache.commons.geometry.euclidean.twod.shape This package provides utilities for constructing basic 2D shapes. -
-
Uses of LineConvexSubset in org.apache.commons.geometry.euclidean.threed
Methods in org.apache.commons.geometry.euclidean.threed with parameters of type LineConvexSubset Modifier and Type Method Description private PlaneConvexSubsetPlanes.PlaneRegionExtruder. extrudeSideInfinite(LineConvexSubset lineSubset)Extrude a single, infinite boundary forming one of the sides of the extruded region. -
Uses of LineConvexSubset in org.apache.commons.geometry.euclidean.twod
Subclasses of LineConvexSubset in org.apache.commons.geometry.euclidean.twod Modifier and Type Class Description (package private) classLineSpanningSubsetClass representing the span of a line in 2D Euclidean space.classRayClass representing a ray in 2D Euclidean space.classReverseRayClass representing a portion of a line in 2D Euclidean space that starts at infinity and continues in the direction of the line up to a single end point.classSegmentClass representing a line segment in 2D Euclidean space.Fields in org.apache.commons.geometry.euclidean.twod declared as LineConvexSubset Modifier and Type Field Description private LineConvexSubsetRegionBSPTree2D.LinecastVisitor. linecastSubsetThe line subset to intersect with the boundaries of the BSP tree.Methods in org.apache.commons.geometry.euclidean.twod that return LineConvexSubset Modifier and Type Method Description abstract LineConvexSubsetLineConvexSubset. reverse()Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.LineConvexSubsetLine. span()Return aHyperplaneConvexSubsetspanning this entire hyperplane.static LineConvexSubsetLines. span(Line line)Create aLineConvexSubsetspanning the entire line.static LineConvexSubsetLines. subsetFromInterval(Line line, double a, double b)Create a line subset from a line and a 1D interval on the line.static LineConvexSubsetLines. subsetFromInterval(Line line, Interval interval)Create a line subset from a line and a 1D interval on the line.abstract LineConvexSubsetLineConvexSubset. transform(Transform<Vector2D> transform)Return a new hyperplane subset resulting from the application of the given transform.LineConvexSubsetConvexArea. trim(HyperplaneConvexSubset<Vector2D> convexSubset)Trim the given hyperplane subset to the portion contained inside this instance.Methods in org.apache.commons.geometry.euclidean.twod that return types with arguments of type LineConvexSubset Modifier and Type Method Description java.lang.Iterable<LineConvexSubset>RegionBSPTree2D. boundaries()Return anIterablefor iterating over the boundaries of the region.java.util.stream.Stream<LineConvexSubset>ConvexArea. boundaryStream()Return a stream containing the boundaries for this instance.java.util.stream.Stream<LineConvexSubset>RegionBSPTree2D. boundaryStream()Return a stream containing the boundaries for this instance.java.util.List<LineConvexSubset>RegionBSPTree2D. getBoundaries()Return a list containing the boundaries of the region.Split<LineConvexSubset>LineConvexSubset. split(Hyperplane<Vector2D> splitter)Split this instance with the given hyperplane.(package private) abstract Split<LineConvexSubset>LineConvexSubset. splitOnIntersection(Line splitter, Vector2D intersection)Split this instance using the given splitter line and intersection point.(package private) Split<LineConvexSubset>LineSpanningSubset. splitOnIntersection(Line splitter, Vector2D intersection)Split this instance using the given splitter line and intersection point.(package private) Split<LineConvexSubset>Ray. splitOnIntersection(Line splitter, Vector2D intersection)Split this instance using the given splitter line and intersection point.protected Split<LineConvexSubset>ReverseRay. splitOnIntersection(Line splitter, Vector2D intersection)Split this instance using the given splitter line and intersection point.(package private) Split<LineConvexSubset>Segment. splitOnIntersection(Line splitter, Vector2D intersection)Split this instance using the given splitter line and intersection point.java.util.List<LineConvexSubset>EmbeddedTreeLineSubset. toConvex()Convert this instance into a list of convex child subsets representing the same region.java.util.List<LineConvexSubset>LineConvexSubset. toConvex()Convert this instance into a list of convex child subsets representing the same region.abstract java.util.List<LineConvexSubset>LineSubset. toConvex()Convert this instance into a list of convex child subsets representing the same region.Methods in org.apache.commons.geometry.euclidean.twod with parameters of type LineConvexSubset Modifier and Type Method Description voidEmbeddedTreeLineSubset. add(LineConvexSubset subset)Add a line subset to this instance.private LinecastPoint2DBoundarySourceLinecaster2D. computeIntersection(LineConvexSubset boundary, LineConvexSubset subset)Compute the intersection between a boundary line subset and linecast intersecting line subset.private java.util.stream.Stream<LinecastPoint2D>BoundarySourceLinecaster2D. getIntersectionStream(LineConvexSubset subset)Return a stream containing intersections between the boundary source and the given line subset.RegionBSPTree2D.PartitionedRegionBuilder2DRegionBSPTree2D.PartitionedRegionBuilder2D. insertBoundary(LineConvexSubset boundary)Insert a region boundary.RegionBSPTree2D.PartitionedRegionBuilder2DRegionBSPTree2D.PartitionedRegionBuilder2D. insertPartition(LineConvexSubset partition)Insert a line convex subset as a partition.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.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.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.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.static BoundarySource2DBoundarySource2D. of(LineConvexSubset... boundaries)Return aBoundarySource2Dinstance containing the given boundaries.Method parameters in org.apache.commons.geometry.euclidean.twod with type arguments of type LineConvexSubset Modifier and Type Method Description static RegionBSPTree2DRegionBSPTree2D. from(java.lang.Iterable<? extends LineConvexSubset> boundaries)Construct a new tree from the given boundaries.static RegionBSPTree2DRegionBSPTree2D. from(java.lang.Iterable<? extends LineConvexSubset> boundaries, boolean full)Construct a new tree from the given boundaries.RegionBSPTree2D.PartitionedRegionBuilder2DRegionBSPTree2D.PartitionedRegionBuilder2D. insertBoundaries(java.lang.Iterable<? extends LineConvexSubset> boundaries)Insert a collection of region boundaries.static BoundarySource2DBoundarySource2D. of(java.util.Collection<LineConvexSubset> boundaries)Return aBoundarySource2Dinstance containing the given boundaries.Constructors in org.apache.commons.geometry.euclidean.twod with parameters of type LineConvexSubset Constructor Description LinecastVisitor(LineConvexSubset linecastSubset, boolean firstOnly)Create a new instance with the given intersecting line subset.Constructor parameters in org.apache.commons.geometry.euclidean.twod with type arguments of type LineConvexSubset Constructor Description BoundaryList2D(java.util.List<? extends LineConvexSubset> boundaries)Construct a new instance with the given list of boundaries.ConvexArea(java.util.List<LineConvexSubset> boundaries)Simple constructor. -
Uses of LineConvexSubset in org.apache.commons.geometry.euclidean.twod.path
Fields in org.apache.commons.geometry.euclidean.twod.path declared as LineConvexSubset Modifier and Type Field Description private LineConvexSubsetAbstractLinePathConnector.ConnectableLineSubset. subsetLine subset for the entry.Fields in org.apache.commons.geometry.euclidean.twod.path with type parameters of type LineConvexSubset Modifier and Type Field Description private java.util.List<LineConvexSubset>LinePath.Builder. appendedLine subsets appended to the path.private java.util.List<LineConvexSubset>LinePath. elementsThe line convex subsets comprising the path.private java.util.List<LineConvexSubset>LinePath.Builder. prependedLine subsets prepended to the path.Methods in org.apache.commons.geometry.euclidean.twod.path that return LineConvexSubset Modifier and Type Method Description LineConvexSubsetLinePath.Builder. getEnd()Get the line subset at the end of the path or null if it does not exist.LineConvexSubsetLinePath. getEnd()Get the line subset at the end of the path or null if the path is empty.private LineConvexSubsetLinePath.Builder. getFirst(java.util.List<? extends LineConvexSubset> list)Get the first element in the list or null if the list is null or empty.private LineConvexSubsetLinePath.Builder. getLast(java.util.List<? extends LineConvexSubset> list)Get the last element in the list or null if the list is null or empty.LineConvexSubsetAbstractLinePathConnector.ConnectableLineSubset. getLineSubset()Get the line subset for this instance.LineConvexSubsetLinePath.Builder. getStart()Get the line subset at the start of the path or null if it does not exist.LineConvexSubsetLinePath. getStart()Get the line subset at the start of the path or null if the path is empty.Methods in org.apache.commons.geometry.euclidean.twod.path that return types with arguments of type LineConvexSubset Modifier and Type Method Description java.util.stream.Stream<LineConvexSubset>LinePath. boundaryStream()Return a stream containing the boundaries for this instance.java.util.List<LineConvexSubset>LinePath. getElements()Get the sequence of line subsets comprising the path.Methods in org.apache.commons.geometry.euclidean.twod.path with parameters of type LineConvexSubset Modifier and Type Method Description voidAbstractLinePathConnector. add(LineConvexSubset subset)Add a line subset to the connector, leaving it unconnected until a later call to toAbstractLinePathConnector.connect(Iterable)orAbstractLinePathConnector.connectAll().LinePath.BuilderLinePath.Builder. append(LineConvexSubset subset)Append a line subset to the end of the path.private voidLinePath.Builder. appendInternal(LineConvexSubset subset)Append the given, validated line subsets to the path.static LinePathLinePath. from(LineConvexSubset... subsets)Build a new path from the given line subsets.LinePath.BuilderLinePath.Builder. prepend(LineConvexSubset subset)Prepend a line subset to the beginning of the path.private voidLinePath.Builder. prependInternal(LineConvexSubset subset)Prepend the given, validated line subset to the path.private voidLinePath.Builder. validateConnected(LineConvexSubset previous, LineConvexSubset next)Validate that the given line subsets are connected, meaning that the end vertex ofpreviousis equivalent to the start vertex ofnext.Method parameters in org.apache.commons.geometry.euclidean.twod.path with type arguments of type LineConvexSubset Modifier and Type Method Description voidAbstractLinePathConnector. add(java.lang.Iterable<? extends LineConvexSubset> subsets)Add a collection of line subsets to the connector, leaving them unconnected until a later call toAbstractLinePathConnector.connect(Iterable)orAbstractLinePathConnector.connectAll().voidAbstractLinePathConnector. connect(java.lang.Iterable<? extends LineConvexSubset> subsets)Add a collection of line subsets to the connector and attempt to connect each new line subset with existing subsets.java.util.List<LinePath>AbstractLinePathConnector. connectAll(java.lang.Iterable<LineConvexSubset> subsets)Add the given line subsets to this instance and connect all current subsets into connected paths.static java.util.List<LinePath>InteriorAngleLinePathConnector. connectMaximized(java.util.Collection<LineConvexSubset> subsets)Convenience method for connecting a collection of line subsets with interior angles maximized when possible.static java.util.List<LinePath>InteriorAngleLinePathConnector. connectMinimized(java.util.Collection<LineConvexSubset> subsets)Convenience method for connecting a collection of line subsets with interior angles minimized when possible.static LinePathLinePath. from(java.util.Collection<? extends LineConvexSubset> subsets)Build a new path from the given line subsets.private LineConvexSubsetLinePath.Builder. getFirst(java.util.List<? extends LineConvexSubset> list)Get the first element in the list or null if the list is null or empty.private LineConvexSubsetLinePath.Builder. getLast(java.util.List<? extends LineConvexSubset> list)Get the last element in the list or null if the list is null or empty.Constructors in org.apache.commons.geometry.euclidean.twod.path with parameters of type LineConvexSubset Constructor Description ConnectableLineSubset(LineConvexSubset subset)Create a new instance from the given line subset.ConnectableLineSubset(Vector2D start, LineConvexSubset subset)Create a new instance with the given start point and line subset.Constructor parameters in org.apache.commons.geometry.euclidean.twod.path with type arguments of type LineConvexSubset Constructor Description LinePath(java.util.List<LineConvexSubset> elements)Simple constructor.SimplifiedLinePath(java.util.List<LineConvexSubset> elements)Create a new instance containing the given line subsets. -
Uses of LineConvexSubset in org.apache.commons.geometry.euclidean.twod.shape
Methods in org.apache.commons.geometry.euclidean.twod.shape with parameters of type LineConvexSubset 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.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.Constructor parameters in org.apache.commons.geometry.euclidean.twod.shape with type arguments of type LineConvexSubset Constructor Description Parallelogram(java.util.List<LineConvexSubset> boundaries)Simple constructor.
-