BVH for THREE.LineSegments geometries. Each BVH primitive represents one line segment
(two consecutive vertices).
Methods
shapecast(
callbacks: {
intersectsBounds: ( box: Box3, isLeaf: boolean, score: number | undefined, depth: number, nodeIndex: number ) => number,
intersectsLine?: ( line: Line3, index: number, contained: boolean, depth: number ) => boolean,
intersectsRange?: ( offset: number, count: number, contained: boolean, depth: number, nodeIndex: number, box: Box3 ) => boolean,
boundsTraverseOrder?: ( box: Box3 ) => number
}
): booleanPerforms a spatial query against the BVH. Extends the base shapecast with an
intersectsLine callback that is called once per line segment primitive in leaf nodes.