@twinfinity/core
    Preparing search index...

    Class BimIfcMesh

    Representation of an IFC mesh

    Index

    Constructors

    Properties

    transform: Matrix
    vertexData: BimVertexData

    Methods

    • Alpha

      Checks if all vertices of mesh are completely contained by the geometry.

      Parameters

      Returns boolean

    • Alpha

      Checks if bounds of object are inside of geometry.

      Parameters

      Returns boolean

    • Alpha

      Checks if bounds of object are inside of geometry.

      Parameters

      Returns boolean

    • Alpha

      Checks if there is a vertex from the mesh on the inside and outside of the geometry.

      Parameters

      Returns boolean

    • Finds all intersections of a Ray object and a this geometry. If a Vector2 object is provided, a screen-spaced Ray form pixel will be used for intersection test.

      Parameters

      • screenCoordinateOrRay: Ray | Vector2

        Vector2 | Ray. Ray needs to be in babylon-coordinate-system/world-space.

      • OptionalsceneOrOptions: Scene

        Scene.

      Returns Intersection[]

      Intersection info. Will be empty if no intersection was found.