Uses of Class
org.apache.commons.geometry.euclidean.twod.LineConvexSubset
Packages that use LineConvexSubset
Package
Description
This package provides basic 3D geometry components.
This package provides basic 2D geometry components.
This package provides classes for working with connected sequences of
line segments and other line subsets.
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 LineConvexSubsetModifier and TypeMethodDescriptionprivate 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.twodModifier and TypeClassDescription(package private) final class
Class representing the span of a line in 2D Euclidean space.final class
Class representing a ray in 2D Euclidean space.final class
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.final class
Class representing a line segment in 2D Euclidean space.Fields in org.apache.commons.geometry.euclidean.twod declared as LineConvexSubsetModifier and TypeFieldDescriptionprivate final 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 LineConvexSubsetModifier and TypeMethodDescriptionabstract LineConvexSubset
LineConvexSubset.reverse()
Reverse the orientation of the hyperplane for this instance, returning the result as a new instance.Line.span()
Return aHyperplaneConvexSubset
spanning this entire hyperplane.static LineConvexSubset
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
Return a new hyperplane subset resulting from the application of the given transform.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 LineConvexSubsetModifier and TypeMethodDescriptionRegionBSPTree2D.boundaries()
Return anIterable
for iterating over the boundaries of the region.ConvexArea.boundaryStream()
Return a stream containing the boundaries for this instance.RegionBSPTree2D.boundaryStream()
Return a stream containing the boundaries for this instance.RegionBSPTree2D.getBoundaries()
Return a list containing the boundaries of the region.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.EmbeddedTreeLineSubset.toConvex()
Convert this instance into a list of convex child subsets representing the same region.LineConvexSubset.toConvex()
Convert this instance into a list of convex child subsets representing the same region.abstract 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 LineConvexSubsetModifier and TypeMethodDescriptionvoid
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 Stream
<LinecastPoint2D> BoundarySourceLinecaster2D.getIntersectionStream
(LineConvexSubset subset) Return a stream containing intersections between the boundary source and the given line subset.RegionBSPTree2D.PartitionedRegionBuilder2D.insertBoundary
(LineConvexSubset boundary) Insert a region boundary.RegionBSPTree2D.PartitionedRegionBuilder2D.insertPartition
(LineConvexSubset partition) Insert a line convex subset as a partition.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.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.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.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.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 LineConvexSubsetModifier and TypeMethodDescriptionstatic RegionBSPTree2D
RegionBSPTree2D.from
(Iterable<? extends LineConvexSubset> boundaries) Construct a new tree from the given boundaries.static RegionBSPTree2D
RegionBSPTree2D.from
(Iterable<? extends LineConvexSubset> boundaries, boolean full) Construct a new tree from the given boundaries.RegionBSPTree2D.PartitionedRegionBuilder2D.insertBoundaries
(Iterable<? extends LineConvexSubset> boundaries) Insert a collection of region boundaries.static BoundarySource2D
BoundarySource2D.of
(Collection<LineConvexSubset> boundaries) Return aBoundarySource2D
instance containing the given boundaries.Constructors in org.apache.commons.geometry.euclidean.twod with parameters of type LineConvexSubsetModifierConstructorDescription(package private)
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 LineConvexSubsetModifierConstructorDescriptionBoundaryList2D
(List<? extends LineConvexSubset> boundaries) Construct a new instance with the given list of boundaries.protected
ConvexArea
(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 LineConvexSubsetModifier and TypeFieldDescriptionprivate final LineConvexSubset
AbstractLinePathConnector.ConnectableLineSubset.subset
Line subset for the entry.Fields in org.apache.commons.geometry.euclidean.twod.path with type parameters of type LineConvexSubsetModifier and TypeFieldDescriptionprivate List
<LineConvexSubset> LinePath.Builder.appended
Line subsets appended to the path.private final List
<LineConvexSubset> LinePath.elements
The line convex subsets comprising the path.private List
<LineConvexSubset> LinePath.Builder.prepended
Line subsets prepended to the path.Methods in org.apache.commons.geometry.euclidean.twod.path that return LineConvexSubsetModifier and TypeMethodDescriptionLinePath.Builder.getEnd()
Get the line subset at the end of the path or null if it does not exist.LinePath.getEnd()
Get the line subset at the end of the path or null if the path is empty.private LineConvexSubset
LinePath.Builder.getFirst
(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
(List<? extends LineConvexSubset> list) Get the last element in the list or null if the list is null or empty.AbstractLinePathConnector.ConnectableLineSubset.getLineSubset()
Get the line subset for this instance.LinePath.Builder.getStart()
Get the line subset at the start of the path or null if it does not exist.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 LineConvexSubsetModifier and TypeMethodDescriptionLinePath.boundaryStream()
Return a stream containing the boundaries for this instance.LinePath.getElements()
Get the sequence of line subsets comprising the path.Methods in org.apache.commons.geometry.euclidean.twod.path with parameters of type LineConvexSubsetModifier and TypeMethodDescriptionvoid
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.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.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 LineConvexSubsetModifier and TypeMethodDescriptionvoid
AbstractLinePathConnector.add
(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
(Iterable<? extends LineConvexSubset> subsets) Add a collection of line subsets to the connector and attempt to connect each new line subset with existing subsets.AbstractLinePathConnector.connectAll
(Iterable<LineConvexSubset> subsets) Add the given line subsets to this instance and connect all current subsets into connected paths.InteriorAngleLinePathConnector.connectMaximized
(Collection<LineConvexSubset> subsets) Convenience method for connecting a collection of line subsets with interior angles maximized when possible.InteriorAngleLinePathConnector.connectMinimized
(Collection<LineConvexSubset> subsets) Convenience method for connecting a collection of line subsets with interior angles minimized when possible.static LinePath
LinePath.from
(Collection<? extends LineConvexSubset> subsets) Build a new path from the given line subsets.private LineConvexSubset
LinePath.Builder.getFirst
(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
(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 LineConvexSubsetModifierConstructorDescriptionCreate a new instance from the given line subset.private
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 LineConvexSubsetModifierConstructorDescription(package private)
LinePath
(List<LineConvexSubset> elements) Simple constructor.private
SimplifiedLinePath
(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 LineConvexSubsetModifier 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.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 LineConvexSubsetModifierConstructorDescriptionprivate
Parallelogram
(List<LineConvexSubset> boundaries) Simple constructor.