Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DHConnelly ¶
DHConnelly implements the leaf node splitting function as used in github.com/dhconnelly/rtreego.
N.B.: The rtreego implementation considers a minimum leaf size; this is not a feature we support, and therefore the (minimal) corresponding logic in rtreego which takes this into consideration is not implemented here.
func GuttmanLinear ¶
GuttmanLinear implements the linear split algorithm as defined in Guttman 1984, section 3.5.3.
Here, n is the source (i.e. full) node, and m is the destination (empty) node.
N.B.: This will leave the nodes n and m in an inconsistent state. The caller will be responsible for updating the bounding box of these leaves via node.SetAABB().