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

ModelingAlgorithms
TKFeat
LocOpe


LocOpe_SplitShape Class Reference

Provides a tool to cut :
- edges with a vertices,
- faces with wires,
and rebuilds the shape containing the edges and
the faces.
.

#include <LocOpe_SplitShape.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
 LocOpe_SplitShape ()
 Empty constructor.
.
 LocOpe_SplitShape (const TopoDS_Shape &S)
 Creates the process with the shape <s>.
.
Standard_EXPORT void Init (const TopoDS_Shape &S)
 Initializes the process on the shape <s>.
.
Standard_EXPORT Standard_Boolean CanSplit (const TopoDS_Edge &E) const
 Tests if it is possible to split the edge <e>.
.
Standard_EXPORT void Add (const TopoDS_Vertex &V, const Standard_Real P, const TopoDS_Edge &E)
 Adds the vertex <v> on the edge <e>, at parameter

.
.

Standard_EXPORT void Add (const TopoDS_Wire &W, const TopoDS_Face &F)
 Adds the wire <w> on the face <f>.
.
const TopoDS_Shape & Shape () const
 Returns the "original" shape.
.
Standard_EXPORT const TopTools_ListOfShape & DescendantShapes (const TopoDS_Shape &S)
 Returns the list of descendant shapes of <s>.
.
Standard_EXPORT const TopTools_ListOfShape & LeftOf (const TopoDS_Wire &W, const TopoDS_Face &F)
 Returns the "left" part defined by the wire <w> on
the face <f>. The returned list of shape is in
fact a list of faces. The face <f> is considered
with its topological orientation in the original
shape. <w> is considered with its orientation.
.

Private Member Functions

Standard_EXPORT void AddOpenWire (const TopoDS_Wire &W, const TopoDS_Face &F)
Standard_EXPORT void AddClosedWire (const TopoDS_Wire &W, const TopoDS_Face &F)
Standard_EXPORT void Put (const TopoDS_Shape &S)
Standard_EXPORT Standard_Boolean Rebuild (const TopoDS_Shape &S)

Private Attributes

Standard_Boolean myDone
TopoDS_Shape myShape
TopTools_DataMapOfShapeListOfShape myMap
TopTools_MapOfShape myDblE
TopTools_ListOfShape myLeft


Constructor & Destructor Documentation

LocOpe_SplitShape::LocOpe_SplitShape  )  [inline]
 

LocOpe_SplitShape::LocOpe_SplitShape const TopoDS_Shape &  S  )  [inline]
 


Member Function Documentation

Standard_EXPORT void LocOpe_SplitShape::Add const TopoDS_Wire &  W,
const TopoDS_Face &  F
 

Standard_EXPORT void LocOpe_SplitShape::Add const TopoDS_Vertex &  V,
const Standard_Real  P,
const TopoDS_Edge &  E
 

Standard_EXPORT void LocOpe_SplitShape::AddClosedWire const TopoDS_Wire &  W,
const TopoDS_Face &  F
[private]
 

Standard_EXPORT void LocOpe_SplitShape::AddOpenWire const TopoDS_Wire &  W,
const TopoDS_Face &  F
[private]
 

Standard_EXPORT Standard_Boolean LocOpe_SplitShape::CanSplit const TopoDS_Edge &  E  )  const
 

Standard_EXPORT const TopTools_ListOfShape& LocOpe_SplitShape::DescendantShapes const TopoDS_Shape &  S  ) 
 

Standard_EXPORT void LocOpe_SplitShape::Init const TopoDS_Shape &  S  ) 
 

Standard_EXPORT const TopTools_ListOfShape& LocOpe_SplitShape::LeftOf const TopoDS_Wire &  W,
const TopoDS_Face &  F
 

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

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

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

Standard_EXPORT void LocOpe_SplitShape::Put const TopoDS_Shape &  S  )  [private]
 

Standard_EXPORT Standard_Boolean LocOpe_SplitShape::Rebuild const TopoDS_Shape &  S  )  [private]
 

const TopoDS_Shape & LocOpe_SplitShape::Shape  )  const [inline]
 


Field Documentation

TopTools_MapOfShape LocOpe_SplitShape::myDblE [private]
 

Standard_Boolean LocOpe_SplitShape::myDone [private]
 

TopTools_ListOfShape LocOpe_SplitShape::myLeft [private]
 

TopTools_DataMapOfShapeListOfShape LocOpe_SplitShape::myMap [private]
 

TopoDS_Shape LocOpe_SplitShape::myShape [private]
 


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