mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0022678: Bad result of the Cut operation.
This commit is contained in:
@@ -2835,8 +2835,12 @@ Standard_Boolean FindPoint(const gp_Pnt2d& theFirstPoint,
|
||||
if ( bIsOut )
|
||||
acurvec.Reverse();
|
||||
|
||||
if((aVec.Dot(acurvec) > 0.) &&
|
||||
(aVec.Angle(acurvec) < Precision::PConfusion())) {
|
||||
Standard_Real aDotX, anAngleX;
|
||||
//
|
||||
aDotX = aVec.Dot(acurvec);
|
||||
anAngleX = aVec.Angle(acurvec);
|
||||
//
|
||||
if(aDotX > 0. && fabs(anAngleX) < Precision::PConfusion()) {
|
||||
if((i % 2) == 0) {
|
||||
if((acurpoint.Y() >= theVmin) &&
|
||||
(acurpoint.Y() <= theVmax)) {
|
||||
@@ -3462,7 +3466,7 @@ Standard_Boolean DecompositionOfWLine(const Handle(IntPatch_WLine)& theWLine,
|
||||
|
||||
if(nbboundaries == 2) {
|
||||
//xf
|
||||
//bComputeLineEnd = Standard_True;
|
||||
bComputeLineEnd = Standard_True;
|
||||
//xt
|
||||
}
|
||||
else if(nbboundaries == 1) {
|
||||
|
Reference in New Issue
Block a user