几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】odgigeometrysimplifierelliparcproc90 invoked instead of ci (http://www.dimcax.com/hust/showthread.php?t=17705)

yang686526 2009-05-06 08:48 PM

【转帖】odgigeometrysimplifierelliparcproc90 invoked instead of ci
 
odgigeometrysimplifier::elliparcproc() invoked instead of ci
odgigeometrysimplifier::elliparcproc() invoked instead of circleproc()
hi,
i can see different methods getting invoked while importing the same file using 2.2.0 and 2.6.3 versions of dwgdirtect.
i have a class implemented
class exgssimpledevice :
public odgsbasevectorizedevice,
public odgigeometrysimplifier
{
..............
..............
}
above class implements methods the virtual methods
odgigeometrysimplifier::circleproc() - both the signatures
odgigeometrysimplifier::elliparcproc()
please refer the attached file. while importing a circle which is rorated at some angle the method which used to get invoked in 2.2.0 was circleproc() and with 2.6.3, i can see that elliparcproc() is getting invoked instead, is this behavior fine? and why is this changed?
please also fine the calls stacks for 2.6.3 and 2.2.0 attached.
thanks,
harsha
attached files

hi,
yes, the behaviour of odgixformimpl::circleproc() was changed after 2.2.0, and it is correct. now circleproc() can call elliparcproc() instead circleproc() in cases if xform matrix is not orthogonal, singular or orthogonally scaled, and can call polylineproc() instead circleproc() if circle radius is zero. behaviour was changed after some bug fixes in circle transformation.


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