Open CASCADE Technology
6.5.4
|
This class provides a tool for applying sewing algorithm from
BRepAlgo: it takes a shape, calls sewing for each shell,
and then replaces sewed shells with use of ShapeBuild_ReShape
#include <ShapeUpgrade_ShellSewing.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | ShapeUpgrade_ShellSewing () |
Creates a ShellSewing, empty | |
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 BRepOffsetAPI. 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 |
TopoDS_Shape ShapeUpgrade_ShellSewing::ApplySewing | ( | const TopoDS_Shape & | shape, |
const Standard_Real | tol = 0.0 |
||
) |