UNPKG

534 BTypeScriptView Raw
1import { PointLike } from './Point';
2import BoundingRect from './BoundingRect';
3import { MatrixArray } from './matrix';
4declare class OrientedBoundingRect {
5 private _corners;
6 private _axes;
7 private _origin;
8 constructor(rect?: BoundingRect, transform?: MatrixArray);
9 fromBoundingRect(rect: BoundingRect, transform?: MatrixArray): void;
10 intersect(other: OrientedBoundingRect, mtv?: PointLike): boolean;
11 private _intersectCheckOneSide;
12 private _getProjMinMaxOnAxis;
13}
14export default OrientedBoundingRect;