# SkyLineAnalysis

#### new Cesium.SkyLineAnalysis(options)
MapGIS/Analysis/SkyLineAnalysis.js 40

天际线分析

Name | Type | Description
--- | --- | ---
`options` | Object | 附加选项
Name | Type | Default | Description
--- | --- | --- | ---
`scene` | Object |  | 场景
`color` | Color | `new Color(1.0,0.0,0.0,1.0)` | optional 天际线颜色
`analysisEndCallBack` | function |  | 回调函数,返回天际线点坐标数组,点坐标为世界坐标

Author:
  - 韩彦生

##### Example:

    var manager = scene.VisualAnalysisManager;
    var skyLineAn = new Cesium.SkyLineAnalysis(
         {
              scene: scene,
              color: new Cesium.Color(0.5, 0.8, 0.3),
              analysisEndCallBack: getPositionCallBack
         });
      manager.add(skyLineAn);
      function getPositionCallBack(result) {}

### Members

#### color : Color
MapGIS/Analysis/SkyLineAnalysis.js 418

天际线颜色

#### readonly positions2D : Array
MapGIS/Analysis/SkyLineAnalysis.js 397

获取天际线的 2d 屏幕坐标点 用于2d展示