PostGIS  2.2.7dev-r@@SVN_REVISION@@
int geographic_point_equals ( const GEOGRAPHIC_POINT g1,
const GEOGRAPHIC_POINT g2 
)

Definition at line 146 of file lwgeodetic.c.

References FP_EQUALS, GEOGRAPHIC_POINT::lat, and GEOGRAPHIC_POINT::lon.

Referenced by edge_distance_to_point(), edge_intersection(), and spheroid_distance().

147 {
148  return FP_EQUALS(g1->lat, g2->lat) && FP_EQUALS(g1->lon, g2->lon);
149 }
#define FP_EQUALS(A, B)

Here is the caller graph for this function: