# LineSegmentsBVH

class in `three-mesh-bvh`, extends `GeometryBVH`

```js
import { LineSegmentsBVH } from 'three-mesh-bvh';
```

BVH for `THREE.LineSegments` geometries. Each BVH primitive represents one line segment
(two consecutive vertices).

## Methods

### .shapecast

```js
.shapecast( callbacks: Object ): boolean
```

Performs 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.

- `callbacks`, `Object`
  - `intersectsBounds`, `IntersectsBoundsCallback`
  - `intersectsLine`, `IntersectsLineCallback`, optional
  - `intersectsRange`, `IntersectsRangeCallback`, optional
  - `boundsTraverseOrder`, `BoundsTraverseOrderCallback`, optional
