# SkyLineAnalysis

#### new Cesium.SkyLineAnalysis(options)
MapGIS/Analyse/Advanced/SkyLineAnalysis.js 71

天际线分析

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
MapGIS/Analyse/Advanced/SkyLineAnalysis.js 110

天际线颜色

#### readonlypositions2D
MapGIS/Analyse/Advanced/SkyLineAnalysis.js 429

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