|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】problem with getarcsega
problem with getarcsegat
problem with getarcsegat
hello all,
there was a bug in dwgdirect version 1.10 where a polyline with coincident vertices caused getarcsegat to crash. this was fixed in version 1.11 ("1757 explode() and getarcsegat() crash if polyline has 2 coincident vertices with non-zero bulge on the first one"). however, this bug seems to have crept back in! i am using borland builder 6. i can mask the problem with a try - catch, but i am not sure this the ideal solution.
regards,
geoff briggs
explode() for such polyline is fixed. and if segtype() returns oddbpolyline::kcoincident getarcsegat() must not be called.
sergey slezkin
thanks for your quick response, sergey.
i hadn't spotted 'oddbpolyline::kcoincident' before. that certainly does the trick. thanks again.
regards,
geoff briggs.
|