Spherical math topic

Low-level utilities for spherical geometry.

Classes

GeoRotation Spherical math
A raw transform that represents a rotation about each spherical axis.

Functions

geoArea(Map object) double Spherical math
Returns the spherical area of the specified GeoJSON object in steradians.
geoBounds(Map object) List<List<num>> Spherical math
Returns the spherical bounding box for the specified GeoJSON object.
geoCentroid(Map object) List<double> Spherical math
Returns the spherical centroid of the specified GeoJSON object.
geoContains(Map? object, List<num> point) bool Spherical math
Returns true if and only if the specified GeoJSON object contains the specified point, or false if the object does not contain the point.
geoDistance(List<num> a, List<num> b) double Spherical math
Returns the great-arc distance in radians between the two points a and b.
geoInterpolate(List<double> a, List<double> b) List<double> Function(double) Spherical math
Returns an interpolator function given two points a and b.
geoLength(Map object) double Spherical math
Returns the great-arc length of the specified GeoJSON object in radians.