CoordinateExt extension

on

Properties

alt double

Available on Coordinate, provided by the CoordinateExt extension

no setter
geocentric → Geocentric

Available on Coordinate, provided by the CoordinateExt extension

Actual ECEF coordinate for manipulation.
no setter
geographic → Geographic

Available on Coordinate, provided by the CoordinateExt extension

Converts ECEF to geographic (GPS) coordinates
no setter
is3d bool

Available on Coordinate, provided by the CoordinateExt extension

no setter
isValid bool

Available on Coordinate, provided by the CoordinateExt extension

no setter
lat double

Available on Coordinate, provided by the CoordinateExt extension

no setter
latLng → LatLng

Available on Coordinate, provided by the CoordinateExt extension

Returns a LatLng representation
no setter
lon double

Available on Coordinate, provided by the CoordinateExt extension

no setter
origin → Position

Available on Coordinate, provided by the CoordinateExt extension

no setter
projected → Projected

Available on Coordinate, provided by the CoordinateExt extension

Converts ECEF coordinates to projected coordinates
no setter

Methods

distanceToMeters(Coordinate other) → Measurement<Distance>

Available on Coordinate, provided by the CoordinateExt extension

Calculates the distance to another Coordinate using Haversine formula
distanceToMiles(Coordinate other) → Measurement<Distance>

Available on Coordinate, provided by the CoordinateExt extension

isWithinRadius(Coordinate other, double radiusMeters) bool

Available on Coordinate, provided by the CoordinateExt extension

Determines if this coordinate is within a given radius (in meters) of another coordinate
toJsonString() String?

Available on Coordinate, provided by the CoordinateExt extension

toList<T extends num>() List<T>

Available on Coordinate, provided by the CoordinateExt extension

toMap() Map<String, double?>

Available on Coordinate, provided by the CoordinateExt extension

toModel() CoordinateModel?

Available on Coordinate, provided by the CoordinateExt extension

toVector() → Vector3

Available on Coordinate, provided by the CoordinateExt extension