BVH.from_breps
- classmethod BVH.from_breps(triangles, nodetype=<class 'compas_model.datastructures.bvh.AABBNode'>, max_depth=None, leafsize=1)
Construct a BVH from a mesh.
- Parameters:
- brepslist[
compas.geometry.Brep
] A list of brep objects.
- nodetypeType[
AABBNode
] | Type[OBBNode
], optional The type of node to use during construction.
- max_depthint, optional
The maximum depth of the tree.
- leafsizeint, optional
The maximum number of breps contained in a leaf node.
- brepslist[
- Returns: