PostGIS
2.4.9dev-r@@SVN_REVISION@@
|
RECT_NODE* rect_node_leaf_new | ( | const POINTARRAY * | pa, |
int | i | ||
) |
Create a new leaf node, calculating a measure value for each point on the edge and storing pointers back to the end points for later.
Definition at line 128 of file lwtree.c.
References FP_EQUALS, FP_MAX, FP_MIN, getPoint_internal(), rect_node::left_node, lwalloc(), rect_node::p1, rect_node::p2, rect_node::right_node, POINT2D::x, rect_node::xmax, rect_node::xmin, POINT2D::y, rect_node::ymax, and rect_node::ymin.
Referenced by rect_tree_new().