7

I have a quad defined by four arbitrary points, A, B, C and D all on the same plane. I then have a known point on that quad, P.

The quad ABCD

I want to find the value of 's' as shown in the diagram above, where t and s are parametric values in the range (0, 1) that interpolate along the edges.

andygeers
  • 283

1 Answers1

0

Let $E$ be the point you show on $AB$ and $F$ be the point on $CD$. Then $E=A+t(B-A), F=C+t(D-C), P=E+s(F-E)$, where you can write these out componentwise.

Ross Millikan
  • 374,822