KCCS3d
kds-plugin-document / Exports / KCCS3d
Interface: KCCS3d
Represents a 3D coordinate system. Provides access to the origin and axis vectors, as well as transformation methods.
Table of contents
Properties
Methods
Properties
dx
• dx: KVector3d
The X-axis direction vector of the coordinate system.
Defined in
api.d.ts:6121
dy
• dy: KVector3d
The Y-axis direction vector of the coordinate system.
Defined in
api.d.ts:6123
dz
• dz: KVector3d
The Z-axis direction vector of the coordinate system.
Defined in
api.d.ts:6125
origin
• origin: KPoint3d
The origin point of the coordinate system.
Defined in
api.d.ts:6119
Methods
getLocalToWorldMatrix
▸ getLocalToWorldMatrix(): KMatrix4
Gets the transformation matrix from local to world coordinates.
Returns
Defined in
api.d.ts:6133
getWorldToLocalMatrix
▸ getWorldToLocalMatrix(): KMatrix4
Gets the transformation matrix from world to local coordinates.
Returns
Defined in
api.d.ts:6129
transform
▸ transform(matrix
): boolean
Applies a transformation to this coordinate system in place.
Parameters
Name | Type | Description |
---|---|---|
matrix | KMatrix4 | The transformation matrix to apply. |
Returns
boolean
Defined in
api.d.ts:6138
transformed
▸ transformed(matrix
): KCCS3d
Returns a new KCCS3d instance transformed by the given matrix.
Parameters
Name | Type | Description |
---|---|---|
matrix | KMatrix4 | The transformation matrix to apply. |
Returns
Defined in
api.d.ts:6143