calc_height Interface

interface


Calls

interface~~calc_height~~CallsGraph interface~calc_height calc_height proc~calc_height calc_height interface~calc_height->proc~calc_height

private recursive module function calc_height(this, p) result(height)

Arguments

Type IntentOptional AttributesName
class(aabbtree_t), intent(in) :: this

An aabbtree_t instance.

integer, intent(in), optional :: p

Pointer to the root of the subtree. Default: Root of the whole tree.

Return Value integer

Return value

Description

Calculates the height of a subtree.