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 PlaneConvexSubset
Planes.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) class
LineSpanningSubset
Class representing the span of a line in 2D Euclidean space.class
Ray
Class representing a ray in 2D Euclidean space.class
ReverseRay
Class 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.class
Segment
Class 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 LineConvexSubset
RegionBSPTree2D.LinecastVisitor. linecastSubset
The 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 LineConvexSubset
LineConvexSubset. reverse()
Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.LineConvexSubset
Line. span()
Return aHyperplaneConvexSubset
spanning this entire hyperplane.static LineConvexSubset
Lines. span(Line line)
Create aLineConvexSubset
spanning the entire line.static LineConvexSubset
Lines. subsetFromInterval(Line line, double a, double b)
Create a line subset from a line and a 1D interval on the line.static LineConvexSubset
Lines. subsetFromInterval(Line line, Interval interval)
Create a line subset from a line and a 1D interval on the line.abstract LineConvexSubset
LineConvexSubset. transform(Transform<Vector2D> transform)
Return a new hyperplane subset resulting from the application of the given transform.LineConvexSubset
ConvexArea. 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 anIterable
for 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 void
EmbeddedTreeLineSubset. add(LineConvexSubset subset)
Add a line subset to this instance.private LinecastPoint2D
BoundarySourceLinecaster2D. 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.PartitionedRegionBuilder2D
RegionBSPTree2D.PartitionedRegionBuilder2D. insertBoundary(LineConvexSubset boundary)
Insert a region boundary.RegionBSPTree2D.PartitionedRegionBuilder2D
RegionBSPTree2D.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 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.LinecastPoint2D
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.LinecastPoint2D
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.LinecastPoint2D
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.static BoundarySource2D
BoundarySource2D. of(LineConvexSubset... boundaries)
Return aBoundarySource2D
instance 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 RegionBSPTree2D
RegionBSPTree2D. from(java.lang.Iterable<? extends LineConvexSubset> boundaries)
Construct a new tree from the given boundaries.static RegionBSPTree2D
RegionBSPTree2D. from(java.lang.Iterable<? extends LineConvexSubset> boundaries, boolean full)
Construct a new tree from the given boundaries.RegionBSPTree2D.PartitionedRegionBuilder2D
RegionBSPTree2D.PartitionedRegionBuilder2D. insertBoundaries(java.lang.Iterable<? extends LineConvexSubset> boundaries)
Insert a collection of region boundaries.static BoundarySource2D
BoundarySource2D. of(java.util.Collection<LineConvexSubset> boundaries)
Return aBoundarySource2D
instance 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 LineConvexSubset
AbstractLinePathConnector.ConnectableLineSubset. subset
Line 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. appended
Line subsets appended to the path.private java.util.List<LineConvexSubset>
LinePath. elements
The line convex subsets comprising the path.private java.util.List<LineConvexSubset>
LinePath.Builder. prepended
Line subsets prepended to the path.Methods in org.apache.commons.geometry.euclidean.twod.path that return LineConvexSubset Modifier and Type Method Description LineConvexSubset
LinePath.Builder. getEnd()
Get the line subset at the end of the path or null if it does not exist.LineConvexSubset
LinePath. getEnd()
Get the line subset at the end of the path or null if the path is empty.private LineConvexSubset
LinePath.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 LineConvexSubset
LinePath.Builder. getLast(java.util.List<? extends LineConvexSubset> list)
Get the last element in the list or null if the list is null or empty.LineConvexSubset
AbstractLinePathConnector.ConnectableLineSubset. getLineSubset()
Get the line subset for this instance.LineConvexSubset
LinePath.Builder. getStart()
Get the line subset at the start of the path or null if it does not exist.LineConvexSubset
LinePath. 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 void
AbstractLinePathConnector. add(LineConvexSubset subset)
Add a line subset to the connector, leaving it unconnected until a later call to toAbstractLinePathConnector.connect(Iterable)
orAbstractLinePathConnector.connectAll()
.LinePath.Builder
LinePath.Builder. append(LineConvexSubset subset)
Append a line subset to the end of the path.private void
LinePath.Builder. appendInternal(LineConvexSubset subset)
Append the given, validated line subsets to the path.static LinePath
LinePath. from(LineConvexSubset... subsets)
Build a new path from the given line subsets.LinePath.Builder
LinePath.Builder. prepend(LineConvexSubset subset)
Prepend a line subset to the beginning of the path.private void
LinePath.Builder. prependInternal(LineConvexSubset subset)
Prepend the given, validated line subset to the path.private void
LinePath.Builder. validateConnected(LineConvexSubset previous, LineConvexSubset next)
Validate that the given line subsets are connected, meaning that the end vertex ofprevious
is 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 void
AbstractLinePathConnector. 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()
.void
AbstractLinePathConnector. 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 LinePath
LinePath. from(java.util.Collection<? extends LineConvexSubset> subsets)
Build a new path from the given line subsets.private LineConvexSubset
LinePath.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 LineConvexSubset
LinePath.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.LinecastPoint2D
Circle. 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.
-