pointOnRightSide

fun pointOnRightSide(start: LngLatAlt, pointToCheck: LngLatAlt, end: LngLatAlt): Boolean

Checks if a point is on the right side of a line segment or not.

Return

true if b is right of the line defined by start and end coordinates.

Parameters

start

coordinate of line segment as LngLatAlt

pointToCheck

point to check as LngLatAlt

end

coordinate of line segment as LngLatAlt