mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0024920: Invalid result of Pipe construction
Added test case bugs/modalg_5/bug24920
This commit is contained in:
@@ -161,6 +161,9 @@ void BRepFill_ShapeLaw::Init(const Standard_Boolean Build)
|
||||
IsReallyClosed = V1.IsSame(V2);
|
||||
}
|
||||
}
|
||||
if (IsReallyClosed &&
|
||||
Abs(C->FirstParameter() - First) > Precision::PConfusion())
|
||||
IsReallyClosed = Standard_False; //trimmed curve differs
|
||||
|
||||
if ((ii>1) || !IsReallyClosed ) { // Trim C
|
||||
Handle(Geom_TrimmedCurve) TC = new Geom_TrimmedCurve(C,First, Last);
|
||||
|
Reference in New Issue
Block a user