Package org.locationtech.jts.operation
Class BoundaryOp
- java.lang.Object
-
- org.locationtech.jts.operation.BoundaryOp
-
public class BoundaryOp extends java.lang.Object
Computes the boundary of aGeometry
. Allows specifying theBoundaryNodeRule
to be used. This operation will always return aGeometry
of the appropriate dimension for the boundary (even if the input geometry is empty). The boundary of zero-dimensional geometries (Points) is always the emptyGeometryCollection
.- Version:
- 1.7
- Author:
- Martin Davis
-
-
Constructor Summary
Constructors Constructor Description BoundaryOp(Geometry geom)
BoundaryOp(Geometry geom, BoundaryNodeRule bnRule)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Geometry
getBoundary()
static Geometry
getBoundary(Geometry g)
static Geometry
getBoundary(Geometry g, BoundaryNodeRule bnRule)
-
-
-
Constructor Detail
-
BoundaryOp
public BoundaryOp(Geometry geom)
-
BoundaryOp
public BoundaryOp(Geometry geom, BoundaryNodeRule bnRule)
-
-