Click or drag to resize

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)
public double GetVolume(
	double relativeTolerance,
	double absoluteTolerance


Type: SystemDouble
Relative tolerance to use for area calculation.
Type: SystemDouble
Absolute tolerance to use for area calculation.

Return Value

Type: Double
The volume of the Brep.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also