1 | import { DIRECTION } from '../constant';
|
2 | import { Coordinate } from '../dependents';
|
3 | import { Position } from '../interface';
|
4 | import { BBox } from './bbox';
|
5 | /**
|
6 | * @ignore
|
7 | * 方位常量转实际的 bbox 位置大小
|
8 | * @param parentBBox
|
9 | * @param bbox
|
10 | * @param direction
|
11 | */
|
12 | export declare function directionToPosition(parentBBox: BBox, bbox: BBox, direction: DIRECTION): Position;
|
13 | /**
|
14 | * @ignore
|
15 | * get direction after coordinate translate
|
16 | * @param direction
|
17 | * @param coordinate
|
18 | */
|
19 | export declare function getTranslateDirection(direction: DIRECTION, coordinate: Coordinate): DIRECTION;
|