Matrix3D.setWithCoordinateSystem Method

Parent Object: Matrix3D
Defined in namespace "adsk::core" and the header file is <Core/Geometry/Matrix3D.h>

Description

Sets the matrix based on the components of a coordinate system.

Syntax

"matrix3D_var" is a variable referencing a Matrix3D object.
returnValue = matrix3D_var.setWithCoordinateSystem(origin, xAxis, yAxis, zAxis)
"matrix3D_var" is a variable referencing a Matrix3D object.

#include <Core/Geometry/Matrix3D.h>

returnValue = matrix3D_var->setWithCoordinateSystem(origin, xAxis, yAxis, zAxis);

Return Value

Type Description
boolean Returns true if successful.

Parameters

Name Type Description
origin Point3D The origin point of the coordinate system.
xAxis Vector3D The x axis direction of the coordinate system.
yAxis Vector3D The y axis direction of the coordinate system.
zAxis Vector3D The z axis direction of the coordinate system.

Version

Introduced in version August 2014