@design-automation/mobius-inline-funcs
Version:
Mobius Spatial Information Model
65 lines (64 loc) • 1.96 kB
TypeScript
/**
* The mathematical constant PI, `3.141...`.
*/
export declare const PI: number;
/**
* The mathematical constant E.
*/
export declare const EUL: number;
/**
* PI * 2.
*/
export declare const PI2: number;
/**
* A plane at the origin, aligned with the XY plane, i.e. `[[0, 0, 0],[1, 0, 0],[0, 1, 0]]`.
*/
export declare const XY: import("../libs/common").TPlane;
/**
* A plane at the origin, aligned with the YZ plane, i.e. `[[0, 0, 0],[0, 1, 0],[0, 0, 1]]`.
*/
export declare const YZ: import("../libs/common").TPlane;
/**
* A plane at the origin, aligned with the ZX plane, i.e. `[[0, 0, 0],[0, 0, 1],[1, 0, 0]]`.
*/
export declare const ZX: import("../libs/common").TPlane;
/**
* A plane at the origin, aligned with the YX plane, i.e. `[[0, 0, 0],[0, 1, 0],[1, 0, 0]]`.
*/
export declare const YX: import("../libs/common").TPlane;
/**
* A plane at the origin, aligned with the ZY plane, i.e. `[[0, 0, 0],[0, 0, 1],[0, 1, 0]]`.
*/
export declare const ZY: import("../libs/common").TPlane;
/**
* A plane at the origin, aligned with the XZ plane, i.e. `[[0, 0, 0],[1, 0, 0],[0, 0, 1]]`.
*/
export declare const XZ: import("../libs/common").TPlane;
/**
* A vector `[1,0,0]`.
*/
export declare const VX: import("../libs/common").Txyz;
/**
* A vector `[0,1,0]`.
*/
export declare const VY: import("../libs/common").Txyz;
/**
* A vector `[0,0,1]`.
*/
export declare const VZ: import("../libs/common").Txyz;
/**
* An origin `[0,0,0]`.
*/
export declare const VO: import("../libs/common").Txyz;
/**
* A ray with an origin `[0, 0, 0]` and a direction `[1, 0, 0]`.
*/
export declare const RX: import("../libs/common").TRay;
/**
* A ray with an origin `[0, 0, 0]` and a direction `[0, 1, 0]`.
*/
export declare const RY: import("../libs/common").TRay;
/**
* A ray with an origin `[0, 0, 0]` and a direction `[0, 0, 1]`.
*/
export declare const RZ: import("../libs/common").TRay;