PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ p3d_same()

int p3d_same ( const POINT3D p1,
const POINT3D p2 
)

Definition at line 41 of file lwalgorithm.c.

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

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

Referenced by edge_calculate_gbox().

Here is the caller graph for this function: