Open CASCADE Technology 7.8.2.dev
BRepLib_MakeShape Class Reference

This is the root class for all shape constructions. It stores the result. More...

#include <BRepLib_MakeShape.hxx>

Inheritance diagram for BRepLib_MakeShape:

Public Member Functions

void Build ()
 This is called by Shape(). It does nothing but may be redefined.
 
const TopoDS_ShapeShape ()
 
 operator TopoDS_Shape ()
 
virtual BRepLib_ShapeModification FaceStatus (const TopoDS_Face &F) const
 returns the status of the Face after the shape creation.
 
virtual Standard_Boolean HasDescendants (const TopoDS_Face &F) const
 Returns True if the Face generates new topology.
 
virtual const TopTools_ListOfShapeDescendantFaces (const TopoDS_Face &F)
 returns the list of generated Faces.
 
virtual Standard_Integer NbSurfaces () const
 returns the number of surfaces after the shape creation.
 
virtual const TopTools_ListOfShapeNewFaces (const Standard_Integer I)
 Return the faces created for surface I.
 
virtual const TopTools_ListOfShapeFacesFromEdges (const TopoDS_Edge &E)
 returns a list of the created faces from the edge <E>.
 
- Public Member Functions inherited from BRepLib_Command
virtual ~BRepLib_Command ()
 
Standard_Boolean IsDone () const
 
void Check () const
 Raises NotDone if done is false.
 

Protected Member Functions

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

Protected Attributes

TopoDS_Shape myShape
 
TopTools_ListOfShape myGenFaces
 
TopTools_ListOfShape myNewFaces
 
TopTools_ListOfShape myEdgFaces
 

Detailed Description

This is the root class for all shape constructions. It stores the result.

It provides deferred methods to trace the history of sub-shapes.

Constructor & Destructor Documentation

◆ BRepLib_MakeShape()

BRepLib_MakeShape::BRepLib_MakeShape ( )
protected

Member Function Documentation

◆ Build()

void BRepLib_MakeShape::Build ( )

This is called by Shape(). It does nothing but may be redefined.

◆ DescendantFaces()

virtual const TopTools_ListOfShape & BRepLib_MakeShape::DescendantFaces ( const TopoDS_Face & F)
virtual

returns the list of generated Faces.

◆ FacesFromEdges()

virtual const TopTools_ListOfShape & BRepLib_MakeShape::FacesFromEdges ( const TopoDS_Edge & E)
virtual

returns a list of the created faces from the edge <E>.

◆ FaceStatus()

virtual BRepLib_ShapeModification BRepLib_MakeShape::FaceStatus ( const TopoDS_Face & F) const
virtual

returns the status of the Face after the shape creation.

Reimplemented in BRepLib_MakeSolid.

◆ HasDescendants()

virtual Standard_Boolean BRepLib_MakeShape::HasDescendants ( const TopoDS_Face & F) const
virtual

Returns True if the Face generates new topology.

◆ NbSurfaces()

virtual Standard_Integer BRepLib_MakeShape::NbSurfaces ( ) const
virtual

returns the number of surfaces after the shape creation.

◆ NewFaces()

virtual const TopTools_ListOfShape & BRepLib_MakeShape::NewFaces ( const Standard_Integer I)
virtual

Return the faces created for surface I.

◆ operator TopoDS_Shape()

BRepLib_MakeShape::operator TopoDS_Shape ( )

◆ Shape()

const TopoDS_Shape & BRepLib_MakeShape::Shape ( )

Field Documentation

◆ myEdgFaces

TopTools_ListOfShape BRepLib_MakeShape::myEdgFaces
protected

◆ myGenFaces

TopTools_ListOfShape BRepLib_MakeShape::myGenFaces
protected

◆ myNewFaces

TopTools_ListOfShape BRepLib_MakeShape::myNewFaces
protected

◆ myShape

TopoDS_Shape BRepLib_MakeShape::myShape
protected

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