Location class

Constants representing the different topological locations which can occur in a {@link Geometry}. The constants are also used as the row and column indices of DE-9IM {@link IntersectionMatrix}es.

@version 1.7

Constructors

Location()

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

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

Static Methods

toLocationSymbol(int locationValue) String
Converts the location value to a location symbol, for example, EXTERIOR => 'e' .

Constants

BOUNDARY → const int
The location value for the boundary of a geometry. Also, DE-9IM row index of the boundary of the first geometry and column index of the boundary of the second geometry.
EXTERIOR → const int
The location value for the exterior of a geometry. Also, DE-9IM row index of the exterior of the first geometry and column index of the exterior of the second geometry.
INTERIOR → const int
The location value for the interior of a geometry. Also, DE-9IM row index of the interior of the first geometry and column index of the interior of the second geometry.
NONE → const int
Used for uninitialized location values.