I3SGeometry

internal constructor new Cesium.I3SGeometry()

此类实现 I3S Geometry。每个 I3SGeometry 生成内存中的 glTF 以用作 Cesium3DTile 的内容

不要直接构造此函数,而是通过 I3SNode 访问瓦片。

Members

readonly customAttributes : object

获取几何体的自定义属性。

readonly data : object

获取此对象的 I3S 数据。
获取几何图形的资源

Methods

getClosestPointIndexOnTriangle(px, py, pz)object

找到一个与搜索点 [px, py, pz] 接触的三角形,然后返回最接近搜索点的点
Name Type Description
px number 要查询的点的 x 分量
py number 要查询的点的 y 分量
pz number 要查询的点的 z 分量
Returns:
包含最近点的索引的结构体, 从查询点到找到的点的平方距离, 从查询点到找到的点的距离, 查询的局部空间位置, 本地空间中最近的位置
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.