OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKShHealing
ShapeUpgrade


ShapeUpgrade_ShellSewing Class Reference

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

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT ShapeUpgrade_ShellSewing ()
 Creates a ShellSewing, empty
.
Standard_EXPORT 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
.

Private Member Functions

Standard_EXPORT void Init (const TopoDS_Shape &shape)
Standard_EXPORT Standard_Integer Prepare (const Standard_Real tol)
Standard_EXPORT TopoDS_Shape Apply (const TopoDS_Shape &shape, const Standard_Real tol)

Private Attributes

TopTools_IndexedMapOfShape myShells
Handle_ShapeBuild_ReShape myReShape


Constructor & Destructor Documentation

Standard_EXPORT ShapeUpgrade_ShellSewing::ShapeUpgrade_ShellSewing  ) 
 


Member Function Documentation

Standard_EXPORT TopoDS_Shape ShapeUpgrade_ShellSewing::Apply const TopoDS_Shape &  shape,
const Standard_Real  tol
[private]
 

Standard_EXPORT TopoDS_Shape ShapeUpgrade_ShellSewing::ApplySewing const TopoDS_Shape &  shape,
const Standard_Real  tol = 0.0
 

Standard_EXPORT void ShapeUpgrade_ShellSewing::Init const TopoDS_Shape &  shape  )  [private]
 

void ShapeUpgrade_ShellSewing::operator delete void *  anAddress  )  [inline]
 

void* ShapeUpgrade_ShellSewing::operator new size_t  size  )  [inline]
 

void* ShapeUpgrade_ShellSewing::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT Standard_Integer ShapeUpgrade_ShellSewing::Prepare const Standard_Real  tol  )  [private]
 


Field Documentation

Handle_ShapeBuild_ReShape ShapeUpgrade_ShellSewing::myReShape [private]
 

TopTools_IndexedMapOfShape ShapeUpgrade_ShellSewing::myShells [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:48 2008 for OpenCASCADE by  doxygen 1.4.1