Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes
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:
Inheritance graph
[legend]

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 bool HasDescendants (const TopoDS_Face &F) const
 Returns True if the Face generates new topology.
 
virtual const NCollection_List< TopoDS_Shape > & DescendantFaces (const TopoDS_Face &F)
 returns the list of generated Faces.
 
virtual int NbSurfaces () const
 returns the number of surfaces after the shape creation.
 
virtual const NCollection_List< TopoDS_Shape > & NewFaces (const int I)
 Return the faces created for surface I.
 
virtual const NCollection_List< TopoDS_Shape > & FacesFromEdges (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 ()
 
bool 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
 
NCollection_List< TopoDS_ShapemyGenFaces
 
NCollection_List< TopoDS_ShapemyNewFaces
 
NCollection_List< TopoDS_ShapemyEdgFaces
 

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 NCollection_List< TopoDS_Shape > & BRepLib_MakeShape::DescendantFaces ( const TopoDS_Face & F)
virtual

returns the list of generated Faces.

◆ FacesFromEdges()

virtual const NCollection_List< TopoDS_Shape > & 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 bool BRepLib_MakeShape::HasDescendants ( const TopoDS_Face & F) const
virtual

Returns True if the Face generates new topology.

◆ NbSurfaces()

virtual int BRepLib_MakeShape::NbSurfaces ( ) const
virtual

returns the number of surfaces after the shape creation.

◆ NewFaces()

virtual const NCollection_List< TopoDS_Shape > & BRepLib_MakeShape::NewFaces ( const int 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

NCollection_List<TopoDS_Shape> BRepLib_MakeShape::myEdgFaces
protected

◆ myGenFaces

NCollection_List<TopoDS_Shape> BRepLib_MakeShape::myGenFaces
protected

◆ myNewFaces

NCollection_List<TopoDS_Shape> BRepLib_MakeShape::myNewFaces
protected

◆ myShape

TopoDS_Shape BRepLib_MakeShape::myShape
protected

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