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

◆ itree_edge_invalid()

static int itree_edge_invalid ( const POINT2D pt1,
const POINT2D pt2 
)
static

Definition at line 168 of file intervaltree.c.

169{
170 /* zero length */
171 if (pt1->x == pt2->x && pt1->y == pt2->y)
172 return 1;
173
174 /* nan/inf coordinates */
175 if (isfinite(pt1->x) &&
176 isfinite(pt1->y) &&
177 isfinite(pt2->x) &&
178 isfinite(pt2->y))
179 return 0;
180
181 return 1;
182}
double y
Definition liblwgeom.h:390
double x
Definition liblwgeom.h:390

References POINT2D::x, and POINT2D::y.

Referenced by itree_add_pointarray().

Here is the caller graph for this function: