@allmaps/stdlib
Version:
Allmaps Standard Library
11 lines (10 loc) • 544 B
TypeScript
import { Polygon, Line, Point } from '@allmaps/types';
type IntersectionOptions = {
reportVertexOnVertex: boolean;
reportVertexOnEdge: boolean;
epsilon: number;
};
export declare function polygonSelfIntersectionPoints(polygon: Polygon, options?: Partial<IntersectionOptions>): Point[];
export declare function linesIntersectionPoint(line0: Line, line1: Line, options?: Partial<IntersectionOptions>): Point | undefined;
export declare function prolongedLinesIntersectionPoint(line0: Line, line1: Line): Point | undefined;
export {};