Projection mixin
A mixin defining an interface for (geospatial) projections.
A class that implements this mixin may provide for example a map projection from geographic positions to projected positions, or an inverse projection (or an "unprojection") from projected positions to geographic positions. Both are called simply "projections" here.
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
-
project<
T extends Position> (Position source, {required CreatePosition< T> to}) → T -
Projects the
source
position to a position ofT
usingto
as a factory. -
projectCoords(
Iterable< double> source, {List<double> ? target, required Coords type}) → List<double> -
Projects positions from
source
and returns a list of projected values. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited