ValuePositionable class abstract
A positionable object that has (geospatial) coordinate values directly available.
This interface is extended at least by Position
(representing a single
position), PositionSeries
(representing a series of positions) and Box
(representing a single bounding box with minimum and maximum coordinates).
- Inheritance
-
- Object
- Positionable
- ValuePositionable
- Implementers
Constructors
- ValuePositionable()
-
Default
const
constructor to allow extending this abstract class.const
Properties
- coordinateDimension → int
-
The number of coordinate values (2, 3 or 4) on a position.
no setter
- coordType → Coords
-
A value of Coords representing the coordinate type of position data
contained directly or within child objects.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- is3D → bool
-
True for 3D positions (with z or elevation coordinate).
no setter
- isMeasured → bool
-
True if a measure value is available (or the m coordinate for a position).
no setter
- positionCount → int
-
The number of positions contained.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spatialDimension → int
-
The number of spatial coordinate values (2 for 2D or 3 for 3D) on a
position.
no setter
- type → Coords
-
The coordinate type.
no setter
- valueCount → int
-
The number of coordinate values contained.
no setter
-
values
→ Iterable<
double> -
Coordinate values as a double iterable.
no setter
Methods
-
copyByType(
Coords type) → ValuePositionable -
Copies
this
as another object according to the giventype
. -
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.inherited -
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.inherited -
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.inherited -
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.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
toText(
{String delimiter = ',', int? decimals, bool compactNums = true, bool swapXY = false}) → String -
A string representation of coordinate values separated by
delimiter
. -
valuesByType(
Coords type) → Iterable< double> -
Coordinate values as a double iterable according to the given
type
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited