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

ModelingData
TKBRep
TopoDS


TopoDS_Builder Class Reference

A Builder is used to create Topological Data
Structures.

There are three groups of methods in the Builder :

The Make methods create Shapes.

The Add method includes a Shape in another Shape.

The Remove method removes a Shape from an other
Shape.

The methods in Builder are not static. They can be
redefined in inherited builders.
.

#include <TopoDS_Builder.hxx>

Inheritance diagram for TopoDS_Builder:

Inheritance graph
[legend]

Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT void MakeWire (TopoDS_Wire &W) const
 Make an empty Wire.
.
Standard_EXPORT void MakeCompound (TopoDS_Compound &C) const
 Make an empty Compound.
.
Standard_EXPORT void Add (TopoDS_Shape &S, const TopoDS_Shape &C) const
 Add the Shape C in the Shape S.
Exceptions
- TopoDS_FrozenShape if S is not free and cannot be modified.
- TopoDS__UnCompatibleShapes if S and C are not compatible.
.
Standard_EXPORT void Remove (TopoDS_Shape &S, const TopoDS_Shape &C) const
 Remove the Shape C from the Shape S.
Exceptions
TopoDS_FrozenShape if S is frozen and cannot be modified.
.

Protected Member Functions

Standard_EXPORT TopoDS_Builder ()
 The Builder will build Shapes with the model <m>.
.
Standard_EXPORT void MakeShape (TopoDS_Shape &S, const Handle(TopoDS_TShape)&T) const
 The basic method to make a Shape, used by all the
Make methods.
.

Constructor & Destructor Documentation

Standard_EXPORT TopoDS_Builder::TopoDS_Builder  )  [protected]
 


Member Function Documentation

Standard_EXPORT void TopoDS_Builder::Add TopoDS_Shape S,
const TopoDS_Shape C
const
 

Standard_EXPORT void TopoDS_Builder::MakeCompound TopoDS_Compound C  )  const
 

Standard_EXPORT void TopoDS_Builder::MakeShape TopoDS_Shape S,
const Handle(TopoDS_TShape)&  T
const [protected]
 

Standard_EXPORT void TopoDS_Builder::MakeWire TopoDS_Wire W  )  const
 

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

Reimplemented in BRep_Builder, and TopoDS_Builder3D.

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

Reimplemented in BRep_Builder, and TopoDS_Builder3D.

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

Reimplemented in BRep_Builder, and TopoDS_Builder3D.

Standard_EXPORT void TopoDS_Builder::Remove TopoDS_Shape S,
const TopoDS_Shape C
const
 


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