@cearth/tools
Version:
CEarth 的 工具库
28 lines • 1.48 kB
TypeScript
import { Cartesian2, Cartesian3, Cartesian4, Rectangle, Cartographic, Matrix2, Matrix3, Matrix4, Quaternion, HeadingPitchRoll } from "cesium";
export declare const temCartesian234: (Cartesian3 | Cartesian2 | Cartesian4)[];
export declare const temCartesian2s: Cartesian2[];
export declare const temCartesian3s: Cartesian3[];
export declare const temCartesian4s: Cartesian4[];
export declare const temCartographics: Cartographic[];
export declare const temRectangles: Rectangle[];
export declare const temMatrix2s: Matrix2[];
export declare const temMatrix3s: Matrix3[];
export declare const temMatrix4s: Matrix4[];
export declare const temQuats: Quaternion[];
export declare const temHeadingPitchRolls: HeadingPitchRoll[];
/**
* 根据长度获取对应的临时变量
* @remarks
* 目前支持向量 和 矩阵
* @param length
* @returns
*/
export declare function getTemVars(length: 2): Cartesian2[];
export declare function getTemVars(length: 3): Cartesian3[];
export declare function getTemVars(length: 4): Cartesian4[];
export declare function getTemVars(length: 2 | 3 | 4): Cartesian2[] | Cartesian3[] | Cartesian4[];
export declare function getTemVars(length: 9): Matrix3[];
export declare function getTemVars(length: 16): Matrix4[];
export declare function getTemVars(length: 9 | 16): Matrix3[] | Matrix4[];
export declare function getTemVars(length: number): Cartesian2[] | Cartesian3[] | Cartesian4[] | Matrix3[] | Matrix4[];
//# sourceMappingURL=temVariate.d.ts.map