IFClite TypeScript API
Guides
Packages
Preparing search index...
@ifc-lite/renderer
BVH
Class BVH
Index
Constructors
constructor
Methods
build
get
Meshes
For
Ray
Constructors
constructor
new
BVH
()
:
BVH
Returns
BVH
Methods
build
build
(
meshes
:
MeshData
[]
)
:
void
Build BVH from meshes
Parameters
meshes
:
MeshData
[]
Returns
void
get
Meshes
For
Ray
getMeshesForRay
(
ray
:
Ray
,
meshes
:
MeshData
[]
)
:
number
[]
Get meshes that potentially intersect with ray
Parameters
ray
:
Ray
meshes
:
MeshData
[]
Returns
number
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
build
get
Meshes
For
Ray
Guides
Packages
IFClite TypeScript API
Loading...
Build BVH from meshes