EdgesGeometry - Verge3D User Manual - Soft8Soft
Description: Learn how to use EdgesGeometry in your interactive 3D apps made with Verge3D

BufferGeometry →

# EdgesGeometry

This can be used as a helper object to view the edges of a geometry.

## Code Example

`const geometry = new v3d.BoxGeometry(3, 3, 3); const edges = new v3d.EdgesGeometry(geometry); const line = new v3d.LineSegments(edges, new v3d.LineBasicMaterial({ color: 0xffffff })); app.scene.add(line);`

## Constructor

### EdgesGeometry(geometry : BufferGeometry, thresholdAngle : Integer)

- geometry — any geometry object.
- thresholdAngle — an edge is only rendered if the angle (in degrees) between the face normals of the adjoining faces exceeds this value. Default is `1` degree.

## Properties

See the base BufferGeometry class for common properties.

### # .parameters : Object

An object with a property for each of the constructor parameters. Any modification after instantiation does not change the geometry.

## Methods

See the base BufferGeometry class for common methods.

## Source

For more info on how to obtain the source code of this module see this page.