@twinfinity/core
    Preparing search index...

    Interface Geometry3d

    Represents a geometry that consists of one or more IFC objects

    interface Geometry3d {
        aabb: { max: Vector3; min: Vector3 };
        center: Vector3;
        cullingDistance: number;
        cullOnCameraMove: boolean;
        id: string;
        indices: GeometryIndiceArray;
        isTransparent: boolean;
        positions: Float32Array;
        productsAndMeshes: BimIfcProductsAndMeshes;
        uvs: Float32Array;
        applyToGeometry(babylonGeometry: Geometry, engine: Engine): void;
        applyToMesh(mesh: Mesh, engine: Engine): void;
        copyNormalsTo<T extends Writeable<ArrayLike<number>>>(dst: T): T;
        toHandle(): Geometry3dHandle;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    aabb: { max: Vector3; min: Vector3 }

    The axis-aligned bounding box of the geometry.

    center: Vector3

    The center of the geometry's axis-aligned bounding box in IFC space.

    cullingDistance: number

    The distance at which the geometry should be culled.

    cullOnCameraMove: boolean

    Specifies whether to cull the geometry when the camera moves.

    id: string

    The unique identifier for the geometry.

    Indices. Describes triangles by referencing items in positions.

    isTransparent: boolean

    Indicates whether the geometry is transparent.

    positions: Float32Array

    Positions (x,y,z).

    productsAndMeshes: BimIfcProductsAndMeshes

    The products and meshes associated with the geometry.

    uvs: Float32Array

    Uvs (u,v)

    Methods

    • Applies geometry to a babylon Geometry.

      Parameters

      Returns void

    • Applies geometry to a babylon Mesh.

      Parameters

      • mesh: Mesh
      • engine: Engine

      Returns void

    • Copies normals to existing array.

      Type Parameters

      Parameters

      • dst: T

      Returns T