PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ p4d_same()

int p4d_same ( const POINT4D p1,
const POINT4D p2 
)

Definition at line 32 of file lwalgorithm.c.

33 {
34  return FP_EQUALS(p1->x, p2->x)
35  && FP_EQUALS(p1->y, p2->y)
36  && FP_EQUALS(p1->z, p2->z)
37  && FP_EQUALS(p1->m, p2->m);
38 }
#define FP_EQUALS(A, B)
double m
Definition: liblwgeom.h:414
double x
Definition: liblwgeom.h:414
double z
Definition: liblwgeom.h:414
double y
Definition: liblwgeom.h:414

References FP_EQUALS, POINT4D::m, POINT4D::x, POINT4D::y, and POINT4D::z.

Referenced by lwline_extend(), lwline_split_by_point_to(), ptarray_segmentize_sphere(), and segment_locate_along().

Here is the caller graph for this function: