Why do I get incorrect results from the ICurve.Offset() method for certain values of the offset distance?

The ICurve.Offset() method fails (or may throw an exception) when the offsets of some sub-curves need to be deleted from the final result. A typical situation in which this happens is when the offset distance is greater than the radius of an arc sub-curve, as the following picture shows.

mceclip0.png

To handle these cases, you can try to use the LinearPath.QuickOffset() method instead. 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.