Definition at line 1290 of file lwtree.c.
1303 LWDEBUGF(4,
"pruning pair %p, %p", n1, n2);
1309 if (max < state->max_dist)
1321 double d_min = FLT_MAX;
1328 d_min =
FP_MIN(d_min, min);
1336 d_min =
FP_MIN(d_min, min);
1346 d_min =
FP_MIN(d_min, min);
#define LWDEBUGF(level, msg,...)
static double rect_node_max_distance(const RECT_NODE *n1, const RECT_NODE *n2)
static double rect_tree_distance_tree_recursive(RECT_NODE *n1, RECT_NODE *n2, RECT_TREE_DISTANCE_STATE *state)
static double rect_node_min_distance(const RECT_NODE *n1, const RECT_NODE *n2)
static double rect_leaf_node_distance(const RECT_NODE_LEAF *n1, const RECT_NODE_LEAF *n2, RECT_TREE_DISTANCE_STATE *state)
static int rect_node_is_leaf(const RECT_NODE *node)
static void rect_tree_node_sort(RECT_NODE *n1, RECT_NODE *n2)
struct rect_node * nodes[RECT_NODE_SIZE]
References FP_MIN, rect_node::i, rect_node::l, LWDEBUGF, rect_tree_distance_state::max_dist, rect_tree_distance_state::min_dist, RECT_NODE_INTERNAL::nodes, RECT_NODE_INTERNAL::num_nodes, rect_leaf_node_distance(), rect_node_is_leaf(), rect_node_max_distance(), rect_node_min_distance(), rect_tree_node_sort(), and rect_tree_distance_state::threshold.
Referenced by rect_tree_distance_tree().