()
| 99 | numberOfOutputPoints = 300 |
| 100 | offset = 1.0 |
| 101 | def fit (): |
| 102 | points.Reset() |
| 103 | i = 0 |
| 104 | while i < numberOfOutputPoints: |
| 105 | t = (numberOfInputPoints - offset) / (numberOfOutputPoints - 1) * i |
| 106 | points.InsertPoint(i, aSplineX.Evaluate(t), aSplineY.Evaluate(t), aSplineZ.Evaluate(t)) |
| 107 | i = i + 1 |
| 108 | |
| 109 | profileData.Modified() |
| 110 | |
| 111 | fit() |
| 112 |
no test coverage detected