Open CASCADE Technology  7.3.0
Public Member Functions | Protected Attributes

BRepLib_MakeSolid Class Reference

Makes a solid from compsolid or shells. More...

#include <BRepLib_MakeSolid.hxx>

Inheritance diagram for BRepLib_MakeSolid:
Inheritance graph
[legend]

Public Member Functions

 BRepLib_MakeSolid ()
 Solid covers whole space. More...
 
 BRepLib_MakeSolid (const TopoDS_CompSolid &S)
 Make a solid from a CompSolid. More...
 
 BRepLib_MakeSolid (const TopoDS_Shell &S)
 Make a solid from a shell. More...
 
 BRepLib_MakeSolid (const TopoDS_Shell &S1, const TopoDS_Shell &S2)
 Make a solid from two shells. More...
 
 BRepLib_MakeSolid (const TopoDS_Shell &S1, const TopoDS_Shell &S2, const TopoDS_Shell &S3)
 Make a solid from three shells. More...
 
 BRepLib_MakeSolid (const TopoDS_Solid &So)
 Make a solid from a solid. Usefull for adding later. More...
 
 BRepLib_MakeSolid (const TopoDS_Solid &So, const TopoDS_Shell &S)
 Add a shell to a solid. More...
 
void Add (const TopoDS_Shell &S)
 Add the shell to the current solid. More...
 
const TopoDS_SolidSolid ()
 Returns the new Solid. More...
 
 operator TopoDS_Solid ()
 
virtual BRepLib_ShapeModification FaceStatus (const TopoDS_Face &F) const override
 returns the status of the Face after the shape creation. More...
 
- Public Member Functions inherited from BRepLib_MakeShape
void Build ()
 This is called by Shape(). It does nothing but may be redefined. More...
 
const TopoDS_ShapeShape ()
 
 operator TopoDS_Shape ()
 
virtual Standard_Boolean HasDescendants (const TopoDS_Face &F) const
 Returns True if the Face generates new topology. More...
 
virtual const TopTools_ListOfShapeDescendantFaces (const TopoDS_Face &F)
 returns the list of generated Faces. More...
 
virtual Standard_Integer NbSurfaces () const
 returns the number of surfaces after the shape creation. More...
 
virtual const TopTools_ListOfShapeNewFaces (const Standard_Integer I)
 Return the faces created for surface I. More...
 
virtual const TopTools_ListOfShapeFacesFromEdges (const TopoDS_Edge &E)
 returns a list of the created faces from the edge <E>. More...
 
- Public Member Functions inherited from BRepLib_Command
virtual ~BRepLib_Command ()
 
Standard_Boolean IsDone () const
 
void Check () const
 Raises NotDone if done is false. More...
 

Protected Attributes

TopTools_ListOfShape myDeletedFaces
 
- Protected Attributes inherited from BRepLib_MakeShape
TopoDS_Shape myShape
 
TopTools_ListOfShape myGenFaces
 
TopTools_ListOfShape myNewFaces
 
TopTools_ListOfShape myEdgFaces
 

Additional Inherited Members

- Protected Member Functions inherited from BRepLib_MakeShape
 BRepLib_MakeShape ()
 
- Protected Member Functions inherited from BRepLib_Command
 BRepLib_Command ()
 Set done to False. More...
 
void Done ()
 Set done to true. More...
 
void NotDone ()
 Set done to false. More...
 

Detailed Description

Makes a solid from compsolid or shells.

Constructor & Destructor Documentation

◆ BRepLib_MakeSolid() [1/7]

BRepLib_MakeSolid::BRepLib_MakeSolid ( )

Solid covers whole space.

◆ BRepLib_MakeSolid() [2/7]

BRepLib_MakeSolid::BRepLib_MakeSolid ( const TopoDS_CompSolid S)

Make a solid from a CompSolid.

◆ BRepLib_MakeSolid() [3/7]

BRepLib_MakeSolid::BRepLib_MakeSolid ( const TopoDS_Shell S)

Make a solid from a shell.

◆ BRepLib_MakeSolid() [4/7]

BRepLib_MakeSolid::BRepLib_MakeSolid ( const TopoDS_Shell S1,
const TopoDS_Shell S2 
)

Make a solid from two shells.

◆ BRepLib_MakeSolid() [5/7]

BRepLib_MakeSolid::BRepLib_MakeSolid ( const TopoDS_Shell S1,
const TopoDS_Shell S2,
const TopoDS_Shell S3 
)

Make a solid from three shells.

◆ BRepLib_MakeSolid() [6/7]

BRepLib_MakeSolid::BRepLib_MakeSolid ( const TopoDS_Solid So)

Make a solid from a solid. Usefull for adding later.

◆ BRepLib_MakeSolid() [7/7]

BRepLib_MakeSolid::BRepLib_MakeSolid ( const TopoDS_Solid So,
const TopoDS_Shell S 
)

Add a shell to a solid.

Member Function Documentation

◆ Add()

void BRepLib_MakeSolid::Add ( const TopoDS_Shell S)

Add the shell to the current solid.

◆ FaceStatus()

virtual BRepLib_ShapeModification BRepLib_MakeSolid::FaceStatus ( const TopoDS_Face F) const
overridevirtual

returns the status of the Face after the shape creation.

Reimplemented from BRepLib_MakeShape.

◆ operator TopoDS_Solid()

BRepLib_MakeSolid::operator TopoDS_Solid ( )

◆ Solid()

const TopoDS_Solid& BRepLib_MakeSolid::Solid ( )

Returns the new Solid.

Field Documentation

◆ myDeletedFaces

TopTools_ListOfShape BRepLib_MakeSolid::myDeletedFaces
protected

The documentation for this class was generated from the following file: