/** * Checks whether polygons collide. * @ignore * @param {Renderable|Container|Entity|Sprite|NineSliceSprite} a - a reference to the object A. * @param {Polygon} polyA - a reference to the object A Polygon to be tested * @param {Renderable|Container|Entity|Sprite|NineSliceSprite} b - a reference to the object B. * @param {Polygon} polyB - a reference to the object B Polygon to be tested * @param {Response=} response - Response object (optional) that will be populated if they intersect. * @returns {boolean} true if they intersect, false if they don't. */ export function testPolygonPolygon(a: Renderable | Container | Entity | Sprite | NineSliceSprite, polyA: Polygon, b: Renderable | Container | Entity | Sprite | NineSliceSprite, polyB: Polygon, response?: Response | undefined): boolean; /** * Check if two Ellipse collide. * @ignore * @param {Renderable|Container|Entity|Sprite|NineSliceSprite} a - a reference to the object A. * @param {Ellipse} ellipseA - a reference to the object A Ellipse to be tested * @param {Renderable|Container|Entity|Sprite|NineSliceSprite} b - a reference to the object B. * @param {Ellipse} ellipseB - a reference to the object B Ellipse to be tested * @param {Response=} response - Response object (optional) that will be populated if * the circles intersect. * @returns {boolean} true if the circles intersect, false if they don't. */ export function testEllipseEllipse(a: Renderable | Container | Entity | Sprite | NineSliceSprite, ellipseA: Ellipse, b: Renderable | Container | Entity | Sprite | NineSliceSprite, ellipseB: Ellipse, response?: Response | undefined): boolean; /** * Check if a polygon and an ellipse collide. * @ignore * @param {Renderable|Container|Entity|Sprite|NineSliceSprite} a - a reference to the object A. * @param {Polygon} polyA - a reference to the object A Polygon to be tested * @param {Renderable|Container|Entity|Sprite|NineSliceSprite} b - a reference to the object B. * @param {Ellipse} ellipseB - a reference to the object B Ellipse to be tested * @param {Response=} response - Response object (optional) that will be populated if they intersect. * @returns {boolean} true if they intersect, false if they don't. */ export function testPolygonEllipse(a: Renderable | Container | Entity | Sprite | NineSliceSprite, polyA: Polygon, b: Renderable | Container | Entity | Sprite | NineSliceSprite, ellipseB: Ellipse, response?: Response | undefined): boolean; /** * Check if an ellipse and a polygon collide.
* **NOTE:** This is slightly less efficient than testPolygonEllipse as it just * runs testPolygonEllipse and reverses the response at the end. * @ignore * @param {Renderable|Container|Entity|Sprite|NineSliceSprite} a - a reference to the object A. * @param {Ellipse} ellipseA - a reference to the object A Ellipse to be tested * @param {Renderable|Container|Entity|Sprite|NineSliceSprite} b - a reference to the object B. * @param {Polygon} polyB - a reference to the object B Polygon to be tested * @param {Response=} response - Response object (optional) that will be populated if * they intersect. * @returns {boolean} true if they intersect, false if they don't. */ export function testEllipsePolygon(a: Renderable | Container | Entity | Sprite | NineSliceSprite, ellipseA: Ellipse, b: Renderable | Container | Entity | Sprite | NineSliceSprite, polyB: Polygon, response?: Response | undefined): boolean; import type Renderable from "./../renderable/renderable.js"; import type Container from "./../renderable/container.js"; import type Entity from "./../renderable/entity/entity.js"; import type Sprite from "./../renderable/sprite.js"; import type NineSliceSprite from "./../renderable/nineslicesprite.js"; import type { Polygon } from "../geometries/polygon.ts"; import type { Ellipse } from "./../geometries/ellipse.ts"; //# sourceMappingURL=sat.d.ts.map