1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-26 10:19:45 +03:00
occt/src/BRepFill/BRepFill_Section.lxx
jgv 833e75611f 0029204: BRepOffsetAPI_MakePipeShell produces invalid result and raises exception in Draw
1.The algorithm searching the section in the corner (ChooseSection) is modified to be able to find simple cases with rather big tolerance.

2. The constructor of BRepFill_Section is modified: now it removes locations in the shape of section like it was done in BRepFill_Pipe.

3. Correction of U-edges by Same Parameter has been added to the method BRepFill_Sweep::Build.
2017-11-14 15:57:57 +03:00

52 lines
1.3 KiB
Plaintext

// Created on: 1998-07-22
// Created by: Philippe MANGIN
// Copyright (c) 1998-1999 Matra Datavision
// Copyright (c) 1999-2014 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as published
// by the Free Software Foundation, with special exception defined in the file
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
// distribution for complete text of the license and disclaimer of any warranty.
//
// Alternatively, this file may be used under the terms of Open CASCADE
// commercial license or contractual agreement.
inline const TopoDS_Shape& BRepFill_Section::OriginalShape() const
{
return myOriginalShape;
}
inline const TopoDS_Wire& BRepFill_Section::Wire() const
{
return wire;
}
inline const TopoDS_Vertex& BRepFill_Section::Vertex() const
{
return vertex;
}
inline Standard_Boolean BRepFill_Section::IsLaw() const
{
return islaw;
}
inline Standard_Boolean BRepFill_Section::IsPunctual() const
{
return ispunctual;
}
inline Standard_Boolean BRepFill_Section::WithContact() const
{
return contact;
}
inline Standard_Boolean BRepFill_Section::WithCorrection() const
{
return correction;
}