Depth class

A Depth object records the topological depth of the sides of an Edge for up to two Geometries. @version 1.7

Constructors

Depth()

Properties

depth List<List<int>>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(Label lbl) → void
add3(int geomIndex, int posIndex, int location) → void
getDelta(int geomIndex) int
getDepth(int geomIndex, int posIndex) int
getLocation(int geomIndex, int posIndex) int
isNull() bool
A Depth object is null (has never been initialized) if all depths are null.
isNull1(int geomIndex) bool
isNull2(int geomIndex, int posIndex) bool
normalize() → void
Normalize the depths for each geometry, if they are non-null. A normalized depth has depth values in the set { 0, 1 }. Normalizing the depths involves reducing the depths by the same amount so that at least one of them is 0. If the remaining value is > 0, it is set to 1.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDepth(int geomIndex, int posIndex, int depthValue) → void
toString() String
A string representation of this object.
override

Operators

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

Static Properties

NULL_VALUE int
final

Static Methods

depthAtLocation(int location) int