AreaProperties.getCentroidMomentsOfInertia 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 centroid. Unit for returned values is kg*cm^2.
Syntax
"areaProperties_var" is a variable referencing an AreaProperties object.
(returnValue, ixx, iyy, izz, ixy, iyz, ixz) = areaProperties_var.getCentroidMomentsOfInertia()
|
#include <Fusion/Fusion/AreaProperties.h
// Declare the output arguments. double ixx; double iyy; double izz; double ixy; double iyz; double ixz; boolean returnValue = areaProperties_var->getCentroidMomentsOfInertia(ixx, iyy, izz, ixy, iyz, ixz);
|
Return Value
boolean |
Returns true if successful |
Parameters
ixx |
double |
Output Double that returns the XX partial moment. |
iyy |
double |
Output Double that returns the YY partial moment. |
izz |
double |
Output Double that returns the ZZ partial moment. |
ixy |
double |
Output Double that returns the XY partial moment. |
iyz |
double |
Output Double that returns the YZ partial moment. |
ixz |
double |
Output Double that returns the XZ partial moment. |
Samples
Version
Introduced in version March 2016