import { Vector3, Box3, Matrix4 } from 'three'; import { SectorScene } from './types'; import { SectorMetadata } from '../metadata/types'; export declare class SectorSceneImpl implements SectorScene { readonly version: number; readonly maxTreeIndex: number; readonly root: SectorMetadata; readonly unit: string; private readonly sectors; private _cachedBoundsOfMostGeometry; constructor(version: number, maxTreeIndex: number, unit: string, root: SectorMetadata, sectorsById: Map); get sectorCount(): number; getSectorById(sectorId: number): SectorMetadata | undefined; getAllSectors(): SectorMetadata[]; getSectorsContainingPoint(p: Vector3): SectorMetadata[]; getSectorsIntersectingBox(b: Box3): SectorMetadata[]; getBoundsOfMostGeometry(): Box3; getSectorsIntersectingFrustum(projectionMatrix: Matrix4, inverseCameraModelMatrix: Matrix4): SectorMetadata[]; /** * Recursive intersection detection. */ private detectIntersectingBounds; /** * Use kmeans to group inputBounds into clusters. * * @param inBounds The bounds to be grouped into clusters. * @returns Both the list of cluster bounds and the cluster with the highest node count */ private generateClusters; private computeBoundsOfMostGeometry; }