Click or drag to resize

LengthMassPropertiesSum Method (IEnumerableLengthMassProperties, 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<LengthMassProperties> summands,
	bool bAddTo
)

Parameters

summands
Type: System.Collections.GenericIEnumerableLengthMassProperties
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