Creating an array of vectors in a line

So if I’m reading that correctly, I may be able to create a shape using two vertices, then rotate that shape to the heading of the vector, then get the top vertex x and y to apply to the next vector?

This is getting complicated, just wanting to make sure I’m not going in the wrong direction.