new GeometryUtils()
- Source:
Methods
(static) computeVertexNormals(geometry)
Parameters:
Name |
Type |
Description |
geometry |
Cesium.Geometry
|
|
- Source:
(static) fromCSG(csg_model, toGeometry3jsopt) → {Cesium.Geometry|THREE.Geometry}
Parameters:
Name |
Type |
Attributes |
Default |
Description |
csg_model |
CSG
|
|
|
|
toGeometry3js |
Boolean
|
<optional>
|
false
|
|
- Source:
Returns:
-
Type
-
Cesium.Geometry
|
THREE.Geometry
(static) fromGeometry3js(geometry3js) → {Cesium.Geometry}
Parameters:
Name |
Type |
Description |
geometry3js |
THREE.Geometry
|
|
- Source:
Returns:
-
Type
-
Cesium.Geometry
(static) getAttributeComponentType(array) → {Cesium.ComponentDatatype}
Parameters:
Name |
Type |
Description |
array |
TypeArray
|
|
- Source:
Returns:
-
Type
-
Cesium.ComponentDatatype
(static) isGeometry3js(geometry) → {Boolean}
Parameters:
Name |
Type |
Description |
geometry |
Object
|
|
- Source:
Returns:
-
Type
-
Boolean
(static) mergeGeometries(geometries) → {Cesium.Geometry}
合并两个或两个以上图形类型(primitiveType),属性数量、名称以及属性值的类型(GeometryAttribute的componentDatatype、componentsPerAttribute等)都一致的几何体
Parameters:
Name |
Type |
Description |
geometries |
Array.<Cesium.Geometry>
|
|
- Source:
Returns:
-
Type
-
Cesium.Geometry
(static) rotateX(geometry, angle)
绕x轴旋转,修改顶点坐标
Parameters:
Name |
Type |
Description |
geometry |
Cesium.Geometry
|
|
angle |
Number
|
弧度 |
- Source:
(static) rotateY(geometry, angle)
绕y轴旋转,修改顶点坐标
Parameters:
Name |
Type |
Description |
geometry |
Cesium.Geometry
|
|
angle |
Number
|
弧度 |
- Source:
(static) rotateZ(geometry, angle)
绕z轴旋转,修改顶点坐标
Parameters:
Name |
Type |
Description |
geometry |
Cesium.Geometry
|
|
angle |
Number
|
弧度 |
- Source:
(static) toCSG(geometry, offsetopt) → {CSG}
Parameters:
Name |
Type |
Attributes |
Description |
geometry |
Cesium.Geometry
|
THREE.Geometry
|
|
|
offset |
Cesium.Cartesian3
|
<optional>
|
|
- Source:
Returns:
-
Type
-
CSG
(static) toGeometry3js(geometry) → {THREE.Geometry}
Parameters:
Name |
Type |
Description |
geometry |
Cesium.Geometry
|
|
- Source:
Returns:
-
Type
-
THREE.Geometry
(static) translate(geometry, offset)
Parameters:
Name |
Type |
Description |
geometry |
Cesium.Geometry
|
|
offset |
Cesium.Cartesian3
|
|
- Source: