spline.setControlPointTolerance(value.getDoubleValue());
break;
case FIT_POINT_X:
point = new SplinePoint();
point.setType(SplinePoint.TYPE_FITPOINT);
point.setX(value.getDoubleValue());
spline.addSplinePoint(point);
break;
case FIT_POINT_Y:
point.setY(value.getDoubleValue());
break;
case FIT_POINT_Z:
point.setZ(value.getDoubleValue());
break;
case CONTROL_POINT_X:
point = new SplinePoint();
point.setType(SplinePoint.TYPE_CONTROLPOINT);
point.setX(value.getDoubleValue());
spline.addSplinePoint(point);
break;
case CONTROL_POINT_Y:
point.setY(value.getDoubleValue());
break;
case CONTROL_POINT_Z:
point.setZ(value.getDoubleValue());
break;
case START_TANGENT_X:
point = new SplinePoint();
point.setType(SplinePoint.TYPE_STARTTANGENT);
point.setX(value.getDoubleValue());
spline.addSplinePoint(point);
break;
case START_TANGENT_Y:
point.setY(value.getDoubleValue());
break;
case START_TANGENT_Z:
point.setZ(value.getDoubleValue());
break;
case END_TANGENT_X:
point = new SplinePoint();
point.setType(SplinePoint.TYPE_ENDTANGENT);
point.setX(value.getDoubleValue());
spline.addSplinePoint(point);
break;