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
Methods in org.apache.commons.geometry.euclidean.twod that return types with arguments of type LinePathModifier and TypeMethodDescriptionConvexArea.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 ConvexAreaConvexArea.convexPolygonFromPath(LinePath path) Construct a convex polygon from a line path. -
Uses of LinePath in org.apache.commons.geometry.euclidean.twod.path
Methods in org.apache.commons.geometry.euclidean.twod.path that return LinePathModifier and TypeMethodDescriptionLinePath.Builder.build()Build aLinePathinstance from the configured path.LinePath.Builder.build(boolean close) Build aLinePathinstance from the configured path.LinePath.Builder.close()Close the current path and build a newLinePathinstance.static LinePathLinePath.empty()Return a path containing no elements.static LinePathLinePath.from(Collection<? extends LineConvexSubset> subsets) Build a new path from the given line subsets.static LinePathLinePath.from(LineConvexSubset... subsets) Build a new path from the given line subsets.static LinePathLinePath.fromVertexLoop(Collection<Vector2D> vertices, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Build a new path from the given vertices.static LinePathLinePath.fromVertices(Collection<Vector2D> vertices, boolean close, org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Build a new path from the given vertices.static LinePathLinePath.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)).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.