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

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

Referenced by point_in_cone(), and ptarray_contains_point_sphere().

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