3D projection of points on a 2D XY plane

I have 3 dimensional sets of points (x, y, z). I need to project these points onto the 2 dimensional XY plane using the orthogonal projection. so my question is how to convert these points to 2D? is this correct if i do only z = 0? If this is not correct, please help me solve this problem. Also I want to program this in C ++

+4
source share
1 answer

If the axes of your coordinate system are orthogonal to each other, you get an orthogonal projection onto the xy plane, just setting the z coordinate to zero - you're right about that.

+5
source

Source: https://habr.com/ru/post/1339811/


All Articles