Class: PolygonEntity

mapray~ PolygonEntity


new PolygonEntity(scene [, opts])

多角形エンティティ

Parameters:
Name Type Argument Description
scene mapray.Scene

所属可能シーン

opts object <optional>

オプション集合

Properties
Name Type Argument Description
json object <optional>

生成情報

refs object <optional>

参照辞書

Source:

Extends

Members


altitude_mode :mapray.AltitudeMode

高度モード

Type:
Inherited From:
Overrides:
Source:

<readonly> animation :mapray.animation.BindingBlock

アニメーションパラメータ設定

Type:
Inherited From:
Overrides:
Source:

extruded_height :number

押し出し量(0より大きい値)

Type:
  • number
Source:

extruded_height :number

押し出し量

Type:
  • number
Source:

<readonly> scene :mapray.Scene

所属可能シーン

Type:
Inherited From:
Overrides:
Source:

<readonly> visibility :boolean

可視性フラグを取得

Type:
  • boolean
Inherited From:
Overrides:
Source:

Methods


_getCombinedBoundary2DPoints()

結合された 2D 境界点列を取得 (高度なし)

Source:
Returns:

結合された 2D 境界点列

Type
Float64Array

_getCombinedBoundaryPoints()

結合された境界点列を取得

Source:
Returns:

結合された境界点列

Type
Float64Array

addInnerBoundary(points)

内側境界を追加

points は [lon_0, lat_0, alt_0, lon_1, lat_1, alt_1, ...] のような形式で配列を与える。

Parameters:
Name Type Description
points Array.<number>

頂点の配列

Source:

addOuterBoundary(points)

外側境界を追加

points は [lon_0, lat_0, alt_0, lon_1, lat_1, alt_1, ...] のような形式で配列を与える。

Parameters:
Name Type Description
points Array.<number>

頂点の配列

Source:

getBounds()

すべての頂点のバウンディングを算出

Inherited From:
Overrides:
Source:
Returns:

バウンディング情報を持ったGeoRegion

Type
mapray.GeoRegion

setColor(color)

基本色を設定

Parameters:
Name Type Description
color mapray.Vector3

基本色

Source:

setExtrudedHeight(opacity)

押し出し量を設定

Parameters:
Name Type Description
opacity number

押し出し量

Source:

setOpacity(opacity)

不透明度を設定

Parameters:
Name Type Description
opacity number

不透明度

Source:

setVisibility(visibility)

可視性フラグを設定

Parameters:
Name Type Description
visibility boolean

可視性フラグ

Inherited From:
Overrides:
Source: