Skip to main content

BimIfcMesh

Representation of an IFC mesh

Index

Constructors

publicconstructor

Properties

publicreadonlytransform

transform: Matrix

publicreadonlyvertexData

vertexData: BimVertexData

Methods

publicgeometricallyContains

  • alpha

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


    Parameters

    Returns boolean

publicgeometricallyContainsBoundingBox

  • alpha

    Checks if bounds of object are inside of geometry.


    Parameters

    Returns boolean

publicgeometricallyIntersectingBoundingBox

  • alpha

    Checks if bounds of object are inside of geometry.


    Parameters

    Returns boolean

publicgeometricallyIntersects

  • geometricallyIntersects(mesh: BimIfcMesh): boolean
  • alpha

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


    Parameters

    Returns boolean

publicgetIntersectionPoints

  • getIntersectionPoints(screenCoordinateOrRay: Ray | Vector2, sceneOrOptions?: Scene): Intersection[]
  • 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
    • optionalsceneOrOptions: Scene

    Returns Intersection[]

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

publicintersect