剖面分析类,支持地形和模型
Profile
const positions: Cartesian3[] = [...];const analyser = new Profile(viewer);analyser.analyse(positions, { type: state.type, interval: state.interval }).then(res => { const { category, positions } = res;}) Copy
const positions: Cartesian3[] = [...];const analyser = new Profile(viewer);analyser.analyse(positions, { type: state.type, interval: state.interval }).then(res => { const { category, positions } = res;})
Optional
采样间隔
剖面类型
剖面分析
Description
剖面分析类,支持地形和模型
Export
Profile
Example