GeoRawTransform class

Raw transforms are point transformation functions that are used to implement custom projections.

They typically passed to GeoProjection or GeoProjectionMutator. They are exposed here to facilitate the derivation of related projections. Raw transforms take spherical coordinates [lambda, phi] in radians (not degrees!) and return a point [x, y], typically in the unit square centered around the origin.

Implementers

Constructors

GeoRawTransform(List<num> forward(List<num>), [List<num> backward(List<num>)?])
const

Properties

backward → (List<num> Function(List<num>)?)
The inverse of forward.
final
forward List<num> Function(List<num>)
Transforms the specified point [lambda, phi] in radians, returning a new point [x, y] in unspecified and implementation-dependent coordinates.
final
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