PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
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.
Good even for small distances between p and q.
Definition at line 630 of file lwgeodetic.c.
References GEOGRAPHIC_POINT::lat, GEOGRAPHIC_POINT::lon, POINT3D::x, POINT3D::y, and POINT3D::z.
Referenced by clairaut_geographic(), edge_distance_to_point(), edge_intersection(), edge_point_side(), sphere_angle(), and test_sphere_project().