Files
validation-lab-site/node_modules/terra-draw/dist/geometry/boolean/right-hand-rule.d.ts
T

8 lines
346 B
TypeScript

import { Polygon } from "geojson";
/**
* Checks if a GeoJSON Polygon follows the right-hand rule.
* @param polygon - The GeoJSON Polygon to check.
* @returns {boolean} - True if the polygon follows the right-hand rule (counterclockwise outer ring), otherwise false.
*/
export declare function followsRightHandRule(polygon: Polygon): boolean;