DistanceVincenty class

Shortcut for final Distance distance = const Distance(calculator: const Vincenty());

Inheritance

Constructors

DistanceVincenty({bool roundResult = true})
const
DistanceVincenty.withRadius(double radius, {bool roundResult = true})

Properties

calculator DistanceCalculator
Returns either Haversine oder Vincenty calculator [...]
read-only, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
radius double
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

as(LengthUnit unit, LatLng p1, LatLng p2) num
Converts the distance to the given LengthUnit [...]
inherited
bearing(LatLng p1, LatLng p2) double
Returns the great circle bearing (direction) in degrees to the next point (p2) [...]
inherited
call(LatLng p1, LatLng p2) num
Shortcut for distance
inherited
distance(LatLng p1, LatLng p2) num
Computes the distance between two points. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
offset(LatLng from, num distanceInMeter, num bearing) LatLng
Returns a destination point based on the given distance and bearing [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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