aabb_get_extent Subroutine

public subroutine aabb_get_extent(this, extent)

Calculates the extent of an aabb. The extent of an AABB is defined as the difference between its upper and lower bounds.

Arguments

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

An aabb_t instance.

real(kind=rp), intent(out), dimension(3):: extent

Extent of an AABB.


Contents

None