UArGeo class abstract
Geographic helpers used by the GPS fallback and by location-based content.
Constructors
- UArGeo()
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
-
bearing(
double lat1, double lng1, double lat2, double lng2) → double - Initial bearing from the first point to the second, degrees clockwise from north.
-
distance(
double lat1, double lng1, double lat2, double lng2) → double - Great-circle distance in metres.
-
enu(
double originLat, double originLng, double lat, double lng, {double originAltitude = 0, double altitude = 0}) → UArVector3 - East / north / up offset in metres of a point from an origin.
-
enuToWorld(
UArVector3 enu, {double northYaw = 0, UArVector3 origin = UArVector3.zero}) → UArVector3 -
Converts an ENU offset into AR world space, given the session's north
alignment (
northYaw, radians) and the world position of the origin. -
formatDistance(
double metres) → String -
offset(
double lat, double lng, {double east = 0, double north = 0}) → List< double> -
Offsets a coordinate by metres east / north, returning
[lat, lng].
Constants
- earthRadius → const double