Calculates the extent of an aabb. The extent of an AABB is defined as the difference between its upper and lower bounds.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(aabb_t), | intent(in) | :: | this | An aabb_t instance. |
||
real(kind=rp), | intent(out), | dimension(3) | :: | extent | Extent of an AABB. |