PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
double edge_distance_to_edge | ( | const GEOGRAPHIC_EDGE * | e1, |
const GEOGRAPHIC_EDGE * | e2, | ||
GEOGRAPHIC_POINT * | closest1, | ||
GEOGRAPHIC_POINT * | closest2 | ||
) |
Calculate the distance between two edges.
IMPORTANT: this test does not check for edge intersection!!! (distance == 0) You have to check for intersection before calling this function.
Definition at line 1265 of file lwgeodetic.c.
References edge_distance_to_point(), GEOGRAPHIC_EDGE::end, and GEOGRAPHIC_EDGE::start.
Referenced by circ_tree_distance_tree_internal(), ptarray_distance_spheroid(), and test_edge_distance_to_edge().