跳到主要内容

IDP.Math.KGeomLib.createAlignCCSMatrix4() method

创建一个变换矩阵,是从全局坐标系到局部坐标系的变换。

Create a transformation matrix which align global ccs to the given ccs.

Signature:

createAlignCCSMatrix4(x: KVector3d, y: KVector3d, z: KVector3d, origin: KPoint3d): KMatrix4;

Links: createAlignCCSMatrix4(x: KVector3d, y: KVector3d, z: KVector3d, origin: KPoint3d): KMatrix4;

Parameters

Parameter

Type

Description

x

KVector3d

给定坐标系的x方向。

The x direction of the given coordinate system.

y

KVector3d

给定坐标系的y方向。

The y direction of the given coordinate system.

z

KVector3d

给定坐标系的z方向。

The z direction of the given coordinate system.

origin

KPoint3d

给定坐标系的原点。

The origin of the given coordinate system.

Returns:

KMatrix4

变换矩阵。

The transformation matrix.