def METHOD_NAME(self, curve, center, direction, radius, coeff):
    if self.form == 'PLANE':
        new_curve = SvCastCurveToPlane(curve, center,
                        direction, coeff)
    elif self.form == 'SPHERE':
        new_curve = SvCastCurveToSphere(curve, center,
                        radius, coeff)
    elif self.form == 'CYLINDER':
        new_curve = SvCastCurveToCylinder(curve, center,
                        direction, radius, coeff)
    else:
        raise Exception("Unsupported target form")
    return new_curve