To find the coordinates of your points p5, p6 and p7, you can use the definitions and properties defined for points and vectors
So to calculate p5, you can do this:
p5 = p1 + (p2-p1)*0,5 // here p1 is the "origin"
or p5 = p2 + (p1-p2)*0,5 //here p2 is the "origin"
p2-p1 and p1-p2 define a vector. p5 is half way to p1 and p2 so the vector is multiplied by 0,5. The addition of a point with a vector give another point. Derive the other points with the same method.
Thanks for replying,
Yeah after the champagne I realized that basic vector math’s would easily give me the answer, I got no idea why I forgot about it.