高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】crash in zoomextend ,version is 1.12.04
crash in zoomextend ,version is 1.?12.?04
crash in zoomextend ,version is 1.?12.?04
hi:
i use lib dwgdirect 1.12.04 ,and vc 6.0;sp5.
when i load file ,in zoomextend called function pview->setview, the application carsh.
can you tell me ,what's wrong with it.
thanks for your help.
attached files
the file contains a line (the last entity in model space with z coordinates about 1.e+126.
this causes problems while calculating view direction like this:
odgepoint3d position(x, y, 1.e+126);
odgepoint3d target = position + odgevector3d(0,0,1.);
// here position == target and (target - position) is zero vector.
sergey slezkin
|