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) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public double GetVolume(
	double relativeTolerance,
	double absoluteTolerance
)

Parameters

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

Return Value

Type: Double
The volume of the Brep.
See Also