fromLineSegments method
Implementation
LineSegmentsGeometry fromLineSegments(LineSegments lineSegments ) {
final geometry = lineSegments.geometry;
this.setPositions( geometry!.attributes['position'].array ); // assumes non-indexed
// set colors, maybe
return this;
}