Salome HOME
projects
/
modules
/
geom.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Mantis 0054772: crash when select point in viewer inside created face
[modules/geom.git]
/
src
/
GEOMAlgo
/
GEOMAlgo_GetInPlace_1.cxx
diff --git
a/src/GEOMAlgo/GEOMAlgo_GetInPlace_1.cxx
b/src/GEOMAlgo/GEOMAlgo_GetInPlace_1.cxx
index 7beb5d1a949a9803e16af116f95fe534bc5054b1..da272ec80088416203786e271381e9a5e14aeb13 100644
(file)
--- a/
src/GEOMAlgo/GEOMAlgo_GetInPlace_1.cxx
+++ b/
src/GEOMAlgo/GEOMAlgo_GetInPlace_1.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-20
22
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-92,7
+92,7
@@
Standard_Boolean GEOMAlgo_GetInPlace::CheckCoincidence(const TopoDS_Shape& aS1,
{
Standard_Boolean bOk;
Standard_Integer iErr;
{
Standard_Boolean bOk;
Standard_Integer iErr;
- Standard_Real aTol2;
+
//
Standard_Real aTol2;
TopAbs_ShapeEnum aType1, aType2;
TopAbs_State aState;
gp_Pnt aP1, aP2;
TopAbs_ShapeEnum aType1, aType2;
TopAbs_State aState;
gp_Pnt aP1, aP2;
@@
-101,7
+101,7
@@
Standard_Boolean GEOMAlgo_GetInPlace::CheckCoincidence(const TopoDS_Shape& aS1,
//
iErr=0;
bOk=Standard_False;
//
iErr=0;
bOk=Standard_False;
- aTol2=myTolerance*myTolerance;
+
//
aTol2=myTolerance*myTolerance;
aType1=aS1.ShapeType();
aType2=aS2.ShapeType();
//
aType1=aS1.ShapeType();
aType2=aS2.ShapeType();
//