Definition at line 2859 of file lwgeom_topo.c.
2868 LWDEBUGF(1,
"Ring's 'from' point (%d) is %g,%g", from, p1.
x, p1.
y);
2872 for ( i=0; i<numedges; ++i )
2886 ") on both sides, skipping",
2894 " has only %"PRIu32
" points",
2911 LWDEBUGF(1,
"Rings's 'from' point is still %g,%g", p1.
x, p1.
y);
2914 LWDEBUG(1,
"p2d_same(p1,p2) returned true");
2916 " matches ring vertex %d", isoe->
edge_id, from);
2918 for ( j=1; j<epa->
npoints; ++j )
2924 if (
p2d_same(&p1, &p2) )
continue;
2927 LWDEBUGF(1,
"Ring's point %d is %g,%g",
2928 from+1, pt.
x, pt.
y);
2932 #if POSTGIS_DEBUG_LEVEL > 0
2935 " matches ring vertex %d", isoe->
edge_id, from+1);
2938 " does not match ring vertex %d", isoe->
edge_id, from+1);
2953 " matches ring vertex %d", isoe->
edge_id, from);
2955 for ( j=2; j<=epa->
npoints; j++ )
2961 if (
p2d_same(&p1, &p2) )
continue;
2964 LWDEBUGF(1,
"Ring's point %d is %g,%g",
2965 from+1, pt.
x, pt.
y);
2970 #if POSTGIS_DEBUG_LEVEL > 0
2973 " matches ring vertex %d", isoe->
edge_id, from+1);
2976 " does not match ring vertex %d", isoe->
edge_id, from+1);
2981 if ( match )
return i;
LWGEOM * lwline_as_lwgeom(const LWLINE *obj)
int getPoint2d_p(const POINTARRAY *pa, uint32_t n, POINT2D *point)
char * lwgeom_to_wkt(const LWGEOM *geom, uint8_t variant, int precision, size_t *size_out)
WKT emitter function.
int p2d_same(const POINT2D *p1, const POINT2D *p2)
#define LWDEBUG(level, msg)
#define LWDEBUGF(level, msg,...)
References LWT_ISO_EDGE::edge_id, LWT_ISO_EDGE::face_left, LWT_ISO_EDGE::face_right, LWT_ISO_EDGE::geom, getPoint2d_p(), LWDEBUG, LWDEBUGF, lwgeom_to_wkt(), lwline_as_lwgeom(), LWTFMT_ELEMID, POINTARRAY::npoints, p2d_same(), LWLINE::points, WKT_EXTENDED, POINT2D::x, and POINT2D::y.
Referenced by lwt_GetFaceEdges().