UNPKG

point-is-in-polygon

Version:

The `point-is-in-polygon` package is a lightweight package that was developed to check if the coordinates of a point are in the coordinates of a polygon.

12 lines (11 loc) 310 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Polygon = void 0; var Polygon = /** @class */ (function () { function Polygon(coordinates) { this.coordinates = coordinates; Object.freeze(this); } return Polygon; }()); exports.Polygon = Polygon;