|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.operation.IsSimpleOp
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
)
Constructor Summary | |
IsSimpleOp()
|
Method Summary | |
boolean |
isSimple(LineString geom)
|
boolean |
isSimple(MultiLineString geom)
|
boolean |
isSimple(MultiPoint mp)
A MultiPoint is simple iff it has no repeated points |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IsSimpleOp()
Method Detail |
public boolean isSimple(LineString geom)
public boolean isSimple(MultiLineString geom)
public boolean isSimple(MultiPoint mp)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |