SwiftinitGeometryOS_geom_bvh_2f
init
OS_geom_bvh_2f.init(centroids: [SIMD2<Float>], bboxs: [geom_bbox_2f], heuristicFunction: @convention(c) (UInt32, geom_bbox_2f, UInt32, geom_bbox_2f) -> Float, minimumPrimitivesInInteriorNode: Int, bucketCount: Int) -> OS_geom_bvh_2f
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0centroids:structSwift.Array
- 1bboxs:structSwift.Array
- 2heuristicFunction:function
@convention(c) (UInt32, geom_bbox_2f, UInt32, geom_bbox_2f) -> Floatconvention:c - 3minimumPrimitivesInInteriorNode:structSwift.Int
- 4bucketCount:structSwift.Int
result{}
classOS_geom_bvh_2f