Positionable class abstract

A positionable object contains data structures for (geospatial) position data, directly or within child objects.

This interface is extended at least by ValuePositionable (with coordinate values directly available) and Bounded (objects with position data and methods to resolve bounding boxes).

Implementers

Constructors

Positionable()
Default const constructor to allow extending this abstract class.
const

Properties

coordType Coords
A value of Coords representing the coordinate type of position data contained directly or within child objects.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

equals2D(covariant Positionable other, {double toleranceHoriz = defaultEpsilon}) bool
True if this and other equals by testing 2D coordinate values of all position data (that must be in same order in both objects) contained directly or by child objects.
equals3D(covariant Positionable other, {double toleranceHoriz = defaultEpsilon, double toleranceVert = defaultEpsilon}) bool
True if this and other equals by testing 3D coordinate values of all position data (that must be in same order in both objects) contained directly or by child objects.
equalsCoords(covariant Positionable other) bool
True if this and other contain exactly same coordinate values (or both are empty) in the same order and with the same coordinate type.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
project(Projection projection) Positionable
Returns an object of the same subtype as this with all position data projected using projection and non-positional properties left intact.
toString() String
A string representation of this object.
inherited

Operators

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