Package | Description |
---|---|
org.apache.commons.geometry.euclidean.twod.path |
This package provides classes for working with connected sequences of
line segments and other line subsets.
|
Modifier and Type | Method and Description |
---|---|
LinePath.Builder |
LinePath.Builder.append(LineConvexSubset subset)
Append a line subset to the end of the path.
|
LinePath.Builder |
LinePath.Builder.append(Vector2D vertex)
Add a vertex to the end of this path.
|
LinePath.Builder |
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 |
LinePath.Builder.appendVertices(Vector2D... vertices)
Convenience method for appending multiple vertices to the path at once.
|
static LinePath.Builder |
LinePath.builder(Precision.DoubleEquivalence precision)
Return a
LinePath.Builder instance configured with the given precision
context. |
LinePath.Builder |
LinePath.Builder.prepend(LineConvexSubset subset)
Prepend a line subset to the beginning of the path.
|
LinePath.Builder |
LinePath.Builder.prepend(Vector2D vertex)
Add a vertex to the front of this path.
|
LinePath.Builder |
LinePath.Builder.prependVertices(Collection<Vector2D> vertices)
Convenience method for prepending a collection of vertices to the path in a single method call.
|
LinePath.Builder |
LinePath.Builder.prependVertices(Vector2D... vertices)
Convenience method for prepending multiple vertices to the path in a single method call.
|
LinePath.Builder |
LinePath.Builder.setPrecision(Precision.DoubleEquivalence builderPrecision)
Set the precision context.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.