剖面几何类
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
剖面几何类构造参数
|
Methods
static Cesium.SectionPlaneGeometry.createPlaneGeometryByHeight(layers, height) → SectionPlaneGeometry
根据多个MapGISM3DSet和统一的海拔高度构建一个水平的剖面几何
| Name | Type | Description |
|---|---|---|
layers |
Array.<MapGISM3DSet> | m3d图层列表 |
height |
Number | 海拔高度 |
Returns:
Example:
let sectionPlaneGeometry = Cesium.SectionPlaneGeometry.createPlaneGeometryByHeight([m3dLayer], -800)
static Cesium.SectionPlaneGeometry.createPlaneGeometryByPositions(topPoint1, topPoint2, bottomPoint1, bottomPoint2) → SectionPlaneGeometry
根据空间中的四个点构建一个剖面几何
| Name | Type | Description |
|---|---|---|
topPoint1 |
Cartesian3 | |
topPoint2 |
Cartesian3 | |
bottomPoint1 |
Cartesian3 | |
bottomPoint2 |
Cartesian3 |
Returns:
Example:
let sectionPlaneGeometry = Cesium.SectionPlaneGeometry.createPlaneGeometryByPositions(positions[0], positions[1], positions[2], positions[3])
getVertexArray(context) → VertexArray
获取几何对应的顶点数组对象
| Name | Type | Description |
|---|---|---|
context |
Context | 上下文对象 |
Returns:
顶点数组对象
