Changes between Version 5 and Version 6 of Ticket #3719, comment 1


Ignore:
Timestamp:
Mar 24, 2017, 11:38:37 AM (7 years ago)
Author:
tiiipponen

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3719, comment 1

    v5 v6  
    3838
    3939{{{
     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   
    4049    # If user gave the stroking tolerance, we calculate maximum angle of one stroke sector.
    4150    # from equation: cos(angle / 2) = (radius - tolerance) / radius