import { Circle } from '../circle.js'; import { Point } from '../point.js'; import type { Rectangle } from '../rectangle.js'; /** * Clones a circle. * @param {Circle} input - The circle to clone. * @param {Circle} output - Optional circle to store the result in. * @returns {Circle} The cloned circle. */ export declare const clone: (input: Circle, output?: Circle | null) => Circle; /** * Checks if a point is contained within the circle. * @param {Circle} a - The circle to check. * @param {number} x - The x coordinate of the point. * @param {number} y - The y coordinate of the point. * @returns {boolean} True if the point is contained within the circle, false otherwise. */ export declare const contains: (a: Circle, x: number, y: number) => boolean; /** * Checks if two circles are equal. * @param {Circle} a - The first circle to compare. * @param {Circle} b - The second circle to compare. * @returns {boolean} True if the circles are equal, false otherwise. */ export declare const equals: (a: Circle, b: Circle) => boolean; /** * Checks if two circles intersect. * @param {Circle} a - The first circle to check. * @param {Circle} b - The second circle to check. * @returns {boolean} True if the circles intersect, false otherwise. */ export declare const intersects: (a: Circle, b: Circle) => boolean; /** * Gets a point on the circumference of the circle at the specified angle. * @param {Circle} a - The circle to get the point from. * @param {number} angle - The angle in radians or degrees (depending on asDegrees). * @param {boolean} asDegrees - True if the angle is in degrees, false if in radians. * @param {Point} output - Optional point to store the result in. * @returns {Point} The point on the circumference of the circle. */ export declare const circumferencePoint: (a: Circle, angle: number, asDegrees?: boolean, output?: Point | null) => Point; /** * Gets a point on the circumference of the circle at the specified angle. * @param {Circle} a - The circle to get the point from. * @param {number} angle - The angle in radians or degrees (depending on asDegrees). * @param {boolean} asDegrees - True if the angle is in degrees, false if in radians. * @param {Point} output - Optional point to store the result in. * @returns {Point} The point on the circumference of the circle. */ export declare const intersectsPoint: (a: Circle, angle: number, asDegrees?: boolean, output?: Point | null) => Point; /** * Checks if a circle intersects with a rectangle. * @param {Circle} c - The circle to check. * @param {object} r - The rectangle to check. * @returns {boolean} True if the circle intersects with the rectangle, false otherwise. */ export declare const intersectsRectangle: (c: Circle, r: Rectangle) => boolean; //# sourceMappingURL=circle.d.ts.map