PostGIS
2.5.7dev-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 634 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(), and sphere_angle().