Origin

[ Interface ]

export interface Origin {
    transformType: 'Origin';
    x?: number;
    xUnit?: TcHmi.DimensionUnit;
    y?: number;
    yUnit?: TcHmi.DimensionUnit;
    z?: number;
    zUnit?: TcHmi.DimensionUnit;
}

Defines the origin of all transformations.

This interface implements the TcHmi.Transform interface.

Properties

Name

Type

Description

transformType

'Origin'

Keyword

x [ optional ]

number

Numeric value of the x-coordinate

xUnit [ optional ]

TcHmi.DimensionUnit

Unit of the x-coordinate

y [ optional ]

number

Numeric value of the y-coordinate

yUnit [ optional ]

TcHmi.DimensionUnit

Unit of the y-coordinate

z [ optional ]

number

Numeric value of the z-coordinate

zUnit [ optional ]

TcHmi.DimensionUnit

Unit of the z-coordinate

Origin 1:

Available from 1.8