OrientedBoundingRect.d.ts 534 B

1234567891011121314
  1. import { PointLike } from './Point';
  2. import BoundingRect from './BoundingRect';
  3. import { MatrixArray } from './matrix';
  4. declare 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. }
  14. export default OrientedBoundingRect;