mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-02-05 02:34:18 +05:00
rnc : removed unnecessary comments
This commit is contained in:
parent
71206bf1b7
commit
9940adbd03
@ -753,18 +753,13 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects )
|
||||
// double y = aContourPnt.Y();
|
||||
// double z = aContourPnt.Z();
|
||||
|
||||
// When using the new way with textures on shapes we just have to do the following
|
||||
// TEST pour éviter les points doubles
|
||||
// When using the new way with textures on shapes we just have to do the following
|
||||
int pnt_array[] = {it->x,it->y};
|
||||
std::vector<int> pnt (pnt_array, pnt_array + sizeof(pnt_array) / sizeof(int) );
|
||||
|
||||
MESSAGE("pnt[x] = "<<pnt[0]<<",pnt[y] = "<<pnt[1])
|
||||
|
||||
pnt_it=existing_points.insert(pnt);
|
||||
if (pnt_it.second == true)
|
||||
if (pnt_it.second == true) // To avoid double points in the contours
|
||||
{
|
||||
MESSAGE("point absent du contour insere")
|
||||
//fin TEST
|
||||
double x = -0.5*width + it->x;
|
||||
double y = 0.5 *height - it->y;
|
||||
double z = 0;
|
||||
@ -773,10 +768,6 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects )
|
||||
geomContourPnts[j] = aGeomContourPnt;
|
||||
j++;
|
||||
}
|
||||
else
|
||||
{
|
||||
MESSAGE("point deja insere")
|
||||
}
|
||||
}
|
||||
|
||||
GEOM::GEOM_Object_var aWire;
|
||||
@ -787,7 +778,7 @@ bool EntityGUI_FeatureDetectorDlg::execute( ObjectList& objects )
|
||||
}
|
||||
else if(myOutputGroup->RadioButton1->isChecked())
|
||||
{
|
||||
aWire = aCurveOperations->MakeSplineInterpolation(geomContourPnts.in(), false, false);
|
||||
aWire = aCurveOperations->MakeSplineInterpolation(geomContourPnts.in(), /*closed =*/ false, /*reordering =*/ false);
|
||||
}
|
||||
else
|
||||
return res;
|
||||
|
Loading…
Reference in New Issue
Block a user