siVolumeCenterMethod
 
 
 

siVolumeCenterMethod

Introduced

v5.0

Description

Indicates the method to use for calculating the center of a bounding volume.

C# Syntax

siVolumeCenterMethod.siVolumeCenterMethodCOG                                // 0
siVolumeCenterMethod.siVolumeCenterMethodBBoxCenter                         // 1
siVolumeCenterMethod.siVolumeCenterMethodObjectCenter                       // 2
Constant Value Description
siVolumeCenterMethodCOG 0 Use center of gravity (averaged location of all points).
siVolumeCenterMethodBBoxCenter 1 Use center of the bounding box.
siVolumeCenterMethodObjectCenter 2 Use the object's local center.

Applies To

Geometry.GetBoundingCapsule Geometry.GetBoundingSphere Geometry::GetBoundingCapsule Geometry::GetBoundingSphere