Click or drag to resize
SoNonIndexedShapeComputeBBox Method (SoAction, SbXfBox3d, SbVec3d)

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

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
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

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