project/node_modules/zrender/lib/core/OrientedBoundingRect.d.ts

15 lines
534 B
TypeScript
Raw Normal View History

2024-07-14 15:48:34 +08:00
import { PointLike } from './Point';
import BoundingRect from './BoundingRect';
import { MatrixArray } from './matrix';
declare class OrientedBoundingRect {
private _corners;
private _axes;
private _origin;
constructor(rect?: BoundingRect, transform?: MatrixArray);
fromBoundingRect(rect: BoundingRect, transform?: MatrixArray): void;
intersect(other: OrientedBoundingRect, mtv?: PointLike): boolean;
private _intersectCheckOneSide;
private _getProjMinMaxOnAxis;
}
export default OrientedBoundingRect;