RhinoCommon API
BrepGetVolume Method (Double, Double) |
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)
Since: 5.0

public double GetVolume( double relativeTolerance, double absoluteTolerance )
Public Function GetVolume ( relativeTolerance As Double, absoluteTolerance As Double ) As Double
Parameters
- relativeTolerance
- Type: SystemDouble
Relative tolerance to use for area calculation. - absoluteTolerance
- Type: SystemDouble
Absolute tolerance to use for area calculation.
Return Value
Type: DoubleThe volume of the Brep.
