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 BoundaryNodeRuleprivate Mapprivate Geometryprivate GeometryFactory -
Constructor Summary
ConstructorsConstructorDescriptionBoundaryOp(Geometry geom) BoundaryOp(Geometry geom, BoundaryNodeRule bnRule) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate GeometryboundaryLineString(LineString line) private Geometryprivate Coordinate[]static Geometrystatic GeometrygetBoundary(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
-