Open CASCADE Technology
7.7.0
|
This class provides a tool for applying sewing algorithm from BRepBuilderAPI: it takes a shape, calls sewing for each shell, and then replaces sewed shells with use of ShapeBuild_ReShape. More...
#include <ShapeUpgrade_ShellSewing.hxx>
Public Member Functions | |
ShapeUpgrade_ShellSewing () | |
Creates a ShellSewing, empty. More... | |
TopoDS_Shape | ApplySewing (const TopoDS_Shape &shape, const Standard_Real tol=0.0) |
Builds a new shape from a former one, by calling Sewing from BRepBuilderAPI. Rebuilt solids are oriented to be "not infinite". More... | |
This class provides a tool for applying sewing algorithm from BRepBuilderAPI: it takes a shape, calls sewing for each shell, and then replaces sewed shells with use of ShapeBuild_ReShape.
ShapeUpgrade_ShellSewing::ShapeUpgrade_ShellSewing | ( | ) |
Creates a ShellSewing, empty.
TopoDS_Shape ShapeUpgrade_ShellSewing::ApplySewing | ( | const TopoDS_Shape & | shape, |
const Standard_Real | tol = 0.0 |
||
) |
Builds a new shape from a former one, by calling Sewing from BRepBuilderAPI. Rebuilt solids are oriented to be "not infinite".
If <tol> is not given (i.e. value 0. by default), it is computed as the mean tolerance recorded in <shape>
If no shell has been sewed, this method returns the input shape