mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-04 18:06:22 +03:00
0023287: IntPolyh_MaillageAffinage.cxx, line 2217: "identical sub-expressions to the left and to the right of the '-' operator"
The expression Abs(PEP1.U()-PEP1.U()) changed to Abs(PEP1.U()-PEP2.U()) In this case the points are equal and so the points number can be reduced to '1'.
This commit is contained in:
parent
f7233960d3
commit
35958a5847
@ -2214,7 +2214,7 @@ void CalculPtsInterTriEdgeCoplanaires(const Standard_Integer TriSurfID,
|
||||
}
|
||||
|
||||
if (NbPoints!=0) {
|
||||
if (Abs(PEP1.U()-PEP1.U())<MyConfusionPrecision
|
||||
if (Abs(PEP1.U()-PEP2.U())<MyConfusionPrecision
|
||||
&&(Abs(PEP1.V()-PEP2.V())<MyConfusionPrecision) ) NbPoints=1;
|
||||
|
||||
SP1.SetXYZ(PEP1.X(),PEP1.Y(),PEP1.Z());
|
||||
|
Loading…
x
Reference in New Issue
Block a user