import { Vector3 } from "./Vector3.ts"; /** Bounding sphere defined by center and radius. */ export declare class Sphere { #private; constructor(centre?: Vector3, radius?: number); get centre(): Vector3; set centre(value: Vector3); get radius(): number; set radius(value: number); clone(): Sphere; containsPoint(point: Vector3): boolean; copy(sphere: Sphere): Sphere; distanceToPoint(point: Vector3): number; equals(sphere: Sphere): boolean; intersectsSphere(sphere: Sphere): boolean; translate(offset: Vector3): Sphere; /** * Sets this sphere to tightly bound the given points. If optionalCenter is * provided it is used as the sphere centre; otherwise the centroid is used. */ setFromPoints(points: Vector3[], optionalCenter?: Vector3): this; /** * Expands the sphere radius to include the given point if it lies outside. * The centre is not moved. */ expandByPoint(point: Vector3): this; } //# sourceMappingURL=Sphere.d.ts.map