PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ point3d_equals()

static int point3d_equals ( const POINT3D p1,
const POINT3D p2 
)
static

Utility function for ptarray_contains_point_sphere()

Definition at line 3399 of file lwgeodetic.c.

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

Referenced by ptarray_contains_point_sphere().

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