![]() |
【转帖】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. |
| 所有的时间均为北京时间。 现在的时间是 02:41 PM. |