ArMath class

Constructors

ArMath()

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

approximateBearingBetween(Position startLocation, Position endLocation) double
bearingBetween(Position startLocation, Position endLocation) double
bearingFromUserToLocation(Position userLocation, Position location, {bool approximate = false}) double
calculatePitch({required Vector3 gravity, required NativeDeviceOrientation orientation}) double
deltaAngle(double angle1, double angle2) double
exponentialFilter(double newValue, double previousValue, double filterFactor, bool isCircular) double
normalizeDegree(double degree) double
Normalizes degree to 0-360
normalizeDegree2(double degree) double
Normalizes degree to 0...180, 0...-180