Lines Matching refs:theCurves

33 static void UnifyByInsertingAllKnots(TColGeom_SequenceOfCurve& theCurves,  in UnifyByInsertingAllKnots()  argument
37 Handle(Geom_BSplineCurve) C = Handle(Geom_BSplineCurve)::DownCast(theCurves(1)); in UnifyByInsertingAllKnots()
40 for ( i = 2; i <= theCurves.Length(); i++) { in UnifyByInsertingAllKnots()
42 Handle(Geom_BSplineCurve)::DownCast(theCurves(i)); in UnifyByInsertingAllKnots()
55 for ( i = 2; i <= theCurves.Length(); i++) { in UnifyByInsertingAllKnots()
57 Handle(Geom_BSplineCurve)::DownCast(theCurves(i)); in UnifyByInsertingAllKnots()
62 for ( i = 1; i <= theCurves.Length(); i++) { in UnifyByInsertingAllKnots()
64 Handle(Geom_BSplineCurve)::DownCast(theCurves(i)); in UnifyByInsertingAllKnots()
85 static void UnifyBySettingMiddleKnots(TColGeom_SequenceOfCurve& theCurves) in UnifyBySettingMiddleKnots() argument
89 Handle(Geom_BSplineCurve) C = Handle(Geom_BSplineCurve)::DownCast(theCurves(1)); in UnifyBySettingMiddleKnots()
102 for (i = 1; i <= theCurves.Length(); i++) in UnifyBySettingMiddleKnots()
104 Handle(Geom_BSplineCurve) Ctemp = Handle(Geom_BSplineCurve)::DownCast(theCurves(i)); in UnifyBySettingMiddleKnots()
107 aMidKnot /= theCurves.Length(); in UnifyBySettingMiddleKnots()
111 for (i = 1; i <= theCurves.Length(); i++) in UnifyBySettingMiddleKnots()
113 Handle(Geom_BSplineCurve) Cres = Handle(Geom_BSplineCurve)::DownCast(theCurves(i)); in UnifyBySettingMiddleKnots()
227 TColGeom_SequenceOfCurve theCurves; in Perform() local
229 theCurves.Append(Handle(Geom_Curve)::DownCast(mySequence(i)->Copy())); in Perform()
231 UnifyByInsertingAllKnots(theCurves, PTol); in Perform()
234 Standard_Integer theNbKnots = (Handle(Geom_BSplineCurve)::DownCast(theCurves(1)))->NbKnots(); in Perform()
235 for (i = 2; i <= theCurves.Length(); i++) in Perform()
236 if ((Handle(Geom_BSplineCurve)::DownCast(theCurves(i)))->NbKnots() != theNbKnots) in Perform()
243 mySequence = theCurves; in Perform()