Class LM_BBox

Version added: before 9.5
If necessary, instances of this class can be created by:

- Local variable:
local bBox = LM.BBox:new_local()

- Global (see Script Structure about conventions for naming globals):
XX_bBox = LM.BBox:new()

Methods of LM_BBox:

Name Returns Description Ver
AccumulateBBox void < 9.5
AccumulatePoint void < 9.5
AccumulatePoint void < 9.5
Center LM_Vector3 Get the 3D center 10.0
Center2D LM_Vector2 Get the 2D center 10.0
Clear void < 9.5
Contains bool Check if the box contains 2D vector 10.0
Contains bool Check if the box contains 3D vector 10.0
IsEmpty bool < 9.5
MaxDimension real < 9.5
MaxDimension2D real < 9.5
MinDimension real < 9.5
MinDimension2D real < 9.5
Normalize void < 9.5

Properties of LM_BBox:

Name Type Description Ver
fMax LM_Vector3 < 9.5
fMin LM_Vector3 < 9.5