25 #define RECT_NODE_SIZE 8
struct rect_node RECT_NODE
char * rect_tree_to_wkt(const RECT_NODE *node)
@ RECT_NODE_INTERNAL_TYPE
int rect_tree_intersects_tree(RECT_NODE *tree1, RECT_NODE *tree2)
Test if two RECT_NODE trees intersect one another.
RECT_NODE * rect_tree_from_lwgeom(const LWGEOM *geom)
Create a tree index on top an LWGEOM.
RECT_NODE * rect_tree_from_ptarray(const POINTARRAY *pa, int geom_type)
void rect_tree_printf(const RECT_NODE *node, int depth)
@ RECT_NODE_RING_EXTERIOR
@ RECT_NODE_RING_INTERIOR
void rect_tree_free(RECT_NODE *node)
Free the rect-tree memory.
struct rect_tree_distance_state RECT_TREE_DISTANCE_STATE
double rect_tree_distance_tree(RECT_NODE *n1, RECT_NODE *n2, double threshold)
Return the distance between two RECT_NODE trees.
int rect_tree_contains_point(RECT_NODE *tree, const POINT2D *pt)
LWGEOM * rect_tree_to_lwgeom(const RECT_NODE *tree)
RECT_NODE_RING_TYPE ring_type
RECT_NODE_SEG_TYPE seg_type