Definition at line 344 of file lwtree.c.
345{
346
348 return 0;
349
350
352 {
353 int i, sum = 0;
356 return sum;
357 }
358
359 else
360 {
361 int on_boundary = 0;
363
364 int contained = (edge_crossing_count % 2 == 1);
365
366
367
369 {
370 return on_boundary ? 0 : -1 * contained;
371 }
372 else
373 {
374 return contained || on_boundary;
375 }
376
377 }
378}
static int rect_tree_ring_contains_point(RECT_NODE *node, const POINT2D *pt, int *on_boundary)
static int rect_tree_area_contains_point(RECT_NODE *node, const POINT2D *pt)
static int rect_node_is_leaf(const RECT_NODE *node)
@ RECT_NODE_RING_INTERIOR
struct rect_node * nodes[RECT_NODE_SIZE]
RECT_NODE_RING_TYPE ring_type
References rect_node::i, RECT_NODE_INTERNAL::nodes, RECT_NODE_INTERNAL::num_nodes, rect_node_is_leaf(), RECT_NODE_RING_INTERIOR, RECT_NODE_RING_NONE, rect_tree_area_contains_point(), rect_tree_ring_contains_point(), and RECT_NODE_INTERNAL::ring_type.
Referenced by rect_tree_area_contains_point(), and rect_tree_contains_point().