Click or drag to resize
SoIndexedShapeComputeBBox Method (SoAction, SbBox3f, SbVec3f)

This handles AABB bounding box computation for all shapes derived from this class.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.0.0 (2024.1.0)
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Advanced)]
public override void ComputeBBox(
	SoAction action,
	out SbBox3f box,
	out SbVec3f center
)

Parameters

action
Type: OIV.Inventor.ActionsSoAction
box
Type: OIV.InventorSbBox3f
center
Type: OIV.InventorSbVec3f
Remarks

It sets the bounding box to contain all vertices of the shape, assuming that the shape uses the coordinates indexed by all non-negative values in the coordIndex field. It also sets the center to the average of the vertices' coordinates.

See Also