AreaMassPropertiesSum Method (IEnumerableAreaMassProperties, Boolean) |
Sum mass properties together to get an aggregate mass.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic bool Sum(
IEnumerable<AreaMassProperties> summands,
bool bAddTo
)
Public Function Sum (
summands As IEnumerable(Of AreaMassProperties),
bAddTo As Boolean
) As Boolean
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:
BooleanTrue if successful.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | |
See Also