Definition at line 1428 of file lwgeom_topo.c.
1429{
1430 int i, toofar, inc;
1432
1433 if ( dir > 0 )
1434 {
1436 inc = 1;
1437 }
1438 else
1439 {
1440 toofar = -1;
1441 inc = -1;
1442 }
1443
1444 LWDEBUGF(2,
"first point is index %d", from);
1445 fp = *ref;
1446 for ( i = from+inc; i != toofar; i += inc )
1447 {
1448 LWDEBUGF(2,
"testing point %d", i);
1451
1452 return 1;
1453 }
1454
1455
1456 return 0;
1457}
int getPoint2d_p(const POINTARRAY *pa, uint32_t n, POINT2D *point)
#define P2D_SAME_STRICT(a, b)
#define LWDEBUGF(level, msg,...)
References getPoint2d_p(), LWDEBUGF, POINTARRAY::npoints, and P2D_SAME_STRICT.
Referenced by _lwt_AddEdge(), _lwt_FindAdjacentEdges(), _lwt_InitEdgeEndByLine(), and _lwt_SnapEdgeToExistingNode().