A series of vertex pairs, forming line segments.
This is used in [page:LineSegments2] to describe the shape.
[name] is an add-on, and therefore must be imported explicitly. See [link:#manual/introduction/Installation Installation / Addons].
import { LineSegmentsGeometry } from 'three/addons/lines/LineSegmentsGeometry.js';
[example:webgl_lines_fat_raycasting WebGL / lines / fat / raycasting ]
Creates a new geometry. Call [page:LineSegmentsGeometry.setPositions setPositions] to add segments.
See the base [page:InstancedBufferGeometry] class for common properties.
Read-only flag to check if a given object is of type [name].
See the base [page:Mesh] class for common methods.
Copy the vertex positions of an edge geometry into this geometry.
Copy the vertex positions of a [page:LineSegments] object into this geometry. Assumes the source geometry is not using indices.
Copy the vertex positions of a mesh object into this geometry.
Copy the vertex positions of a wireframe geometry into this geometry.
Replace the per-vertex colors. Every sixtuple describes a segment: `[r1, g1, b1, r2, g2, b2]`. The array can be an `Array` or `Float32Array`.
Replace the vertex positions with a new set. The array can be an `Array` or `Float32Array`. The length must be a multiple of six.
See also [page:LineSegmentsGeometry.positions positions].
Unimplemented.
[link:https://github.com/mrdoob/three.js/blob/master/examples/jsm/lines/LineSegmentsGeometry.js examples/jsm/lines/LineSegmentsGeometry.js]