import { LineString, Point, Polygon } from "../../internal"; /** * Shamos-Hoey simple polygon detection *
* Based upon C++ implementation: *
* http://geomalgorithms.com/a09-_intersect-3.html *
* C++ implementation license: *
* Copyright 2001 softSurfer, 2012 Dan Sunday This code may be freely used and
* modified for any purpose providing that this copyright notice is included
* with it. SoftSurfer makes no warranty for this code, and cannot be held
* liable for any real or imagined damage resulting from its use. Users of this
* code must verify correctness for their application.
*/
export declare class ShamosHoey {
/**
* Determine if the polygon is simple
* @param polygon polygon
* @return true if simple, false if intersects
*/
static simplePolygon(polygon: Polygon): boolean;
/**
* Determine if the polygon points are simple
* @param points polygon as points
* @return true if simple, false if intersects
*/
static simplePolygonPoints(points: Array