M_Rhino_Geometry_Brep_GetVolume_1 - mcneel/rhinocommon-api-docs GitHub Wiki
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
C#
public double GetVolume(
double relativeTolerance,
double absoluteTolerance
)
VB
Public Function GetVolume (
relativeTolerance As Double,
absoluteTolerance As Double
) As Double
- relativeTolerance
- Type: System.Double
Relative tolerance to use for area calculation. - absoluteTolerance
- Type: System.Double
Absolute tolerance to use for area calculation.
Type: Double
The volume of the Brep.
Supported in: 6.0.16224.21491, 5D58w