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

ModelingAlgorithms
TKBool
TopOpeBRepTool


TopOpeBRepTool Class Reference

This package provides services used by the TopOpeBRep
package performing topological operations on the BRep
data structure.

.

#include <TopOpeBRepTool.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT Standard_Boolean PurgeClosingEdges (const TopoDS_Face &F, const TopoDS_Face &FF, const TopTools_DataMapOfShapeInteger &MWisOld, TopTools_IndexedMapOfOrientedShape &MshNOK)
 In case face <ff> is built on UV-non-connexed wires
(with the two closing edges FORWARD and REVERSED, in
spite of one only), we find out the faulty edge, add
the faulty shapes (edge,wire,face) to <mshnok>.
<ff> is a face descendant of <f>.
<mwisold>(wire) = 1 if wire is wire of <f>
0 wire results from <f>'s wire splitted.
returns false if purge fails
.
static Standard_EXPORT Standard_Boolean PurgeClosingEdges (const TopoDS_Face &F, const TopTools_ListOfShape &LOF, const TopTools_DataMapOfShapeInteger &MWisOld, TopTools_IndexedMapOfOrientedShape &MshNOK)
static Standard_EXPORT Standard_Boolean CorrectONUVISO (const TopoDS_Face &F, TopoDS_Face &Fsp)
static Standard_EXPORT Standard_Boolean MakeFaces (const TopoDS_Face &F, const TopTools_ListOfShape &LOF, const TopTools_IndexedMapOfOrientedShape &MshNOK, TopTools_ListOfShape &LOFF)
 Builds up the correct list of faces <loff> from <lof>, using
faulty shapes from map <mshnok>.
<lof> is the list of <f>'s descendant faces.
returns false if building fails
.
static Standard_EXPORT Standard_Boolean Regularize (const TopoDS_Face &aFace, TopTools_ListOfShape &aListOfFaces, TopTools_DataMapOfShapeListOfShape &ESplits)
 Returns <false> if the face is valid (the UV
representation of the face is a set of pcurves
connexed by points with connexity 2).
Else, splits <aface> in order to return a list of valid
faces.
.
static Standard_EXPORT Standard_Boolean RegularizeWires (const TopoDS_Face &aFace, TopTools_DataMapOfShapeListOfShape &OldWiresNewWires, TopTools_DataMapOfShapeListOfShape &ESplits)
 Returns <false> if the face is valid (the UV
representation of the face is a set of pcurves
connexed by points with connexity 2).
Else, splits wires of the face, these are boundaries of the
new faces to build up; <oldwiresnewwires> describes (wire,
splits of wire); <esplits> describes (edge, edge's splits)
.
static Standard_EXPORT Standard_Boolean RegularizeFace (const TopoDS_Face &aFace, const TopTools_DataMapOfShapeListOfShape &OldWiresnewWires, TopTools_ListOfShape &aListOfFaces)
 Classify wire's splits of map <oldwiresnewwires> in order to
compute <alistoffaces>, the splits of <aface>.
.
static Standard_EXPORT Standard_Boolean RegularizeShells (const TopoDS_Solid &aSolid, TopTools_DataMapOfShapeListOfShape &OldSheNewShe, TopTools_DataMapOfShapeListOfShape &FSplits)
 Returns <false> if the shell is valid (the solid is a set
of faces connexed by edges with connexity 2).
Else, splits faces of the shell; <oldfacesnewfaces> describes
(face, splits of face).
.
static Standard_EXPORT Standard_OStream & Print (const TopOpeBRepTool_OutCurveType OCT, Standard_OStream &S)
 Prints <oct> as string on stream <s>; returns <s>.
.


Member Function Documentation

static Standard_EXPORT Standard_Boolean TopOpeBRepTool::CorrectONUVISO const TopoDS_Face &  F,
TopoDS_Face &  Fsp
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepTool::MakeFaces const TopoDS_Face &  F,
const TopTools_ListOfShape &  LOF,
const TopTools_IndexedMapOfOrientedShape &  MshNOK,
TopTools_ListOfShape &  LOFF
[static]
 

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

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

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

static Standard_EXPORT Standard_OStream& TopOpeBRepTool::Print const TopOpeBRepTool_OutCurveType  OCT,
Standard_OStream &  S
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepTool::PurgeClosingEdges const TopoDS_Face &  F,
const TopTools_ListOfShape &  LOF,
const TopTools_DataMapOfShapeInteger &  MWisOld,
TopTools_IndexedMapOfOrientedShape &  MshNOK
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepTool::PurgeClosingEdges const TopoDS_Face &  F,
const TopoDS_Face &  FF,
const TopTools_DataMapOfShapeInteger &  MWisOld,
TopTools_IndexedMapOfOrientedShape &  MshNOK
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepTool::Regularize const TopoDS_Face &  aFace,
TopTools_ListOfShape &  aListOfFaces,
TopTools_DataMapOfShapeListOfShape &  ESplits
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepTool::RegularizeFace const TopoDS_Face &  aFace,
const TopTools_DataMapOfShapeListOfShape &  OldWiresnewWires,
TopTools_ListOfShape &  aListOfFaces
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepTool::RegularizeShells const TopoDS_Solid &  aSolid,
TopTools_DataMapOfShapeListOfShape &  OldSheNewShe,
TopTools_DataMapOfShapeListOfShape &  FSplits
[static]
 

static Standard_EXPORT Standard_Boolean TopOpeBRepTool::RegularizeWires const TopoDS_Face &  aFace,
TopTools_DataMapOfShapeListOfShape &  OldWiresNewWires,
TopTools_DataMapOfShapeListOfShape &  ESplits
[static]
 


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