Uses of Class
org.apache.commons.geometry.euclidean.twod.path.LinePath.Builder
Packages that use LinePath.Builder
Package
Description
This package provides classes for working with connected sequences of
line segments and other line subsets.
-
Uses of LinePath.Builder in org.apache.commons.geometry.euclidean.twod.path
Methods in org.apache.commons.geometry.euclidean.twod.path that return LinePath.BuilderModifier and TypeMethodDescriptionLinePath.Builder.append
(LineConvexSubset subset) Append a line subset to the end of the path.Add a vertex to the end of this path.LinePath.Builder.appendVertices
(Collection<? extends Vector2D> vertices) Convenience method for appending a collection of vertices to the path in a single method call.LinePath.Builder.appendVertices
(Vector2D... vertices) Convenience method for appending multiple vertices to the path at once.static LinePath.Builder
LinePath.builder
(org.apache.commons.numbers.core.Precision.DoubleEquivalence precision) Return aLinePath.Builder
instance configured with the given precision context.LinePath.Builder.prepend
(LineConvexSubset subset) Prepend a line subset to the beginning of the path.Add a vertex to the front of this path.LinePath.Builder.prependVertices
(Collection<Vector2D> vertices) Convenience method for prepending a collection of vertices to the path in a single method call.LinePath.Builder.prependVertices
(Vector2D... vertices) Convenience method for prepending multiple vertices to the path in a single method call.LinePath.Builder.setPrecision
(org.apache.commons.numbers.core.Precision.DoubleEquivalence builderPrecision) Set the precision context.