Returns the angle in radians at point B of the triangle formed by A-B-C.
Definition at line 721 of file lwgeodetic.c.
722{
729}
void normalize(POINT3D *p)
Normalize to a unit vector.
double sphere_distance_cartesian(const POINT3D *s, const POINT3D *e)
Given two unit vectors, calculate their distance apart in radians.
void robust_cross_product(const GEOGRAPHIC_POINT *p, const GEOGRAPHIC_POINT *q, POINT3D *a)
Computes the cross product of two vectors using their lat, lng representations.
References normalize(), robust_cross_product(), and sphere_distance_cartesian().
Referenced by sphere_signed_area().