IsSimpleOp

class IsSimpleOp(inputGeom: Geometry)
Companion
object
class Object
trait Matchable
class Any

Value members

Constructors

def this(geom: Geometry, boundaryNodeRule: BoundaryNodeRule)

Creates a simplicity checker using the default SFS Mod-2 Boundary Node Rule

Creates a simplicity checker using the default SFS Mod-2 Boundary Node Rule

Value Params
geom

the geometry to test

Concrete methods

def isSimple: Boolean

Tests whether the geometry is simple.

Tests whether the geometry is simple.

return true if the geometry is simple

def isSimple(geom: LineString): Boolean
def isSimple(geom: MultiLineString): Boolean
def isSimple(mp: MultiPoint): Boolean

A MultiPoint is simple iff it has no repeated points

A MultiPoint is simple iff it has no repeated points