PostGIS  3.7.0dev-r@@SVN_REVISION@@

◆ lwt_edgeEndStar_init()

LWT_EDGEEND_STAR* lwt_edgeEndStar_init ( LWT_ELEMID  nodeID)

Definition at line 39 of file lwt_edgeend_star.c.

40 {
41  LWT_EDGEEND_STAR *star = lwalloc(sizeof(LWT_EDGEEND_STAR));
42  star->numEdgeEnds = 0;
43  star->edgeEndsCapacity = 0;
44  star->edgeEnds = NULL;
45  star->nodeID = nodeID;
46  star->sorted = 0;
47 
48  return star;
49 }
void * lwalloc(size_t size)
Definition: lwutil.c:227
LWT_EDGEEND ** edgeEnds

References LWT_EDGEEND_STAR_t::edgeEnds, LWT_EDGEEND_STAR_t::edgeEndsCapacity, lwalloc(), LWT_EDGEEND_STAR_t::nodeID, LWT_EDGEEND_STAR_t::numEdgeEnds, 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: