Matrix3D.getAsCoordinateSystem Method

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

Description

Gets the matrix data as the components that define a coordinate system.

Syntax

"matrix3D_var" is a variable referencing a Matrix3D object.

(origin, xAxis, yAxis, zAxis) = matrix3D_var.getAsCoordinateSystem()

#include <Core/Geometry/Matrix3D.h

// Declare the output arguments.
Ptr<Point3D> origin;
Ptr<Vector3D> xAxis;
Ptr<Vector3D> yAxis;
Ptr<Vector3D> zAxis;
void returnValue = matrix3D_var->getAsCoordinateSystem(origin, xAxis, yAxis, zAxis);

Parameters

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

Version

Introduced in version August 2014