Definition at line 6353 of file lwgeom_topo.c.
6371 ((v1.
y <= p->
y) && (v2.
y > p->
y))
6373 || ((v1.
y > p->
y) && (v2.
y <= p->
y))
6377 vt = (double)(p->
y - v1.
y) / (v2.
y - v1.
y);
6380 if (p->
x < v1.
x + vt * (v2.
x - v1.
x))
6389 LWDEBUGF(3,
"_lwt_EdgeRingCrossingCount returning %d", cn);
6392 if ( memcmp(&v1, &v0,
sizeof(
POINT2D)) )
6394 lwerror(
"_lwt_EdgeRingCrossingCount: V[n] != V[0] (%g %g != %g %g)",
6395 v1.
x, v1.
y, v0.
x, v0.
y);
#define LWDEBUGF(level, msg,...)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static int _lwt_EdgeRingIterator_next(LWT_EDGERING_POINT_ITERATOR *it, POINT2D *pt)
References _lwt_EdgeRingIterator_next(), LWDEBUGF, lwerror(), POINT2D::x, and POINT2D::y.
Referenced by _lwt_EdgeRingContainsPoint().