/** * 计算两个坐标之间的距离 * @param pnt1 * @param pnt2 * @returns {number} * @constructor */ export declare const MathDistance: (pnt1: any, pnt2: any) => number; /** * 计算点集合的总距离 * @param points * @returns {number} */ export declare const wholeDistance: (points: any) => number; /** * 获取基础长度 * @param points * @returns {number} */ export declare const getBaseLength: (points: any) => number; /** * 求取两个坐标的中间值 * @param point1 * @param point2 * @returns {[*,*]} * @constructor */ export declare const Mid: (point1: any, point2: any) => [number, number]; /** * 通过三个点确定一个圆的中心点 * @param point1 * @param point2 * @param point3 */ export declare const getCircleCenterOfThreePoints: (point1: any, point2: any, point3: any) => any[]; /** * 获取交集的点 * @param pntA * @param pntB * @param pntC * @param pntD * @returns {[*,*]} */ export declare const getIntersectPoint: (pntA: any, pntB: any, pntC: any, pntD: any) => any[]; /** * 获取方位角(地平经度) * @param startPoint * @param endPoint * @returns {*} */ export declare const getAzimuth: (startPoint: any, endPoint: any) => number; /** * 通过三个点获取方位角 * @param pntA * @param pntB * @param pntC * @returns {number} */ export declare const getAngleOfThreePoints: (pntA: any, pntB: any, pntC: any) => number; /** * 判断是否是顺时针 * @param pnt1 * @param pnt2 * @param pnt3 * @returns {boolean} */ export declare const isClockWise: (pnt1: any, pnt2: any, pnt3: any) => boolean; /** * 获取线上的点 * @param t * @param startPnt * @param endPnt * @returns {[*,*]} */ export declare const getPointOnLine: (t: any, startPnt: any, endPnt: any) => any[]; /** * 获取立方值 * @param t * @param startPnt * @param cPnt1 * @param cPnt2 * @param endPnt * @returns {[*,*]} */ export declare const getCubicValue: (t: any, startPnt: any, cPnt1: any, cPnt2: any, endPnt: any) => number[]; /** * 根据起止点和旋转方向求取第三个点 * @param startPnt * @param endPnt * @param angle * @param distance * @param clockWise * @returns {[*,*]} */ export declare const getThirdPoint: (startPnt: any, endPnt: any, angle: any, distance: any, clockWise: any) => [number, number]; /** * 插值弓形线段点 * @param center * @param radius * @param startAngle * @param endAngle * @returns {null} */ export declare const getArcPoints: (center: any, radius: any, startAngle: any, endAngle: any) => any[]; /** * getBisectorNormals * @param t * @param pnt1 * @param pnt2 * @param pnt3 * @returns {[*,*]} */ export declare const getBisectorNormals: (t: any, pnt1: any, pnt2: any, pnt3: any) => any[]; /** * 获取默认三点的内切圆 * @param pnt1 * @param pnt2 * @param pnt3 * @returns {[*,*]} */ export declare const getNormal: (pnt1: any, pnt2: any, pnt3: any) => number[]; /** * 获取左边控制点 * @param controlPoints * @param t * @returns {[*,*]} */ export declare const getLeftMostControlPoint: (controlPoints: any, t: any) => any[]; /** * 获取右边控制点 * @param controlPoints * @param t * @returns {[*,*]} */ export declare const getRightMostControlPoint: (controlPoints: any, t: any) => any[]; /** * 插值曲线点 * @param t * @param controlPoints * @returns {null} */ export declare const getCurvePoints: (t: any, controlPoints: any) => any[]; /** * 贝塞尔曲线 * @param points * @returns {*} */ export declare const getBezierPoints: (points: any) => any; /** * 获取阶乘数据 * @param n * @returns {number} */ export declare const getFactorial: (n: any) => number; /** * 获取二项分布 * @param n * @param index * @returns {number} */ export declare const getBinomialFactor: (n: any, index: any) => number; /** * 插值线性点 * @param points * @returns {*} */ export declare const getQBSplinePoints: (points: any) => any; /** * 得到二次线性因子 * @param k * @param t * @returns {number} */ export declare const getQuadricBSplineFactor: (k: any, t: any) => number; /** * 获取id * @returns {*|string|!Array.} */ export declare const getuuid: () => string; /** * 添加标识 * @param obj * @returns {*} */ export declare const stamp: (obj: any) => any; /** * 去除字符串前后空格 * @param str * @returns {*} */ export declare const trim: (str: any) => any; /** * 将类名截取成数组 * @param str * @returns {Array|*} */ export declare const splitWords: (str: any) => any; /** * 判断是否为对象 * @param value * @returns {boolean} */ export declare const isObject: (value: any) => boolean; /** * merge * @param a * @param b * @returns {*} */ export declare const merge: (a: any, b: any) => any; export declare function preventDefault(e: any): void; export declare function bindAll(fns: any, context: any): void;