com.vividsolutions.jts.operation
Class IsSimpleOp
java.lang.Object
com.vividsolutions.jts.operation.IsSimpleOp
public class IsSimpleOp
extends java.lang.Object
Tests whether a
Geometry
is simple.
Only
Geometry
s whose definition allows them
to be simple or non-simple are tested. (E.g. Polygons must be simple
by definition, so no test is provided. To test whether a given Polygon is valid,
use
Geometry#isValid
)
IsSimpleOp
public IsSimpleOp()
isSimple
public boolean isSimple(MultiPoint mp)
A MultiPoint is simple iff it has no repeated points