Salome HOME
0021472: EDF 2080 SMESH: Projection1D2D on a Voronoi structure fails
[modules/smesh.git] / src / StdMeshers / StdMeshers_StartEndLength.cxx
index 0a2fe35b170321da5ed572271acb6538fef560da..d6e5a5431ecd8583505cd23eacf8544f4922c690 100644 (file)
@@ -216,7 +216,7 @@ bool StdMeshers_StartEndLength::SetParametersByMesh(const SMESH_Mesh*   theMesh,
   {
     const TopoDS_Edge& edge = TopoDS::Edge( edgeMap( i ));
     Handle(Geom_Curve) C = BRep_Tool::Curve(edge, L, UMin, UMax);
-    GeomAdaptor_Curve AdaptCurve(C);
+    GeomAdaptor_Curve AdaptCurve(C, UMin, UMax);
 
     vector< double > params;
     SMESHDS_Mesh* aMeshDS = const_cast< SMESH_Mesh* >( theMesh )->GetMeshDS();