Linesegment line position

Hi, I have a LineSegments created with BufferGeometry with attributes color and position. I what to get the Vector3 position of each vertices for label.

Am trying not to make this an xy question but i want to get all the lines in the LineSegments and label them.

Hi!
Could you provide more details on what you want to achieve? Explanatory pictures?
And a live code example, of course.

Some thing like this.

but will have to rotate the labels to match the lines.

Interesting. So what have you tried? :wink:

nothing really, but is it possible to get the position of a vertex?

Yes, all positions are stored in a buffer attribute, that is geometry.attributes.position, where geometry is THREE.BufferGeometry().

A very simple example where you can see it:
http://discourse.threejs.hofk.de/2018/cell/cell.htm

to find; http://discourse.threejs.hofk.de/2018/index2018.html in the collection Collection of examples from discourse.threejs.org