js-quadtree
Version:
A simple quadtree implementation for javascript (nodejs or browser with module bundler).
19 lines • 544 B
TypeScript
/**
* Point class.
* @class Point
*/
import { UserCustomData } from "./types";
export declare class Point {
readonly x: number;
readonly y: number;
readonly data: UserCustomData;
/**
* Point constructor.
* @constructs Point
* @param {number} x - X coordinate of the point.
* @param {number} y - Y coordinate of the point.
* @param {*} [data] - Data to store along the point.
*/
constructor(x: number, y: number, data?: UserCustomData);
}
//# sourceMappingURL=Point.d.ts.map