core/Analysis.js

/*
 * 空间分析主类
 * @Author: jianlei wang
 * @Date: 2024-02-04 16:00:33
 * @Last Modified by: jianlei wang
 * @Last Modified time: 2024-08-28 10:24:35
 */
import Measurement from './analysis/Measurement'
import Profile from './analysis/Profile'
import Buffer from './analysis/Buffer'
import Split from './analysis/Split'
import Path from './analysis/Path'
import HeatMap from './analysis/HeatMap'
import Flood from './analysis/Flood'
/**
 * 空间分析主类
 * @class
 */
class Analysis {
  /**
   * 构造函数
   * @param {Object} viewer 地图场景对象
   * @see {@link Measurement} - 空间量测主类
   * @see {@link Profile} - 剖面分析主类
   * @see {@link Buffer} - 缓冲区分析主类
   * @see {@link Split} - 卷帘分析主类
   * @see {@link Path} - 路径分析主类
   * @see {@link HeatMap} - 热力图分析主类
   * @see {@link Flood} - 洪水分析主类
   */
  constructor(viewer) {
    this._viewer = viewer
    /**
     * 空间量测主类
     * @type {Measurement}
     */
    this.Measurement = new Measurement(this._viewer)
    /**
     * 剖面分析主类
     * @type {Profile}
     */
    this.Profile = new Profile(this._viewer)
    /**
     * 缓冲区分析主类
     * @type {Buffer}
     */
    this.Buffer = new Buffer()
    /**
     * 卷帘分析主类
     * @type {Split}
     */
    this.Split = new Split(this._viewer)

    /**
     * 路径分析主类
     * @type {Path}
     */
    this.Path = Path
    /**
     * 热力图分析主类
     * @type {HeatMap}
     */
    this.HeatMap = HeatMap

    /**
     * 洪水分析主类
     * @type {HeatMap}
     */
    this.Flood = Flood
  }
}
export default Analysis