Icard/angular-clarity-master(work.../node_modules/canvg/lib/util/math.d.ts

29 lines
863 B
TypeScript
Raw Permalink Normal View History

2024-07-16 14:55:36 +00:00
export declare const PSEUDO_ZERO = 1e-8;
/**
* Vector magnitude.
* @param v
* @returns Number result.
*/
export declare function vectorMagnitude(v: number[]): number;
/**
* Ratio between two vectors.
* @param u
* @param v
* @returns Number result.
*/
export declare function vectorsRatio(u: number[], v: number[]): number;
/**
* Angle between two vectors.
* @param u
* @param v
* @returns Number result.
*/
export declare function vectorsAngle(u: number[], v: number[]): number;
export declare function CB1(t: number): number;
export declare function CB2(t: number): number;
export declare function CB3(t: number): number;
export declare function CB4(t: number): number;
export declare function QB1(t: number): number;
export declare function QB2(t: number): number;
export declare function QB3(t: number): number;
//# sourceMappingURL=math.d.ts.map