BimIfcMesh
Index
Constructors
publicconstructor
Parameters
vertexData: BimVertexData
transform: Matrix
toMeterScale: number
Returns BimIfcMesh
Properties
publicreadonlytransform
publicreadonlyvertexData
Methods
publicgeometricallyContains
- alpha
Checks if all vertices of mesh are completely contained by the geometry.
Parameters
mesh: BimIfcMesh
Mesh of geometry to test.
Returns boolean
publicgeometricallyContainsBoundingBox
- alpha
Checks if bounds of object are inside of geometry.
Parameters
bound: SimpleBoundingBox
SimpleBoundingBox in world space.
Returns boolean
publicgeometricallyIntersectingBoundingBox
- alpha
Checks if bounds of object are inside of geometry.
Parameters
bound: SimpleBoundingBox
SimpleBoundingBox in world space.
Returns boolean
publicgeometricallyIntersects
- alpha
Checks if there is a vertex from the mesh on the inside and outside of the geometry.
Parameters
mesh: BimIfcMesh
Mesh of geometry to test.
Returns boolean
publicgetIntersectionPoints
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
Perform intersection testing on a BimIfcMesh.
Parameters
o: BimIfcMeshIntersectionOptions
Intersection options. See BimIfcMeshIntersectionOptions.
Returns Intersection[]
Intersection info. Will be empty if no intersection was found.
Representation of an IFC mesh