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

ModelingAlgorithms
TKTopAlgo
BRepBuilderAPI


BRepBuilderAPI_MakeSolid Class Reference

Describes functions to build a solid from shells.
A solid is made of one shell, or a series of shells, which
do not intersect each other. One of these shells
constitutes the outside skin of the solid. It may be closed
(a finite solid) or open (an infinite solid). Other shells
form hollows (cavities) in these previous ones. Each
must bound a closed volume.
A MakeSolid object provides a framework for:
- defining and implementing the construction of a solid, and
- consulting the result.
.

#include <BRepBuilderAPI_MakeSolid.hxx>

Inheritance diagram for BRepBuilderAPI_MakeSolid:

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 BRepBuilderAPI_MakeSolid ()
 Initializes the construction of a solid. An empty solid is
considered to cover the whole space. The Add function
is used to define shells to bound it.
.
Standard_EXPORT BRepBuilderAPI_MakeSolid (const TopoDS_CompSolid &S)
 Make a solid from a CompSolid.
.
Standard_EXPORT BRepBuilderAPI_MakeSolid (const TopoDS_Shell &S)
 Make a solid from a shell.
.
Standard_EXPORT BRepBuilderAPI_MakeSolid (const TopoDS_Shell &S1, const TopoDS_Shell &S2)
 Make a solid from two shells.
.
Standard_EXPORT BRepBuilderAPI_MakeSolid (const TopoDS_Shell &S1, const TopoDS_Shell &S2, const TopoDS_Shell &S3)
 Make a solid from three shells.
//! Constructs a solid
- covering the whole space, or
- from shell S, or
- from two shells S1 and S2, or
- from three shells S1, S2 and S3, or
Warning
No check is done to verify the conditions of coherence
of the resulting solid. In particular, S1, S2 (and S3) must
not intersect each other.
Besides, after all shells have been added using the Add
function, one of these shells should constitute the outside
skin of the solid; it may be closed (a finite solid) or open
(an infinite solid). Other shells form hollows (cavities) in
these previous ones. Each must bound a closed volume.
.
Standard_EXPORT BRepBuilderAPI_MakeSolid (const TopoDS_Solid &So)
 Make a solid from a solid. Usefull for adding later.
.
Standard_EXPORT BRepBuilderAPI_MakeSolid (const TopoDS_Solid &So, const TopoDS_Shell &S)
 Add a shell to a solid.
Constructs a solid:
- from the solid So, to which shells can be added, or
- by adding the shell S to the solid So.
Warning
No check is done to verify the conditions of coherence
of the resulting solid. In particular S must not intersect the solid S0.
Besides, after all shells have been added using the Add
function, one of these shells should constitute the outside
skin of the solid. It may be closed (a finite solid) or open
(an infinite solid). Other shells form hollows (cavities) in
the previous ones. Each must bound a closed volume.
.
Standard_EXPORT void Add (const TopoDS_Shell &S)
 Adds the shell to the current solid.
Warning
No check is done to verify the conditions of coherence
of the resulting solid. In particular, S must not intersect
other shells of the solid under construction.
Besides, after all shells have been added, one of
these shells should constitute the outside skin of the
solid. It may be closed (a finite solid) or open (an
infinite solid). Other shells form hollows (cavities) in
these previous ones. Each must bound a closed volume.
.
virtual Standard_EXPORT Standard_Boolean IsDone () const
 Returns true if the solid is built.
For this class, a solid under construction is always valid.
If no shell has been added, it could be a whole-space
solid. However, no check was done to verify the
conditions of coherence of the resulting solid.
.
Standard_EXPORT const TopoDS_Solid & Solid () const
 Returns the new Solid.

.
Standard_EXPORT operator TopoDS_Solid () const
virtual Standard_EXPORT Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns true if the shape S has been deleted.
.

Private Attributes

BRepLib_MakeSolid myMakeSolid

Constructor & Destructor Documentation

Standard_EXPORT BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid  ) 
 

Standard_EXPORT BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid const TopoDS_CompSolid &  S  ) 
 

Standard_EXPORT BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid const TopoDS_Shell &  S  ) 
 

Standard_EXPORT BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid const TopoDS_Shell &  S1,
const TopoDS_Shell &  S2
 

Standard_EXPORT BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid const TopoDS_Shell &  S1,
const TopoDS_Shell &  S2,
const TopoDS_Shell &  S3
 

Standard_EXPORT BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid const TopoDS_Solid &  So  ) 
 

Standard_EXPORT BRepBuilderAPI_MakeSolid::BRepBuilderAPI_MakeSolid const TopoDS_Solid &  So,
const TopoDS_Shell &  S
 


Member Function Documentation

Standard_EXPORT void BRepBuilderAPI_MakeSolid::Add const TopoDS_Shell &  S  ) 
 

virtual Standard_EXPORT Standard_Boolean BRepBuilderAPI_MakeSolid::IsDeleted const TopoDS_Shape &  S  )  [virtual]
 

Reimplemented from BRepBuilderAPI_MakeShape.

virtual Standard_EXPORT Standard_Boolean BRepBuilderAPI_MakeSolid::IsDone  )  const [virtual]
 

Reimplemented from BRepBuilderAPI_Command.

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

Reimplemented from BRepBuilderAPI_MakeShape.

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

Reimplemented from BRepBuilderAPI_MakeShape.

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

Reimplemented from BRepBuilderAPI_MakeShape.

Standard_EXPORT BRepBuilderAPI_MakeSolid::operator TopoDS_Solid  )  const
 

Standard_EXPORT const TopoDS_Solid& BRepBuilderAPI_MakeSolid::Solid  )  const
 


Field Documentation

BRepLib_MakeSolid BRepBuilderAPI_MakeSolid::myMakeSolid [private]
 


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