mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0026071: BRepOffsetAPI_MakePipeShell produces rough result
1. Correct building history: the case of closed spine. 2. Rollback method GeomFill_CorrectedFrenet::InitInterval - correct processing singularities on spine. 3. Correct test cases.
This commit is contained in:
@@ -451,7 +451,12 @@ void BRepFill_LocationLaw::CurvilinearBounds(const Standard_Integer Index,
|
||||
|
||||
Standard_Boolean BRepFill_LocationLaw::IsClosed() const
|
||||
{
|
||||
return myPath.Closed();
|
||||
if (myPath.Closed())
|
||||
return Standard_True;
|
||||
|
||||
TopoDS_Vertex V1, V2;
|
||||
TopExp::Vertices(myPath, V1, V2);
|
||||
return (V1.IsSame(V2));
|
||||
}
|
||||
|
||||
//=======================================================================
|
||||
|
Reference in New Issue
Block a user