import { IMeasure, MeasurementOptions, MeasurementRecord } from '../types'; import { HtmlOverlayLabelPool } from '../../HtmlOverlayLabelPool'; export default class RectangleMeasure implements IMeasure { private Cesium; private viewer; private handler; private startPoint; private endPoint; private secondPoint; private currentCorners; private edgeEntities; private pointEntities; private previewEdgeEntity; private previewPointEntities; private entity; private labelEntity; private primitive; private previewEntity; private htmlLabelPool; private htmlLabelId; private segmentLabelIds; private previewLabelId; constructor(Cesium: any, viewer: any); start(options: MeasurementOptions): void; stop(): void; clear(): void; private buildSurfaceRectanglePositions; rehydrate(record: MeasurementRecord, htmlLabelPool?: HtmlOverlayLabelPool): void; private computeRectangle; }