Click or drag to resize
SoCSGShape.ComputeBBox Method (SoAction, SbBox3f, SbVec3f)

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.2.2.0 (10.16.2.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public override void ComputeBBox(
	SoAction action,
	out SbBox3f box,
	out SbVec3f center
)

Parameters

action
Type: OIV.Inventor.Actions.SoAction
box
Type: OIV.Inventor.SbBox3f
center
Type: OIV.Inventor.SbVec3f
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