def __init__(self, l=2.0, A=2.0, m=-0.2, ncp=6, type=1, p=3): self._l = l self._A = A self._m = m self._ncp = ncp self._type = type self._xp = self._spacing() self._Pig = self._init_cp() self._P = self._cp() Bspline.__init__(self, self._P, p)
def __init__(self, l = 2.0, A = 2.0, m = -0.2, ncp = 6, type = 1, p = 3): self._l = l self._A = A self._m = m self._ncp = ncp self._type = type self._xp = self._spacing() self._Pig = self._init_cp() self._P = self._cp() Bspline.__init__(self, self._P, p)