PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ p3d_same()

int p3d_same ( const POINT3D p1,
const POINT3D p2 
)

Definition at line 41 of file lwalgorithm.c.

42{
43 if( FP_EQUALS(p1->x,p2->x) && FP_EQUALS(p1->y,p2->y) && FP_EQUALS(p1->z,p2->z) )
44 return LW_TRUE;
45 else
46 return LW_FALSE;
47}
#define LW_FALSE
Definition liblwgeom.h:108
#define LW_TRUE
Return types for functions with status returns.
Definition liblwgeom.h:107
#define FP_EQUALS(A, B)
double z
Definition liblwgeom.h:388
double x
Definition liblwgeom.h:388
double y
Definition liblwgeom.h:388

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

Referenced by edge_calculate_gbox().

Here is the caller graph for this function: