SoGeoElevationGridComputeBBox Method (SoAction, SbBox3f, SbVec3f) |
This handles AABB bounding box computation for all shapes derived from this class.
Namespace: OIV.Inventor.GeoAssembly: 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
)
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
Public Overrides Sub ComputeBBox (
action As SoAction,
<OutAttribute> ByRef box As SbBox3f,
<OutAttribute> ByRef center As SbVec3f
)
public:
[EditorBrowsableAttribute(EditorBrowsableState::Advanced)]
virtual void ComputeBBox(
SoAction^ action,
[OutAttribute] SbBox3f% box,
[OutAttribute] SbVec3f% center
) override
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
abstract ComputeBBox :
action : SoAction *
box : SbBox3f byref *
center : SbVec3f byref -> unit
[<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>]
override ComputeBBox :
action : SoAction *
box : SbBox3f byref *
center : SbVec3f byref -> unit
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