()
| 142 | offset = 1.0 |
| 143 | |
| 144 | def fit (): |
| 145 | Kpoints.Reset() |
| 146 | Cpoints.Reset() |
| 147 | i = 0 |
| 148 | while i < numberOfOutputPoints: |
| 149 | t = (numberOfInputPoints - offset) / (numberOfOutputPoints - 1) * i |
| 150 | Kpoints.InsertPoint(i, aKSplineX.Evaluate(t), aKSplineY.Evaluate(t), aKSplineZ.Evaluate(t)) |
| 151 | Cpoints.InsertPoint(i, aCSplineX.Evaluate(t), aCSplineY.Evaluate(t), aCSplineZ.Evaluate(t)) |
| 152 | i += 1 |
| 153 | |
| 154 | profileKData.Modified() |
| 155 | profileCData.Modified() |
| 156 | |
| 157 | fit() |
| 158 |
no test coverage detected