![]() |
【转帖】ransformation Matrices
transformation matrices
transformation matrices i am using the odamdiapp code in an attempt to add new elements to a drawing. i would like firstly to add lines. i can obtain the screen coordinates (cpoint) of the mouse click positions. what i need to find out is how i transform these coordinates to world coordinates in order to add the line to the database. i have tried the various matrices available from odgsview but none of them seem to be the correct transform. any assistance would be greatly appreciated. use inverted odgsview::worldtodevicematrix(), however odgematrix3d::invert() would fail if odgsview::worldtodevicematrix() has perspective transform. |
所有的时间均为北京时间。 现在的时间是 11:07 PM. |