PostGIS  2.1.10dev-r@@SVN_REVISION@@
static int point3d_equals ( const POINT3D p1,
const POINT3D p2 
)
static

Utility function for ptarray_contains_point_sphere()

Definition at line 3071 of file lwgeodetic.c.

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

Referenced by ptarray_contains_point_sphere().

3072 {
3073  return FP_EQUALS(p1->x, p2->x) && FP_EQUALS(p1->y, p2->y) && FP_EQUALS(p1->z, p2->z);
3074 }
double y
Definition: liblwgeom.h:296
double x
Definition: liblwgeom.h:296
double z
Definition: liblwgeom.h:296
#define FP_EQUALS(A, B)

Here is the caller graph for this function: