Definition at line 870 of file lwgeodetic_tree.c.
871{
872 uint32_t i;
873
875 {
876 printf("%*s[%d] C(%.5g %.5g) R(%.5g) ((%.5g %.5g),(%.5g,%.5g))",
877 3*depth + 6,
"NODE", node->
edge_num,
882 );
884 {
886 }
888 {
890 }
891 printf("\n");
892
893 }
894 else
895 {
896 printf("%*s C(%.5g %.5g) R(%.5g)",
897 3*depth + 6, "NODE",
900 );
902 {
904 }
906 {
908 }
909 printf("\n");
910 }
912 {
914 }
915 return;
916}
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
void circ_tree_print(const CIRC_NODE *node, int depth)
static int circ_node_is_leaf(const CIRC_NODE *node)
Internal nodes have their point references set to NULL.
struct circ_node ** nodes
References circ_node::center, circ_node_is_leaf(), circ_tree_print(), sort_node::d, circ_node::edge_num, circ_node::geom_type, GEOGRAPHIC_POINT::lat, GEOGRAPHIC_POINT::lon, lwtype_name(), sort_node::node, circ_node::nodes, circ_node::num_nodes, circ_node::p1, circ_node::p2, POLYGONTYPE, circ_node::pt_outside, circ_node::radius, POINT2D::x, and POINT2D::y.
Referenced by circ_tree_print().