Definition at line 1392 of file lwgeom_topo.c.
1393{
1394 int i, toofar, inc;
1396
1397 if ( dir > 0 )
1398 {
1400 inc = 1;
1401 }
1402 else
1403 {
1404 toofar = -1;
1405 inc = -1;
1406 }
1407
1408 LWDEBUGF(1,
"first point is index %d", from);
1409 fp = *ref;
1410 for ( i = from+inc; i != toofar; i += inc )
1411 {
1412 LWDEBUGF(1,
"testing point %d", i);
1415
1416 return 1;
1417 }
1418
1419
1420 return 0;
1421}
int getPoint2d_p(const POINTARRAY *pa, uint32_t n, POINT2D *point)
int p2d_same(const POINT2D *p1, const POINT2D *p2)
#define LWDEBUGF(level, msg,...)
References getPoint2d_p(), LWDEBUGF, POINTARRAY::npoints, and p2d_same().
Referenced by _lwt_AddEdge(), _lwt_FindAdjacentEdges(), and _lwt_InitEdgeEndByLine().