Click or drag to resize

AreaMassPropertiesSum Method (IEnumerableAreaMassProperties, Boolean)

Sum mass properties together to get an aggregate mass.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public bool Sum(
	IEnumerable<AreaMassProperties> summands,
	bool bAddTo
)

Parameters

summands
Type: System.Collections.GenericIEnumerableAreaMassProperties
An array of mass properties to add.
bAddTo
Type: SystemBoolean
If true, then the summands are added to the existing mass.

Return Value

Type: Boolean
True if successful.
Exceptions
ExceptionCondition
ArgumentNullException
See Also