Search code examples
c++math3dgeometryprojection

3D points projection to 2D XY plane


I have a 3 Dimentional point set (x,y,z).I need to project these points into 2 dimentional XY plane using orthogonal projection. so my question is, how to convert these points into 2D? is it correct if I make Z=0 only? If it is not correct please any one help me to slove this problem. Also I want to programming this in C++


Solution

  • If the axes of your coordinate system are orthogonal to each other, you get the orthogonal projection to the xy-plane by simply setting the z coordinate to zero -- you are right with this.