UNPKG

1.3 kBTypeScriptView Raw
1/// <reference types="gl-matrix" />
2import { Coordinate } from '@antv/coord';
3export declare function isTranspose(coordinate: Coordinate): boolean;
4export declare function isPolar(coordinate: Coordinate): boolean;
5export declare function isRadial(coordinate: Coordinate): boolean;
6export declare function isHelix(coordinate: Coordinate): boolean;
7export declare function isParallel(coordinate: Coordinate): boolean;
8export declare function isFisheye(coordinate: Coordinate): boolean;
9export declare function isRadar(coordinate: Coordinate): boolean;
10export declare function isCircular(coordinate: Coordinate): boolean;
11export declare function isTheta(coordinate: Coordinate): boolean;
12export declare function isNonCartesian(coordinate: Coordinate): boolean;
13export declare function getRadius(coordinate: Coordinate): number;
14export declare function radiusOf(coordinate: Coordinate): [number, number];
15export declare function angleOf(coordinate: Coordinate, isRadius?: boolean): [number, number];
16export declare function getTransformOptions(coordinate: Coordinate, type: string): [number, number] | [] | [number, number, number, number] | [import("@antv/coord/lib/type").TransformCallback] | [import("gl-matrix").mat3] | [number] | [number, number, number, number, boolean?] | [number, number, boolean?];