Home | ClipperLib | ClipperOffset |
Del.» property MiterLimit: double; //read and write
C++ » double MiterLimit;
C# » public double MiterLimit {get; set;}
This property sets the maximum distance in multiples of delta that vertices can be offset from their original positions before squaring is applied. (Squaring truncates a miter by 'cutting it off' at 1 × delta distance from the original vertex.)
The default value for MiterLimit is 2 (ie twice delta). This is also the smallest MiterLimit that's allowed. If mitering was unrestricted (ie without any squaring), then offsets at very acute angles would generate unacceptably long 'spikes'.
An example of an offsetting 'spike' at a narrow angle that's a consequence of using a large MiterLimit (25) ...
Copyright ©2010-2014 Angus Johnson - Clipper 6.2.1 - Help file built on 1-November-2014