Uses of Class
org.apache.commons.geometry.euclidean.twod.path.LinePath
Packages that use LinePath
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.
-
Uses of LinePath in org.apache.commons.geometry.euclidean.threed
Methods in org.apache.commons.geometry.euclidean.threed with parameters of type LinePathModifier and TypeMethodDescriptionstatic List
<PlaneConvexSubset> Planes.extrude
(LinePath path, EmbeddingPlane plane, Vector3D extrusionVector, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Get the boundaries of the 3D region created by extruding a 2D line path. -
Uses of LinePath in org.apache.commons.geometry.euclidean.twod
Fields in org.apache.commons.geometry.euclidean.twod with type parameters of type LinePathModifier and TypeFieldDescriptionRegionBSPTree2D.boundaryPaths
List of line subset paths comprising the region boundary.Methods in org.apache.commons.geometry.euclidean.twod that return types with arguments of type LinePathModifier and TypeMethodDescriptionRegionBSPTree2D.computeBoundaryPaths()
Compute the line subset paths comprising the region boundary.ConvexArea.getBoundaryPaths()
Get the connected line subset paths comprising the boundary of the area.RegionBSPTree2D.getBoundaryPaths()
Get the boundary of the region as a list of connected line subset paths.Methods in org.apache.commons.geometry.euclidean.twod with parameters of type LinePathModifier and TypeMethodDescriptionstatic ConvexArea
ConvexArea.convexPolygonFromPath
(LinePath path) Construct a convex polygon from a line path. -
Uses of LinePath in org.apache.commons.geometry.euclidean.twod.path
Subclasses of LinePath in org.apache.commons.geometry.euclidean.twod.pathModifier and TypeClassDescriptionprivate static final class
Internal class returned when a line path is simplified to remove unnecessary line subset divisions.Fields in org.apache.commons.geometry.euclidean.twod.path declared as LinePathModifier and TypeFieldDescriptionprivate static final LinePath
LinePath.EMPTY
Line path instance containing no elements.Methods in org.apache.commons.geometry.euclidean.twod.path that return LinePathModifier and TypeMethodDescriptionLinePath.Builder.build()
Build aLinePath
instance from the configured path.LinePath.Builder.build
(boolean close) Build aLinePath
instance from the configured path.LinePath.Builder.close()
Close the current path and build a newLinePath
instance.static LinePath
LinePath.empty()
Return a path containing no elements.static LinePath
LinePath.from
(Collection<? extends LineConvexSubset> subsets) Build a new path from the given line subsets.static LinePath
LinePath.from
(LineConvexSubset... subsets) Build a new path from the given line subsets.static LinePath
LinePath.fromVertexLoop
(Collection<Vector2D> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Build a new path from the given vertices.static LinePath
LinePath.fromVertices
(Collection<Vector2D> vertices, boolean close, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Build a new path from the given vertices.static LinePath
LinePath.fromVertices
(Collection<Vector2D> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Build a new path from the given vertices.LinePath.reverse()
Return a new instance with all line subset directions, and their order, reversed.LinePath.simplify()
Simplify this path, if possible, by combining adjacent elements that lie on the same line (as determined byLine.equals(Object)
).private LinePath
AbstractLinePathConnector.toPath
(AbstractLinePathConnector.ConnectableLineSubset root) Convert the linked list of path elements starting at the argument into aLinePath
.Transform this instance with the argument, returning the result in a new instance.Methods in org.apache.commons.geometry.euclidean.twod.path that return types with arguments of type LinePathModifier and TypeMethodDescriptionAbstractLinePathConnector.connectAll()
Connect all current line subsets into connected paths, returning the result as a list of line paths.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.