mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 10:08:35 +05:00
Comment some debug cout.
This commit is contained in:
parent
8b3091c353
commit
120e617081
@ -295,24 +295,24 @@ Standard_Boolean GEOMAlgo_Tools::ProjectPointOnShape(const gp_Pnt& aP1,
|
|||||||
{
|
{
|
||||||
case TopAbs_EDGE:
|
case TopAbs_EDGE:
|
||||||
{
|
{
|
||||||
cout << "$$$ case TopAbs_EDGE" << endl;
|
// cout << "$$$ case TopAbs_EDGE" << endl;
|
||||||
const TopoDS_Edge& aE2 = TopoDS::Edge(aS);
|
const TopoDS_Edge& aE2 = TopoDS::Edge(aS);
|
||||||
//
|
//
|
||||||
if (BRep_Tool::Degenerated(aE2)) { // jfa
|
if (BRep_Tool::Degenerated(aE2)) { // jfa
|
||||||
cout << "$$$ Degenerated" << endl;
|
// cout << "$$$ Degenerated" << endl;
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
Standard_Real f, l;
|
Standard_Real f, l;
|
||||||
Handle(Geom_Curve) aC3D = BRep_Tool::Curve (aE2, f, l);
|
Handle(Geom_Curve) aC3D = BRep_Tool::Curve (aE2, f, l);
|
||||||
if (aC3D.IsNull()) {
|
if (aC3D.IsNull()) {
|
||||||
cout << "$$$ aC3D.IsNull()" << endl;
|
// cout << "$$$ aC3D.IsNull()" << endl;
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
}
|
}
|
||||||
bIsDone = aCtx.ProjectPointOnEdge(aP1, aE2, aT2);
|
bIsDone = aCtx.ProjectPointOnEdge(aP1, aE2, aT2);
|
||||||
}
|
}
|
||||||
if (!bIsDone) {
|
if (!bIsDone) {
|
||||||
cout << "$$$ !bIsDone" << endl;
|
// cout << "$$$ !bIsDone" << endl;
|
||||||
return bIsDone;
|
return bIsDone;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user