CoordinatesConvertion class

Coordinates Convertion Methods.

Decimal Degrees: http://wiki.gis.com/wiki/index.php/Decimal_degrees

Coordinates Convertor: https://www.pgc.umn.edu/apps/convert/

1 degree = 111,319.9m
0.00000898311 degrees = 1m

Example:

         Destination (x3, y3)
                /
    Drone      /
   (x2,y2)    /
      |      /
      |     / a
      |    /
      |   /
      |  /
      | /
      |/
pointOfInterest (x1, y1)

Constructors

CoordinatesConvertion()

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

computeGimbalAngle(FlightLocation pointOfInterest, FlightLocation droneLocation) double
convertWaypointMissionVectorsToLocationsWithGimbalPitch({required FlightElementWaypointMission flightElementWaypointMission, required FlightLocation droneHomeLocation}) → dynamic
vectorToLocation({required FlightLocation droneLocation, required FlightLocation pointOfInterest, required FlightVector vector}) FlightLocation?

Constants

meterToDecimalDegree → const double