UNPKG

@bitbybit-dev/occt

Version:

Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.

15 lines (14 loc) 430 B
import { Base } from "../../inputs"; /** * Transform info returned from getLabelTransform. */ export interface LabelTransformInfo { /** 4x4 transformation matrix in column-major order */ matrix: number[]; /** Translation [x, y, z] */ translation: Base.Point3; /** Rotation as quaternion [x, y, z, w] */ quaternion: [number, number, number, number]; /** Scale factor (uniform) */ scale: number; }