import THREE, { Shape, Group } from 'three'; import { MapStyle, LineColor, BoxSize } from '../type'; import CoreMap from './CoreMap'; import MapUtil from './MapUtil'; import { Line2 } from 'three/examples/jsm/lines/Line2'; declare class Polyon { sceneDesign: boolean; mapStyle: MapStyle; mapUtil: MapUtil; mapWidth: number; mapHeight: number; topPlaneTexture: THREE.Texture; topLineColor?: LineColor; bottomLineColor?: LineColor; regionName: string; topLineName: string; botmLineName: string; regionList: Group[]; boxMax: BoxSize; boxMin: BoxSize; extrudeGeometryOptions: { bevelEnabled: boolean; }; shapeMap: Map; constructor(coreMap: CoreMap); setMapStyle(mapStyle: any): void; updateTopPlaneMaterial(): void; getRegionByName(name: string, callback: (obj: any) => void): void; updateSidePlaneMaterial(): void; updateTopLineMaterial(): void; updateBotmLineMaterial(): void; setTopPlaneTexture(): void; setTopLineColor(): void; setBottomLineColor(): void; setBoxMinMax(mesh: any): void; getRegionMeshs(): THREE.Mesh, THREE.Material | THREE.Material[]>[]; createGroup(geoFeature: any): void; processBufferGeometryUV(group: any): void; processGeometryUV(max: any, min: any, geometry: any): any; createPolyon(points: any, shapeList: any, group: any): void; getLineMesh(linePoints: any): Line2[]; getPolyonMesh(shapeList: any): THREE.Mesh; } export default Polyon;