"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Point = void 0;
/**
 * A class to represent an X,Y point
 */
var Point = /** @class */ (function () {
    function Point(x, y) {
        this.x = x;
        this.y = y;
    }
    Point.isEqual = function (point1, point2) {
        return !((point1 === null || point1 === void 0 ? void 0 : point1.x) !== (point2 === null || point2 === void 0 ? void 0 : point2.x) || (point1 === null || point1 === void 0 ? void 0 : point1.y) !== (point2 === null || point2 === void 0 ? void 0 : point2.y));
    };
    return Point;
}());
exports.Point = Point;
