几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】problem with mirror about line in 1.14 (http://www.dimcax.com/hust/showthread.php?t=18135)

yang686526 2009-05-06 11:22 PM

【转帖】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


所有的时间均为北京时间。 现在的时间是 11:24 AM.