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

ModelingAlgorithms
TKShHealing
ShapeFix


ShapeFix_FreeBounds Class Reference

This class is intended to output free bounds of the shape
(free bounds are the wires consisting of edges referenced by the
only face).
For building free bounds it uses ShapeAnalysis_FreeBounds class.
This class complements it with the feature to reduce the number
of open wires.
This reduction is performed with help of connecting several
adjacent open wires one to another what can lead to:
1. making an open wire with greater length out of several
open wires
2. making closed wire out of several open wires
.

#include <ShapeFix_FreeBounds.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT ShapeFix_FreeBounds ()
 Empty constructor
.
Standard_EXPORT ShapeFix_FreeBounds (const TopoDS_Shape &shape, const Standard_Real sewtoler, const Standard_Real closetoler, const Standard_Boolean splitclosed, const Standard_Boolean splitopen)
 Builds forecasting free bounds of the <shape> and connects
open wires with tolerance <closetoler>.
<shape> should be a compound of faces.
Tolerance <closetoler> should be greater than tolerance
<sewtoler> used for initializing sewing analyzer, otherwise
connection of open wires is not performed.
.
Standard_EXPORT ShapeFix_FreeBounds (const TopoDS_Shape &shape, const Standard_Real closetoler, const Standard_Boolean splitclosed, const Standard_Boolean splitopen)
 Builds actual free bounds of the <shape> and connects
open wires with tolerance <closetoler>.
<shape> should be a compound of shells.
.
const TopoDS_Compound & GetClosedWires () const
 Returns compound of closed wires out of free edges.
.
const TopoDS_Compound & GetOpenWires () const
 Returns compound of open wires out of free edges.
.
const TopoDS_Shape & GetShape () const
 Returns modified source shape.
.

Private Member Functions

Standard_EXPORT Standard_Boolean Perform ()

Private Attributes

TopoDS_Compound myWires
TopoDS_Compound myEdges
TopoDS_Shape myShape
Standard_Boolean myShared
Standard_Real mySewToler
Standard_Real myCloseToler
Standard_Boolean mySplitClosed
Standard_Boolean mySplitOpen


Constructor & Destructor Documentation

Standard_EXPORT ShapeFix_FreeBounds::ShapeFix_FreeBounds  ) 
 

Standard_EXPORT ShapeFix_FreeBounds::ShapeFix_FreeBounds const TopoDS_Shape &  shape,
const Standard_Real  sewtoler,
const Standard_Real  closetoler,
const Standard_Boolean  splitclosed,
const Standard_Boolean  splitopen
 

Standard_EXPORT ShapeFix_FreeBounds::ShapeFix_FreeBounds const TopoDS_Shape &  shape,
const Standard_Real  closetoler,
const Standard_Boolean  splitclosed,
const Standard_Boolean  splitopen
 


Member Function Documentation

const TopoDS_Compound & ShapeFix_FreeBounds::GetClosedWires  )  const [inline]
 

const TopoDS_Compound & ShapeFix_FreeBounds::GetOpenWires  )  const [inline]
 

const TopoDS_Shape & ShapeFix_FreeBounds::GetShape  )  const [inline]
 

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

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

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

Standard_EXPORT Standard_Boolean ShapeFix_FreeBounds::Perform  )  [private]
 


Field Documentation

Standard_Real ShapeFix_FreeBounds::myCloseToler [private]
 

TopoDS_Compound ShapeFix_FreeBounds::myEdges [private]
 

Standard_Real ShapeFix_FreeBounds::mySewToler [private]
 

TopoDS_Shape ShapeFix_FreeBounds::myShape [private]
 

Standard_Boolean ShapeFix_FreeBounds::myShared [private]
 

Standard_Boolean ShapeFix_FreeBounds::mySplitClosed [private]
 

Standard_Boolean ShapeFix_FreeBounds::mySplitOpen [private]
 

TopoDS_Compound ShapeFix_FreeBounds::myWires [private]
 


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