PostGIS  2.5.7dev-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.

171 {
172  return FP_EQUALS(g1->lat, g2->lat) && FP_EQUALS(g1->lon, g2->lon);
173 }
#define FP_EQUALS(A, B)

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

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

Here is the caller graph for this function: