M_Rhino_Geometry_Brep_GetVolume - mcneel/rhinocommon-api-docs GitHub Wiki

Brep.GetVolume Method

Compute the Volume of the Brep. If you want proper Volume data with moments and error information, use the VolumeMassProperties class.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public double GetVolume()

VB

Public Function GetVolume As Double

Return Value

Type: Double
The volume of the Brep.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Brep Class
GetVolume Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️