Changes between Version 5 and Version 6 of Ticket #3719, comment 1
- Timestamp:
- 03/24/17 11:38:37 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3719, comment 1
v5 v6 38 38 39 39 {{{ 40 # Radius (r), centroid (cx,cy) and angles (a1 and a3) are now 41 # calculated to arc geometry (p1, p2, p3). 42 # Then we start stroking the geometry 43 44 angleArc = a3 - a1 45 toleranceVertices = 0 46 verticesCount = 0 47 StrokingTolerance = 0.0 48 40 49 # If user gave the stroking tolerance, we calculate maximum angle of one stroke sector. 41 50 # from equation: cos(angle / 2) = (radius - tolerance) / radius