AreaProperties.getPrincipalMomentsOfInertia Method

Parent Object: AreaProperties
Defined 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

Type Description
boolean Returns true if successful

Parameters

Name Type Description
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

Name Description
API Sample for AreaProperties Demonstrates how to use AreaProperties

Version

Introduced in version March 2016