Definition at line 58 of file lwtree.c.
References FP_CONTAINS_INCL, rect_node::left_node, lw_segment_side(), LW_TRUE, rect_node::p1, rect_node::p2, rect_node_is_leaf(), rect_tree_contains_point(), rect_node::right_node, POINT2D::y, rect_node::ymax, and rect_node::ymin.
Referenced by rect_tree_contains_point(), and test_rect_tree_contains_point().
67 return (side < 0 ? -1 : 1 );
struct rect_node * right_node
#define FP_CONTAINS_INCL(A, X, B)
static int rect_node_is_leaf(const RECT_NODE *node)
Internal nodes have their point references set to NULL.
int rect_tree_contains_point(const RECT_NODE *node, const POINT2D *pt, int *on_boundary)
#define LW_TRUE
Return types for functions with status returns.
int lw_segment_side(const POINT2D *p1, const POINT2D *p2, const POINT2D *q)
lw_segment_side()
struct rect_node * left_node