| TriangleMeshShapeGetVolume Method |
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 Function GetVolume As Single
public:
float GetVolume()
member GetVolume : unit -> float32
Return Value
Type:
SingleThe enclosed volume of the mesh.
Remarks
This method assumes that the mesh is a closed mesh without holes.
See Also