Definition at line 1545 of file lwgeom_topo.c.
1546{
1547 int i, toofar, inc;
1549
1550 if ( dir > 0 )
1551 {
1553 inc = 1;
1554 }
1555 else
1556 {
1557 toofar = -1;
1558 inc = -1;
1559 }
1560
1561 LWDEBUGF(2,
"first point is index %d", from);
1562 fp = *ref;
1563 for ( i = from+inc; i != toofar; i += inc )
1564 {
1565 LWDEBUGF(2,
"testing point %d", i);
1568
1569 return 1;
1570 }
1571
1572
1573 return 0;
1574}
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().