Skip to main content

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:7900


dy​

• dy: KVector3d

The Y-axis direction vector of the coordinate system.

Defined in​

api.d.ts:7902


dz​

• dz: KVector3d

The Z-axis direction vector of the coordinate system.

Defined in​

api.d.ts:7904


origin​

• origin: KPoint3d

The origin point of the coordinate system.

Defined in​

api.d.ts:7898

Methods​

getLocalToWorldMatrix​

▸ getLocalToWorldMatrix(): KMatrix4

Gets the transformation matrix from local to world coordinates.

Returns​

KMatrix4

Defined in​

api.d.ts:7912


getWorldToLocalMatrix​

▸ getWorldToLocalMatrix(): KMatrix4

Gets the transformation matrix from world to local coordinates.

Returns​

KMatrix4

Defined in​

api.d.ts:7908


transform​

▸ transform(matrix): boolean

Applies a transformation to this coordinate system in place.

Parameters​

NameTypeDescription
matrixKMatrix4The transformation matrix to apply.

Returns​

boolean

Defined in​

api.d.ts:7917


transformed​

▸ transformed(matrix): KCCS3d

Returns a new KCCS3d instance transformed by the given matrix.

Parameters​

NameTypeDescription
matrixKMatrix4The transformation matrix to apply.

Returns​

KCCS3d

Defined in​

api.d.ts:7922