def get_min_continuity(self): """ Return minimum continuity degree of the curve (guaranteed by curve's knotvector): 0 - point-wise continuity only (C0), 1 - tangent continuity (C1), 2 - 2nd derivative continuity (C2), and so on. """ kv = self.get_knotvector() degree = self.get_degree() return sv_knotvector.get_min_continuity(kv, degree)
def get_min_v_continuity(self): """ Return minimum continuity degree of the surface in the V direction (guaranteed by knotvector): 0 - point-wise continuity only (C0), 1 - tangent continuity (C1), 2 - 2nd derivative continuity (C2), and so on. """ kv = self.get_knotvector_v() degree = self.get_degree_v() return sv_knotvector.get_min_continuity(kv, degree)