# EdgeSet

class in `three-edge-projection`

```js
import { EdgeSet } from 'three-edge-projection';
```

Set of projected edges produced by ProjectionGenerator.

## Methods

### .getLineGeometry

```js
.getLineGeometry( meshes?: Array<Mesh> | null ): BufferGeometry
```

Returns a new BufferGeometry representing the edges.

Pass a list of meshes in to extract edges from a specific subset of meshes in the given
order. Returns all edges if null.

- `meshes`, `Array<Mesh> | null`, optional, default `null`

### .getRangeForMesh

```js
.getRangeForMesh( mesh: Mesh ): Object | null
```

Returns the range of vertices associated with the given mesh in the geometry returned from
getLineGeometry. The `start` value is only relevant if lines are generated with the default
order and set of meshes.

Can be used to add extra vertex attributes in a geometry associated with a specific subrange
of the geometry.

- `mesh`, `Mesh`
