AreaProperties.getPrincipalMomentsOfInertia Method
Parent Object:
AreaPropertiesDefined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/AreaProperties.h>
Description
Method that returns the moments of inertia about the principal axes. Unit for returned values is kg*cm^2.
Syntax
"areaProperties_var" is a variable referencing an AreaProperties object.
(returnValue, i1, i2, i3) = areaProperties_var.getPrincipalMomentsOfInertia()
|
#include <Fusion/Fusion/AreaProperties.h
// Declare the output arguments. double i1; double i2; double i3; boolean returnValue = areaProperties_var->getPrincipalMomentsOfInertia(i1, i2, i3);
|
Return Value
boolean |
Returns true if successful |
Parameters
i1 |
double |
Output Double that specifies the first moment of inertia. |
i2 |
double |
Output Double that specifies the second moment of inertia. |
i3 |
double |
Output Double that specifies the third moment of inertia. |
Samples
Version
Introduced in version March 2016