Uses of Class
org.apache.commons.geometry.euclidean.twod.path.LinePath
-
Packages that use LinePath 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. -
-
Uses of LinePath in org.apache.commons.geometry.euclidean.threed
Methods in org.apache.commons.geometry.euclidean.threed with parameters of type LinePath Modifier and Type Method Description static java.util.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 LinePath Modifier and Type Field Description private java.util.List<LinePath>
RegionBSPTree2D. 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 LinePath Modifier and Type Method Description private java.util.List<LinePath>
RegionBSPTree2D. computeBoundaryPaths()
Compute the line subset paths comprising the region boundary.java.util.List<LinePath>
ConvexArea. getBoundaryPaths()
Get the connected line subset paths comprising the boundary of the area.java.util.List<LinePath>
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 LinePath Modifier and Type Method Description static 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.path Modifier and Type Class Description private static class
LinePath.SimplifiedLinePath
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 LinePath Modifier and Type Field Description private static LinePath
LinePath. EMPTY
Line path instance containing no elements.Methods in org.apache.commons.geometry.euclidean.twod.path that return LinePath Modifier and Type Method Description LinePath
LinePath.Builder. build()
Build aLinePath
instance from the configured path.LinePath
LinePath.Builder. build(boolean close)
Build aLinePath
instance from the configured path.LinePath
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(java.util.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(java.util.Collection<Vector2D> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Build a new path from the given vertices.static LinePath
LinePath. fromVertices(java.util.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(java.util.Collection<Vector2D> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision)
Build a new path from the given vertices.LinePath
LinePath. reverse()
Return a new instance with all line subset directions, and their order, reversed.LinePath
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
.LinePath
LinePath. transform(Transform<Vector2D> transform)
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 LinePath Modifier and Type Method Description java.util.List<LinePath>
AbstractLinePathConnector. connectAll()
Connect all current line subsets into connected paths, returning the result as a list of line paths.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.
-