Entity.UpdateOrientedBoundingBox (TraversalParams, Boolean) Method

Updates the entity's oriented bounding box or build it if not present.
Public Overridable Sub UpdateOrientedBoundingBox( _ 
ByVal data As TraversalParams, _ 
ByVal keepCurrent As Boolean
)
This language is not supported or no code example is available.
public virtual void UpdateOrientedBoundingBox( 
TraversalParams data
bool keepCurrent 
)
This language is not supported or no code example is available.

Parameters

data
TraversalParams

Traversal data

keepCurrent
bool

When true, it avoid to overrides the current OBB if not needed

Remarks
 
It needs to call Regen() method first(except for Mesh, Solid, FastPointCloud, Joint, Bar and LinearPath). If a transformation is applied to the entity after regen (except for non uniform scale transformation) the OBB is already update (if it's not null).

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition