PostGIS  2.5.7dev-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 42 of file lwgeodetic.c.

43 {
44  return FP_EQUALS(p1->x, p2->x) && FP_EQUALS(p1->y, p2->y) && FP_EQUALS(p1->z, p2->z);
45 }
#define FP_EQUALS(A, B)
double z
Definition: liblwgeom.h:343
double x
Definition: liblwgeom.h:343
double y
Definition: liblwgeom.h:343

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

Referenced by point_in_cone(), and ptarray_contains_point_sphere().

Here is the caller graph for this function: