Package org.locationtech.jts.operation
Class BoundaryOp
java.lang.Object
org.locationtech.jts.operation.BoundaryOp
Computes the boundary of a
Geometry
.
Allows specifying the BoundaryNodeRule
to be used.
This operation will always return a Geometry
of the appropriate
dimension for the boundary (even if the input geometry is empty).
The boundary of zero-dimensional geometries (Points) is
always the empty GeometryCollection
.- Version:
- 1.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BoundaryNodeRule
private Map
private Geometry
private GeometryFactory
-
Constructor Summary
ConstructorsConstructorDescriptionBoundaryOp
(Geometry geom) BoundaryOp
(Geometry geom, BoundaryNodeRule bnRule) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private Geometry
boundaryLineString
(LineString line) private Geometry
private Coordinate[]
static Geometry
static Geometry
getBoundary
(Geometry g, BoundaryNodeRule bnRule) private MultiPoint
-
Field Details
-
geom
-
geomFact
-
bnRule
-
endpointMap
-
-
Constructor Details
-
BoundaryOp
-
BoundaryOp
-
-
Method Details
-
getBoundary
-
getBoundary
-
getBoundary
-
getEmptyMultiPoint
-
boundaryMultiLineString
-
computeBoundaryCoordinates
-
addEndpoint
-
boundaryLineString
-