getBoundary method

Geometry getBoundary()
override

Gets the boundary of this geometry. The boundary of a lineal geometry is always a zero-dimensional geometry (which may be empty).

@return the boundary geometry @see Geometry#getBoundary

Implementation

Geometry getBoundary() {
  return (new BoundaryOp(this)).getBoundary();
}