| TriangleMeshShapeGetVolume Method (Single, Int32) |
Computes the enclosed volume of the mesh.
Namespace: DigitalRune.Geometry.ShapesAssembly: DigitalRune.Geometry (in DigitalRune.Geometry.dll) Version: 1.18.0.0 (1.18.2.14427)
Syntax public override float GetVolume(
float relativeError,
int iterationLimit
)
Public Overrides Function GetVolume (
relativeError As Single,
iterationLimit As Integer
) As Single
public:
virtual float GetVolume(
float relativeError,
int iterationLimit
) override
abstract GetVolume :
relativeError : float32 *
iterationLimit : int -> float32
override GetVolume :
relativeError : float32 *
iterationLimit : int -> float32
Parameters
- relativeError
- Type: SystemSingle
Not used. - iterationLimit
- Type: SystemInt32
Not used.
Return Value
Type:
SingleThe enclosed volume of the mesh.
Remarks
This method assumes that the mesh is a closed mesh without holes.
See Also