I have three vertices of a triangle : (x1,y1,z1); (x2,y2,z2); (x3,y3,z3). Basically, I want to transform these 3 vertices onto an XY plane such that vertices look like (0,0); (c,d); (e,f).
Once, I get the points on XY Plane, I would generate some sampling points using 2D Sampling algorithms.Then, I apply the inverse transform to these sampling points, call it as :(l,m,0) and transform it back to 3D(something, like (q,w,t)).
I would be really glad if Some can help me with functions like: Transform(), which takes 3D Vertices as inputs and converts it into 2D(XY PLane) points.
InverseTransform(), which takes 2D points as inputs and converts it into 3D(XYZ PLane) points.
Thanks in Advance!