AreaProperties.getPrincipalAxes Method

Parent Object: AreaProperties
Defined in namespace "adsk::fusion" and the header file is <Fusion/Fusion/AreaProperties.h>

Description

Method that returns the principal axes.

Syntax

"areaProperties_var" is a variable referencing an AreaProperties object.

(returnValue, xAxis, yAxis) = areaProperties_var.getPrincipalAxes()

#include <Fusion/Fusion/AreaProperties.h

// Declare the output arguments.
Ptr<Vector3D> xAxis;
Ptr<Vector3D> yAxis;
boolean returnValue = areaProperties_var->getPrincipalAxes(xAxis, yAxis);

Return Value

Type Description
boolean Returns true if successful

Parameters

Name Type Description
xAxis Vector3D The output Vector3D object that indicates the direction of the x axis.
yAxis Vector3D The output Vector3D object that indicates the direction of the y axis.

Samples

Name Description
API Sample for AreaProperties Demonstrates how to use AreaProperties

Version

Introduced in version March 2016