DistanceVincenty class
Shortcut for: Distance distance = Distance(algorithm: Vincenty());
Constructors
- DistanceVincenty({bool isRound = true})
- DistanceVincenty.withRadius(double radius, {bool isRound = true})
Properties
- algorithm → DistanceAlgorithm
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRound → bool
-
finalinherited
- radius → double
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bearing(
dynamic position, dynamic destination) → double -
Returns the great circle bearing (direction) in degrees to the next point (
p2
)inherited -
call(
dynamic position, dynamic destination, {LengthUnit unit = LengthUnit.M}) → num -
Shortcut for distance
inherited
-
distance(
dynamic position, dynamic destination, {LengthUnit unit = LengthUnit.M}) → double -
Computes the distance between two points.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
offset(
dynamic from, double? distanceInMeter, double 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