Mod2BoundaryNodeRule class

A {@link BoundaryNodeRule} specifies that points are in the boundary of a lineal geometry iff the point lies on the boundary of an odd number of components. Under this rule {@link LinearRing}s and closed {@link LineString}s have an empty boundary.

This is the rule specified by the OGC SFS, and is the default rule used in JTS.

@author Martin Davis @version 1.7

Implemented types

Constructors

Mod2BoundaryNodeRule()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isInBoundary(int boundaryCount) bool
Tests whether a point that lies in boundaryCount geometry component boundaries is considered to form part of the boundary of the parent geometry.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited