PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ point3d_equals()

static int point3d_equals ( const POINT3D p1,
const POINT3D p2 

Utility function for ptarray_contains_point_sphere()

Definition at line 3074 of file lwgeodetic.c.

References FP_EQUALS, POINT3D::x, POINT3D::y, and POINT3D::z.

Referenced by ptarray_contains_point_sphere().

3075 {
3076  return FP_EQUALS(p1->x, p2->x) && FP_EQUALS(p1->y, p2->y) && FP_EQUALS(p1->z, p2->z);
3077 }
double y
Definition: liblwgeom.h:324
double x
Definition: liblwgeom.h:324
double z
Definition: liblwgeom.h:324
#define FP_EQUALS(A, B)
Here is the caller graph for this function: