//
// C++ : Implementation des associations d'edges
//
-// Copyright (C) 2009-2013 CEA/DEN, EDF R&D
+// Copyright (C) 2009-2014 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
BEGIN_NAMESPACE_HEXA
// static bool db = on_debug ();
-// static const double TolAsso = 1e-2; // Tolerance pour les associations
-// ========================================================= Constructeur
+// ======================================================= Constructeur
AssoEdge::AssoEdge (EdgeShape* shape, double deb, double fin)
{
arc_line = shape;
// ========================================================= getUstart
double AssoEdge::getUstart ()
{
+ double ustart = 0;
BRepAdaptor_Curve* curve = arc_line->getCurve () ;
double len = arc_line->getLength ();
GCPnts_AbscissaPoint discret_start (*curve, len*arc_para1,
curve->FirstParameter() );
- double ustart = discret_start.Parameter();
+ ustart = discret_start.Parameter();
return ustart;
}
// ========================================================= saveXml