@avdl/martinez
Version:
TypeScript library for polygon boolean operations
14 lines • 595 B
TypeScript
import type { SweepEvent } from './SweepEvent';
/**
* Comparator for segment ordering in the sweep line status
*/
export declare class SegmentComparator {
/**
* Compare two segments (represented by their sweep events) for sweep line ordering
* @param firstEvent First segment's sweep event
* @param secondEvent Second segment's sweep event
* @returns True if firstEvent's segment should come before secondEvent's segment
*/
static compare(firstEvent: SweepEvent, secondEvent: SweepEvent): boolean;
}
//# sourceMappingURL=SegmentComparator.d.ts.map