Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Entity Class / UpdateOrientedBoundingBox Method / UpdateOrientedBoundingBox(TraversalParams,Boolean) Method
Traversal data
When true, it avoid to overrides the current OBB if not needed

In This Topic
    UpdateOrientedBoundingBox(TraversalParams,Boolean) Method
    In This Topic
    Updates the entity's oriented bounding box or build it if not present.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub UpdateOrientedBoundingBox( _
       ByVal data As TraversalParams, _
       ByVal keepCurrent As Boolean _
    ) 
    public virtual void UpdateOrientedBoundingBox( 
       TraversalParams data,
       bool keepCurrent
    )

    Parameters

    data
    Traversal data
    keepCurrent
    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).
    See Also