Definition at line 679 of file lwtree.c.
691 for (i = 0; i < node->i.num_nodes; i++)
LWPOLY * lwpoly_construct_envelope(int32_t srid, double x1, double y1, double x2, double y2)
LWCOLLECTION * lwcollection_construct_empty(uint8_t type, int32_t srid, char hasz, char hasm)
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.
LWGEOM * rect_tree_to_lwgeom(const RECT_NODE *node)
static int rect_node_is_leaf(const RECT_NODE *node)
References COLLECTIONTYPE, rect_node::i, lwcollection_add_lwgeom(), lwcollection_construct_empty(), lwpoly_construct_envelope(), RECT_NODE_INTERNAL::nodes, RECT_NODE_INTERNAL::num_nodes, rect_node_is_leaf(), rect_node::xmax, rect_node::xmin, rect_node::ymax, and rect_node::ymin.
Referenced by rect_tree_to_wkt().