Open CASCADE Technology  7.7.0.dev
Public Member Functions

ShapeUpgrade_ShellSewing Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ShapeUpgrade_ShellSewing()

ShapeUpgrade_ShellSewing::ShapeUpgrade_ShellSewing ( )

Creates a ShellSewing, empty.

Member Function Documentation

◆ ApplySewing()

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


The documentation for this class was generated from the following file: