import { IRectangle } from './interfaces'; import { Point } from './point'; import { Segment } from './segment'; import { PolygonalChain } from './polygonal-chain'; export declare class Polygon extends PolygonalChain { get numEdges(): number; static fromRectangle(rect: IRectangle): Polygon; getEdge(edgeIndex: number): Segment; static collision(a: Polygon, b: Polygon): CollisionResult; } export declare enum CollisionResult { None = 0, Intersect = 1, Contact = 2 } //# sourceMappingURL=polygon.d.ts.map