Skip to content

KBE3D / KBCore / Cesium / GltfGpmLocal

类: GltfGpmLocal

The GPM metadata for a Ground-Space Indirect implementation stored locally (i.e. a tile and/or leaf node).

This reflects the root extension object of the NGA_gpm_local

glTF extension. When a model that contains this extension was loaded, then an object of this type can be obtained by calling

const gltfGpmLocal = model.getExtension("NGA_gpm_local");

The storage type determines the presence of the optional properties: <ul> <li> When the storage type is StorageType.Indirect, then the anchorPointsIndirect and intraTileCorrelationGroups are present. </li> <li> When the storage type is StorageType.Direct, then the anchorPointsDirect and covarianceDirect are present. </li> </ul>

参数

An object describing initialization options

属性

storageType

readonly storageType: StorageType

Specifies if covariance storage is indirect or direct.


anchorPointsIndirect

readonly anchorPointsIndirect: AnchorPointIndirect[] | undefined

Array of stored indirect anchor points


anchorPointsDirect

readonly anchorPointsDirect: AnchorPointDirect[] | undefined

Array of stored direct anchor points


intraTileCorrelationGroups

readonly intraTileCorrelationGroups: CorrelationGroup[] | undefined

Metadata identifying parameters using same correlation modeling and associated correlation parameters


covarianceDirect

readonly covarianceDirect: Matrix3 | undefined

The full covariance of anchor point parameters

构造函数

构造函数

new GltfGpmLocal(options: ConstructorOptions): GltfGpmLocal

参数

options

ConstructorOptions

返回

GltfGpmLocal

KBE3D @3.0.0 Copyright © 2024-present KBE3D