![]() |
【转帖】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. |