package
0.0.0-20240917142712-10102bbdc223
Repository: https://github.com/shanghuiyang/rpi-projects.git
Documentation: pkg.go.dev

# Functions

Angle calculates the angle <AOB> the angle value: [0, 180] in degree lat /|\ | a * | / | / | o *------* b | +---------------> lon .
Distance ...
NewLine ...
Rad ...
Side is calc point p on which side of (a->b) a * | \ | \ v \ | * p | b * vector a->b: ab = b - a vector a->p: ap = p - a cross-product: m = ab x ap m > 0: p on the left m < 0: p on the right m = 0: p on the middle.

# Constants

EarthRadius is the radius of the Earth in meter, UTM, WGS84.
LeftSide ...
MiddleSide ...
RightSide ...

# Structs

Bbox ...
Line ...
Point is GPS point.

# Type aliases

OnSide ...