Double? #654
-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 15 comments
-
Yes, via ClipperD |
Beta Was this translation helpful? Give feedback.
-
Is there an example how to create offset with ClipperD in c#? |
Beta Was this translation helpful? Give feedback.
-
Why not use the wrapper function instead: Clipper2/CSharp/Clipper2Lib/Clipper.cs Lines 150 to 151 in f9a40f0 |
Beta Was this translation helpful? Give feedback.
-
Thanks @AngusJohnson
|
Beta Was this translation helpful? Give feedback.
-
Rounding precisions of > 8 should be throwing an error, |
Beta Was this translation helpful? Give feedback.
-
I get the same result with precision = 2 or 7 |
Beta Was this translation helpful? Give feedback.
-
Please post a small sample of your polygon data. |
Beta Was this translation helpful? Give feedback.
-
I use Rhino , this is the list of the points of the polygon
|
Beta Was this translation helpful? Give feedback.
-
How much are you offsetting, what join and end types are you using? |
Beta Was this translation helpful? Give feedback.
-
I want the same result as Rhino offset: 0.26 or any other distance in all direction, you can see a little deformation in this scale and in any other scale i got the same |
Beta Was this translation helpful? Give feedback.
-
It looks fine to me.
|
Beta Was this translation helpful? Give feedback.
-
I import your svg in Rhino ,you can see the difference |
Beta Was this translation helpful? Give feedback.
-
OK, thanks, I understand the problem now and I'll investigate, |
Beta Was this translation helpful? Give feedback.
-
If you increase decimal precision to 4 (instead of the default 2), then you will get much more precise coordinates in your solutions:
|
Beta Was this translation helpful? Give feedback.
-
Thank you , yes the result much better |
Beta Was this translation helpful? Give feedback.
If you increase decimal precision to 4 (instead of the default 2), then you will get much more precise coordinates in your solutions: