GeoDimension enum

Coordinate axes stored on a geometry.

Inheritance
Available extensions

Values

xy → const GeoDimension

X and Y. Geographic values are longitude then latitude.

const GeoDimension(2, false, false)
xyz → const GeoDimension

X, Y, and Z.

const GeoDimension(3, true, false)
xym → const GeoDimension

X, Y, and M.

const GeoDimension(3, false, true)
xyzm → const GeoDimension

X, Y, Z, and M.

const GeoDimension(4, true, true)

Properties

coordinateCount → int
Values stored for one position, including only the axes that exist.
final
hashCode → int
The hash code for this object.
no setterinherited
hasM → bool
Whether M is stored.
final
hasZ → bool
Whether Z is stored.
final
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
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

fromFlags({required bool z, required bool m}) → GeoDimension
The dimension implied by which optional axes are present.

Constants

values → const List<GeoDimension>
A constant List of the values in this enum, in order of their declaration.