Doing some 3D stuff in wpf- want to use a simpler test to see if everything is working (before moving to curves).
The basic question is given two points x1,y1,z1 and
For each p between 0 and 1 then this will give you a point on the line segment:
(x1, y1, z1) + p * ((x2, y2, z2) - (x1, y1, z1))