myCurve_length,
myCurve_lengths,
myCurve_ways,
- myCurve_starts
+ myCurve_starts,
+ edge
);
double& myCurve_length, //INOUT
std::map< BRepAdaptor_Curve*, double>& myCurve_lengths,//INOUT
std::map< BRepAdaptor_Curve*, bool>& myCurve_ways, //INOUT
- std::map< BRepAdaptor_Curve*, double>& myCurve_starts ) //INOUT
+ std::map< BRepAdaptor_Curve*, double>& myCurve_starts, //INOUT
+ HEXA_NS::Edge& edge) // For error diagnostic
{
if(MYDEBUG) MESSAGE("_buildMyCurve() : : begin <<<<<<");
bool myCurve_way = true;
} else {
if(MYDEBUG) MESSAGE("SOMETHING WRONG on edge association... Bad script?");
// ASSERT(false);
+ edge.dumpAsso();
throw (SALOME_Exception(LOCALIZED("Edge association : check association parameters ( first, last ) between HEXA model and CAO")));
}
double& myCurve_length, //INOUT
std::map< BRepAdaptor_Curve*, double>& myCurve_lengths,//INOUT
std::map< BRepAdaptor_Curve*, bool>& myCurve_ways, //INOUT
- std::map< BRepAdaptor_Curve*, double>& myCurve_starts ); //INOUT
+ std::map< BRepAdaptor_Curve*, double>& myCurve_starts, //INOUT
+ HEXA_NS::Edge& edge); // For diagnostic
gp_Pnt _getPtOnMyCurve(
const double& myCurve_u, //IN