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:6342
dy
• dy: KVector3d
The Y-axis direction vector of the coordinate system.
Defined in
api.d.ts:6344
dz
• dz: KVector3d
The Z-axis direction vector of the coordinate system.
Defined in
api.d.ts:6346
origin
• origin: KPoint3d
The origin point of the coordinate system.
Defined in
api.d.ts:6340
Methods
getLocalToWorldMatrix
▸ getLocalToWorldMatrix(): KMatrix4
Gets the transformation matrix from local to world coordinates.
Returns
Defined in
api.d.ts:6354
getWorldToLocalMatrix
▸ getWorldToLocalMatrix(): KMatrix4
Gets the transformation matrix from world to local coordinates.
Returns
Defined in
api.d.ts:6350
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:6359
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:6364