Skip to main content

@twinfinity/t8-client-model

Index

Classes

Enumerations

Functions

Interfaces

References

Type Aliases

Variables

References

T8ElementQuantity

Renames and re-exports T8QuantitySet

Type Aliases

ModelProductClassType

ModelProductClassType: keyof typeof predefinedClassType

The type is used to group IFC classes into categories.

PredefinedClassId

PredefinedClassIdWithoutPrefix

PredefinedClassIdWithoutPrefix: `${Uncapitalize<keyof typeof tmpPredefinedIfcClassIdWithoutPrefix>}` | `${Uncapitalize<keyof typeof tmpPredefinedTwinfinityClassId>}`

Represents a predefined class ID without the prefix (e.g. 'Ifc').

PredefinedIfcClassId

PredefinedIfcClassId: `${typeof IfcClassIdPrefix}${Capitalize<keyof typeof tmpPredefinedIfcClassIdWithoutPrefix>}`

The known predefined IFC class IDs. Can be used with ModelProductClass.is to determine if a class is a predefined IFC class.

@example
function checkIfWindow(o: BimIfcObject): boolean {
return o.class.is('IfcWindow');
}

PredefinedTwinfinityClassId

PredefinedTwinfinityClassId: `${Capitalize<keyof typeof tmpPredefinedTwinfinityClassId>}`

T8ClientQuantityValueDTO

T8ClientQuantityValueDTO: T8ClientPropertyValueDTO

T8GIModel

T8ProjectWithGeometry

T8ProjectWithGeometry<TEntity>: T8Project<T8ProductWithGeometry<TEntity>> & IterableT8Project<T8ProductWithGeometry<TEntity>>

Type parameters

TypedArray

TypedArray: Uint8Array | Uint16Array | Uint32Array | Float32Array | Float64Array

Variables

constCONFLICT_FLAG_UINT16

CONFLICT_FLAG_UINT16: 32768 = 0x8000

Conflict flag bit for Uint16 indices.

@constant

constCONFLICT_FLAG_UINT32

CONFLICT_FLAG_UINT32: 2147483648 = 0x80000000

Conflict flag bit for Uint32 indices.

@constant

constCONFLICT_FLAG_UINT8

CONFLICT_FLAG_UINT8: 128 = 0x80

Conflict flag bit for Uint8 indices.

@constant

constSENTINEL_UINT16

SENTINEL_UINT16: 65535 = 0xffff

Sentinel value for Uint16 indices indicating "not set" or "no value".

@constant

constSENTINEL_UINT32

SENTINEL_UINT32: 4294967295 = 0xffffffff

Sentinel value for Uint32 indices indicating "not set" or "no value".

@constant

constSENTINEL_UINT8

SENTINEL_UINT8: 255 = 0xff

Sentinel value for Uint8 indices indicating "not set" or "no value".

@constant

constTYPE_MASK

TYPE_MASK: 4095 = 0xfff

Bit mask for extracting type information from packed values.

@constant

constUNIT_MASK

UNIT_MASK: 65535 = 0xffff

Bit mask for extracting unit information from packed values.

@constant