SoCSGShapeComputeBBox Method (SoAction, SbXfBox3d, SbVec3d) |
Compute axis aligned bounding box (AABB) for subclass using information in the given action (which may not necessarily be an SoGetBoundingBoxAction).
Namespace: OIV.Inventor.NodesAssembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public override void ComputeBBox(
SoAction action,
out SbXfBox3d box,
out SbVec3d center
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Overrides Sub ComputeBBox (
action As SoAction,
<OutAttribute> ByRef box As SbXfBox3d,
<OutAttribute> ByRef center As SbVec3d
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
virtual void ComputeBBox(
SoAction^ action,
[OutAttribute] SbXfBox3d% box,
[OutAttribute] SbVec3d% center
) override
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
abstract ComputeBBox :
action : SoAction *
box : SbXfBox3d byref *
center : SbVec3d byref -> unit
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
override ComputeBBox :
action : SoAction *
box : SbXfBox3d byref *
center : SbVec3d byref -> unit
Parameters
- action
- Type: OIV.Inventor.ActionsSoAction
- box
- Type: OIV.InventorSbXfBox3d
- center
- Type: OIV.InventorSbVec3d
RemarksThis is used by getBoundingBox() and when rendering or picking a shape with bounding-box complexity. Subclasses must define this method.
See Also