Matrix2D.getAsCoordinateSystem Method

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

Description

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

Syntax

"matrix2D_var" is a variable referencing a Matrix2D object.

(origin, xAxis, yAxis) = matrix2D_var.getAsCoordinateSystem()

#include <Core/Geometry/Matrix2D.h

// Declare the output arguments.
Ptr<Point2D> origin;
Ptr<Vector2D> xAxis;
Ptr<Vector2D> yAxis;
void returnValue = matrix2D_var->getAsCoordinateSystem(origin, xAxis, yAxis);

Parameters

Name Type Description
origin Point2D The output origin point of the coordinate system.
xAxis Vector2D The output x axis direction of the coordinate system.
yAxis Vector2D The output y axis direction of the coordinate system.

Version

Introduced in version August 2014