UNPKG

node-red-contrib-tak-registration

Version:

A Node-RED node to register to TAK and to help wrap files as datapackages to send to TAK

18 lines (15 loc) 506 B
import { Feature, Polygon } from 'geojson'; /** * Takes a polygon and return true or false as to whether it is concave or not. * * @function * @param {Feature<Polygon>} polygon to be evaluated * @returns {boolean} true/false * @example * var convexPolygon = turf.polygon([[[0,0],[0,1],[1,1],[1,0],[0,0]]]); * * turf.booleanConcave(convexPolygon) * //=false */ declare function booleanConcave(polygon: Feature<Polygon> | Polygon): boolean; export { booleanConcave, booleanConcave as default };