查看单个帖子
旧 2009-05-06, 11:22 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】problem with mirror about line in 1.14

problem with mirror about line in 1.14
problem with mirror about line in 1.14
hi,
i am using settomirroring() method to get a mirroring matrix about a line. it was working fine with version 1.12 but its giving error in 1.14 please help. my implementation is....
odgeline3d line (pt1, pt2);
odgematrix3d odmatrix;
odmatrix.settomirroring(line);
((oddblineptr)m_poddbentity)->transformby(odmatrix);
help please.... thanks
error is :
error lnk2001: unresolved external symbol "public: class odgematrix3d & __thiscall odgematrix3d::settomirroring(class odgeline3d const &)" (?settomirroring@odgematrix3d@@qaeaav1@abvodgeline 3d@@@z)

i'm afraid it was not working fine in 1.12 - in 1.12 dd contained a dummy (empty) implementation for this function. in 1.14.02 we'll fix this problem.
sincerely yours,
george udov
quote:
originally posted by george udov
i'm afraid it was not working fine in 1.12 - in 1.12 dd contained a dummy (empty) implementation for this function. in 1.14.02 we'll fix this problem.
thanks but i was using 1.12.04 earlier..

the implementation odgematrix3d::settomirroring in 1.12.04 was
code:
odgematrix3d& odgematrix3d::settomirroring(const odgeline3d& /*line*/)
{
//todo: implement
oda_fail_once();
return *this;
}
so you can just comment out this piece of code, with comment "todo: uncomment when we get to use dd 1.14" :-)
sincerely yours,
george udov
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)