UNPKG

ts-scikit

Version:

A scientific toolkit written in Typescript

34 lines (33 loc) 855 B
/** * A tuple with 4 components: x, y, z, and w. */ export declare class Tuple4 { x: number; y: number; z: number; w: number; /** * Creates a new tuple from an existing one. * @param t the tuple. */ static FromExisting(t: Tuple4): Tuple4; /** * Constructs a new tuple with 4 defined components. * @param x the x-component. * @param y the y-component. * @param z the z-component. * @param w the w-component. */ constructor(x: number, y: number, z: number, w: number); /** * Copies this tuple. * @returns a copy of this tuple. */ clone(): Tuple4; /** * Determines if the components of this tuple equal those of another tuple. * @param o the tuple. * @returns true, if equals; false, otherwise. */ equals(o: Tuple4): boolean; }