PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ geographic_point_equals()

int geographic_point_equals ( const GEOGRAPHIC_POINT g1,
const GEOGRAPHIC_POINT g2 
)

Definition at line 161 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().

162 {
163  return FP_EQUALS(g1->lat, g2->lat) && FP_EQUALS(g1->lon, g2->lon);
164 }
#define FP_EQUALS(A, B)
Here is the caller graph for this function: