I'm working in a PointWrangle and attempting to create a point at a position based on the X and Y relative position of two other points.
See image below.

How do I take the x,y,z of point 0 and point 1 and create a position for point 2 that's a percentage of the x and y?
I'm guessing there may be some vector math involved, but I'm not a math guy.
Here is how I'm creating the two points which is working well.
The x,y,z values here are ‘hard coded’ but in my final working node, they will not be. I need to figure this out by referencing the points.
int pnt0 = addpoint(0,{0,0,0});
int pnt1 = addpoint(0,{1,1,0});
int prim0 = addprim(0,“polyline”);
int vert0 = addvertex(0,prim0,pnt0);
int vert1 = addvertex(0,prim0,pnt1);
Any help would be appreciated.
Jim

