getBoundary method
Gets the boundary of this geometry. Zero-dimensional geometries have no boundary by definition, so an empty GeometryCollection is returned.
@return an empty GeometryCollection @see Geometry#getBoundary
Implementation
Geometry getBoundary() {
return getFactory().createGeometryCollectionEmpty();
}