Preparing search index...
The search index is not available
Cak-Documentation - v0.2.0
Cak-Documentation
Slope
Class Slope
Index
Constructors
constructor
Properties
coords
height
max
Slope
min
Slope
polygon
polygon
Pos
polylines
slopes
terrain
Provider
width
Methods
analyse
clear
update
Config
Constructors
constructor
new
Slope
(
prov
:
TerrainProvider
,
options
?:
SlopeOptions
)
:
Slope
Parameters
prov
:
TerrainProvider
Optional
options
:
SlopeOptions
Returns
Slope
Properties
coords
coords
:
number
[]
[]
= []
height
height
:
number
= 100
max
Slope
maxSlope
:
number
= 90
min
Slope
minSlope
:
number
= 0
polygon
polygon
:
any
= undefined
polygon
Pos
polygonPos
:
any
[]
= []
polylines
polylines
:
any
[]
= []
slopes
slopes
:
any
[]
= []
terrain
Provider
terrainProvider
:
TerrainProvider
width
width
:
number
= 100
Methods
analyse
analyse
(
coords
:
number
[]
[]
,
showAspect
?:
boolean
)
:
Promise
<
Entity
>
分析结果保存在this.polygon和this.polylines
Parameters
coords
:
number
[]
[]
多边形坐标数组,首尾需相同
showAspect
:
boolean
= true
是否显示坡向,默认显示
Returns
Promise
<
Entity
>
clear
clear
()
:
void
Returns
void
update
Config
updateConfig
(
options
:
SlopeOptions
)
:
void
Parameters
options
:
SlopeOptions
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
coords
height
max
Slope
min
Slope
polygon
polygon
Pos
polylines
slopes
terrain
Provider
width
Methods
analyse
clear
update
Config
Cak-Documentation - v0.2.0
Loading...
分析结果保存在this.polygon和this.polylines