Skip to content

Commit 37e638a

Browse files
committed
Bugfix for curvature dependent delta
1 parent 42fb839 commit 37e638a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

TRA.Tool/InterpolationPanel.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

TRA.Tool/InterpolationPanel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@ private void btn_Interpolate_Click(object sender, EventArgs e)
3737
TrassenPanel panel = (TrassenPanel)owner.Controls[idx];
3838
if (panel.trasseS != null)
3939
{
40-
panel.trasseS.Interpolate((double)num_InterpDist.Value, (double)num_allowedTolerance.Value * 100);
40+
panel.trasseS.Interpolate((double)num_InterpDist.Value, (double)num_allowedTolerance.Value / 100);
4141
#if USE_SCOTTPLOT
4242
panel.trasseS.Plot();
4343
#endif
4444
}
4545
if (panel.trasseL != null)
4646
{
47-
panel.trasseL.Interpolate3D(null, (double)num_InterpDist.Value, (double)num_allowedTolerance.Value * 100);
47+
panel.trasseL.Interpolate3D(null, (double)num_InterpDist.Value, (double)num_allowedTolerance.Value / 100);
4848
#if USE_SCOTTPLOT
4949
panel.trasseL.Plot();
5050
#endif
5151
}
5252
if (panel.trasseR != null)
5353
{
54-
panel.trasseR.Interpolate3D(null, (double)num_InterpDist.Value, (double)num_allowedTolerance.Value * 100);
54+
panel.trasseR.Interpolate3D(null, (double)num_InterpDist.Value, (double)num_allowedTolerance.Value / 100);
5555
#if USE_SCOTTPLOT
5656
panel.trasseR.Plot();
5757
#endif

0 commit comments

Comments
 (0)