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

◆ lwt_EdgeEndStar_debugPrint()

void lwt_EdgeEndStar_debugPrint ( const LWT_EDGEEND_STAR star)

Definition at line 159 of file lwt_edgeend_star.c.

160{
161 lwdebug(1, "Star around node %" LWTFMT_ELEMID " has %" PRIu64 " edgeEnds, %s",
162 star->nodeID, star->numEdgeEnds, star->sorted ? "sorted" : "unsorted" );
163 for ( uint64_t i=0; i<star->numEdgeEnds; ++i )
164 {
165 LWT_EDGEEND *ee = star->edgeEnds[i];
166 lwdebug(1, " EdgeEnd %" PRIu64 " is %s edge %" LWTFMT_ELEMID ", azimuth=%.15g",
167 i, ee->outgoing ? "outgoing" : "incoming",
168 ee->edge->edge_id, ee->azimuth
169 );
170 }
171}
#define LWTFMT_ELEMID
void void void lwdebug(int level, const char *fmt,...) __attribute__((format(printf
Write a debug message out.
LWT_EDGEEND ** edgeEnds

References LWT_EDGEEND_t::azimuth, LWT_EDGEEND_t::edge, LWT_ISO_EDGE::edge_id, LWT_EDGEEND_STAR_t::edgeEnds, lwdebug(), LWTFMT_ELEMID, LWT_EDGEEND_STAR_t::nodeID, LWT_EDGEEND_STAR_t::numEdgeEnds, LWT_EDGEEND_t::outgoing, and LWT_EDGEEND_STAR_t::sorted.

Referenced by _lwt_SnapEdgeToExistingNode().

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