public class SplitStrategy extends Object
Constructor and Description |
---|
SplitStrategy(LineString splittingLine) |
public static Geometry splitOp(Geometry geom, LineString splitLine)
public Geometry split(Geometry splitee)
splitee
- Geometry
containing all the splitted parts as aggregates. Use
getGeometryN(int)
to get each part.NullPointerException
- if geom is nullIllegalArgumentException
- if geom is not of an acceptable geometry type to be splitted
(i.e. not a linestring, multilinestring, polygon or multipolygon)