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

◆ _lwt_EdgeRingIsCCW()

static int _lwt_EdgeRingIsCCW ( LWT_EDGERING ring)
static

Definition at line 433 of file lwgeom_topo_polygonizer.c.

434{
435 double sa;
436
437 LWDEBUGF(2, "_lwt_EdgeRingIsCCW, ring has %d elems", ring->size);
440 LWDEBUGF(2, "_lwt_EdgeRingIsCCW, signed area is %g", sa);
441 lwfree(it);
442 if ( sa >= 0 ) return 0;
443 else return 1;
444}
void lwfree(void *mem)
Definition lwutil.c:248
#define LWDEBUGF(level, msg,...)
Definition lwgeom_log.h:106
static LWT_EDGERING_POINT_ITERATOR * _lwt_EdgeRingIterator_begin(LWT_EDGERING *er)
static double _lwt_EdgeRingSignedArea(LWT_EDGERING_POINT_ITERATOR *it)

References _lwt_EdgeRingIterator_begin(), _lwt_EdgeRingSignedArea(), LWDEBUGF, lwfree(), and LWT_EDGERING_T::size.

Referenced by _lwt_RegisterFaceOnEdgeSide().

Here is the call graph for this function:
Here is the caller graph for this function: