(self, bsp_curve)
Private method that adds `self.t_knots_to_add` poles to the passed
        curve.
        
        :param Geom_BSplineCurve bsp_curve: the NURBS curve to enrich
Private method that adds `self.t_knots_to_add` poles to the passed
        curve.
        
        :param Geom_BSplineCurve bsp_curve: the NURBS curve to enrich
Private method that adds self . t_knots_to_add poles to the passed curve . : param Geom_BSplineCurve bsp_curve : the NURBS curve to enrich
def _enrich_curve_knots(self, bsp_curve):
        """
        Private method that adds `self.t_knots_to_add` poles to the passed
        curve.
        
        :param Geom_BSplineCurve bsp_curve: the NURBS curve to enrich
        """
        if not isinstance(bsp_curve, Geom_BSplineCurve):
            raise TypeError("bsp_curve must be a Geom_BSplineCurve")
        # number of knots is enriched here, if required, to
        # enhance precision
        # start parameter of composite curve
        first_param = bsp_curve.FirstParameter()
        # end parameter of composite curve
        last_param = bsp_curve.LastParameter()
        for i in range(self.t_knots_to_add):
            bsp_curve.InsertKnot(first_param+ \
                           i*(last_param-first_param)/self.t_knots_to_add, 1, \
                           self.tolerance)
def _enrich_curve_knots ( self , bsp_curve ) : if not isinstance ( bsp_curve , Geom_BSplineCurve ) : raise TypeError ( "bsp_curve must be a Geom_BSplineCurve" ) # number of knots is enriched here, if required, to # enhance precision # start parameter of composite curve first_param = bsp_curve . FirstParameter ( ) # end parameter of composite curve last_param = bsp_curve . LastParameter ( ) for i in range ( self . t_knots_to_add ) : bsp_curve . InsertKnot ( first_param + i * ( last_param - first_param ) / self . t_knots_to_add , 1 , self . tolerance )