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.


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

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



Please sign in to leave a comment.