1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| export default class Envelope implements IEnvelope { minx: number; miny: number; maxx: number; maxy: number; constructor(minx: number, miny: number, maxx: number, maxy: number); get width(): number; get height(): number; centroid(): ICoordinate; expand(envelope: IEnvelope): void; area(): number; perimeter(): number; static from(coordinates: any): Envelope; static from(coordinates: ICoordinate[]): Envelope; static union(env1: IEnvelope, env2: IEnvelope): Envelope; static intersection(env1: IEnvelope | undefined, env2: IEnvelope | undefined): Envelope | undefined; static unionAll(envelopes: IEnvelope[]): Envelope; static disjoined(envelope1: IEnvelope | undefined, envelope2: IEnvelope | undefined): boolean; static contains(envelope1: IEnvelope | undefined, envelope2: IEnvelope | undefined): boolean; static intersects(envelope1: IEnvelope | undefined, envelope2: IEnvelope | undefined): boolean; static equals(envelope1: IEnvelope | undefined, envelope2: IEnvelope | undefined, tolerance?: number): boolean; static init(): Envelope; static overlaps(envelope1: IEnvelope | undefined, envelope2: IEnvelope | undefined): boolean; }
|