PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ geographic_point_equals()

int geographic_point_equals ( const GEOGRAPHIC_POINT g1,
const GEOGRAPHIC_POINT g2 
)

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

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