MathCalc
Functions
Link copied to clipboard
Calculate the distance between the current user's position to the point.
Link copied to clipboard
Returns approximate distance between two locations, roughly taking into account floor changes
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
True when
p represents a real positioning fix, not the engine's uninitialized sentinel.Link copied to clipboard
open fun lineIntersectCircle(pt1: Mercator, pt2: Mercator, circlePt: Mercator, r: Float): List<Mercator>
Finds the point(s) of intersection between a circle and a line
Link copied to clipboard
open fun lineIntersectCircleFarthestFromPt1(pt1: Mercator, pt2: Mercator, circlePt: Mercator, r: Float): Mercator
Finds the point of intersection between a circle and a line.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns angle between two locations in radians clockwise from North
Link copied to clipboard