public void calcTinSection(float v_max)
{
this.v_max = v_max;
switch (type) {
case Type.ACCELERATION:
case Type.DECELERATION:
t_inSection = s_inSection / (v_max * (0.5f + 0.5f * velocReducer));
break;
case Type.CONSTANT:
t_inSection = s_inSection / v_max;
break;
}
}