1. BackLineAnalysis

红线分析 建筑物红线(退线)分析

1.1. new BackLineAnalysis(options)

Param Type Default Description
options Object

包含以下参数的Object对象:

options.linePosition Array.<Number>

红线的坐标集合,[longitude,latitude, height, ...]

[options.formArray] Boolean true

是否以经度纬度([longitude,latitude,...])读取linePosition数组,默认为false,false为以经度纬度高程([longitude,latitude, height, ...])读取linePosition数组。

[options.position] Array.<Number>

要观察的位置,[longitude,latitude, height],不设置时则直接定位到红线位置处。

[options.hpr] HeadingPitchRoll {heading: 2.205646,pitch: -0.399956,roll: 0}

要观察的位置相机方位角,单位为弧度,默认为{heading: 2.205646,pitch: -0.399956,roll: 0};

[options.distance] Number 3

控制的缓冲距离,默认为3;

[options.extrudedHeight] Number 100

缓冲面拉伸的高度,默认为100。

Example

var backLine = new BOSGeo.BackLineAnalysis({
    linePosition: [115.00787890205515, 39.00950957365, 10.1, 115.00780513629414, 39.00939287572396, 10.1, 115.00845873860158, 39.007961490024464, 10.1],
    distance: 10
});

1.2. 方法

1.2.1. backLineAnalysis.clear()

清除绘制图层

Example

backLine.clear();
版权所有@盈嘉互联(北京)科技有限公司 京ICP备15051988号-9 Copyright © 2022 all right reserved,powered by Gitbook该文件修订时间: 2022-02-22 17:53:53

results matching ""

    No results matching ""