@giro3d/giro3d
Version:
A JS/WebGL framework for 3D geospatial data visualization
28 lines • 1.01 kB
TypeScript
import { Vector2 } from 'three';
import type Extent from '../../core/geographic/Extent';
import type TileCoordinate from './TileCoordinate';
import type { TileGeometryBuilder } from './TileGeometry';
import PlanarTileGeometry from './PlanarTileGeometry';
export declare function selectBestSubdivisions(extent: Extent, maxAspectRatio: number): Vector2;
/**
* Builds tile in a planar coordinate system.
*/
export default class PlanarTileGeometryBuilder implements TileGeometryBuilder<PlanarTileGeometry> {
readonly extent: Extent;
private readonly _rootTileMatrix;
private readonly _skirtDepth;
private _segments;
constructor(params: {
extent: Extent;
maxAspectRatio: number;
segments: number;
skirtDepth: number | undefined;
});
set segments(v: number);
get rootTileMatrix(): Vector2;
build(params: {
tile: TileCoordinate;
extent: Extent;
}): PlanarTileGeometry;
}
//# sourceMappingURL=PlanarTileGeometryBuilder.d.ts.map