Click or drag to resize
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 OIV.Inventor.Actions.SoGetBoundingBoxAction).

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public override void ComputeBBox(
	SoAction action,
	out SbXfBox3d box,
	out SbVec3d center
)

Parameters

action
Type: OIV.Inventor.ActionsSoAction
box
Type: OIV.InventorSbXfBox3d
center
Type: OIV.InventorSbVec3d
Remarks

This is used by OIV.Inventor.Nodes.SoShape.GetBoundingBox(OIV.Inventor.Actions.SoGetBoundingBoxAction) and when rendering or picking a shape with bounding-box complexity. Subclasses must define this method.

See Also