Skip to content

KBE3D / KBCore / Cesium / I3SGeometry

类: I3SGeometry

This class implements an I3S Geometry. Each I3SGeometry generates an in memory glTF to be used as content for a Cesium3DTile <p> Do not construct this directly, instead access tiles through I3SNode. </p>

属性

resource

readonly resource: Resource

Gets the resource for the geometry


data

readonly data: any

Gets the I3S data for this object.


customAttributes

readonly customAttributes: any

Gets the custom attributes of the geometry.

方法

getClosestPointIndexOnTriangle()

getClosestPointIndexOnTriangle(px: number, py: number, pz: number): any

Find a triangle touching the point [px, py, pz], then return the vertex closest to the search point

参数

px

number

The x component of the point to query

py

number

The y component of the point to query

pz

number

The z component of the point to query

返回

any

A structure containing the index of the closest point, the squared distance from the queried point to the point that is found, the distance from the queried point to the point that is found, the queried position in local space, the closest position in local space

构造函数

构造函数

new I3SGeometry(): I3SGeometry

返回

I3SGeometry

KBE3D @3.0.0 Copyright © 2024-present KBE3D