Fix bug 11411: SMESH_Nut.py mesh computation failed.

This commit is contained in:
jfa 2006-04-05 09:22:08 +00:00
parent be0bb17283
commit d922b42d34

View File

@ -347,7 +347,7 @@ bool StdMeshers_Regular_1D::computeInternalParameters(const TopoDS_Edge& theEdge
double f, l;
Handle(Geom_Curve) Curve = BRep_Tool::Curve(theEdge, f, l);
GeomAdaptor_Curve C3d(Curve);
GeomAdaptor_Curve C3d (Curve, f, l);
double length = EdgeLength(theEdge);