SphericalLawOfCosines class

A Spherical Law Of Cosines class for calculating the distance between two geographical points using the Spherical Law of Cosines formula.

Constructors

SphericalLawOfCosines()

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
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

sphericalLawOfCosinesDistance(LatLng point1, LatLng point2) double
Calculates the distance between two geographic points using the Spherical Law of Cosines formula and the Earth's radius.