Open CASCADE Technology 7.9.1
BRepBuilderAPI_MakeShape Class Reference

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

#include <BRepBuilderAPI_MakeShape.hxx>

Inheritance diagram for BRepBuilderAPI_MakeShape:

Public Member Functions

virtual void Build (const Message_ProgressRange &theRange=Message_ProgressRange())
 This is called by Shape(). It does nothing but may be redefined.
virtual const TopoDS_ShapeShape ()
 Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.
 operator TopoDS_Shape ()
virtual const TopTools_ListOfShapeGenerated (const TopoDS_Shape &S)
 Returns the list of shapes generated from the shape .
virtual const TopTools_ListOfShapeModified (const TopoDS_Shape &S)
 Returns the list of shapes modified from the shape .
virtual Standard_Boolean IsDeleted (const TopoDS_Shape &S)
 Returns true if the shape S has been deleted.
Public Member Functions inherited from BRepBuilderAPI_Command
virtual ~BRepBuilderAPI_Command ()
virtual Standard_Boolean IsDone () const
void Check () const
 Raises NotDone if done is false.

Protected Member Functions

 BRepBuilderAPI_MakeShape ()
Protected Member Functions inherited from BRepBuilderAPI_Command
 BRepBuilderAPI_Command ()
 Set done to False.
void Done ()
 Set done to true.
void NotDone ()
 Set done to false.

Protected Attributes

TopoDS_Shape myShape
TopTools_ListOfShape myGenerated

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

◆ BRepBuilderAPI_MakeShape()

BRepBuilderAPI_MakeShape::BRepBuilderAPI_MakeShape ( )
protected

Member Function Documentation

◆ Build()

◆ Generated()

◆ IsDeleted()

◆ Modified()

◆ operator TopoDS_Shape()

BRepBuilderAPI_MakeShape::operator TopoDS_Shape ( )

◆ Shape()

virtual const TopoDS_Shape & BRepBuilderAPI_MakeShape::Shape ( )
virtual

Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built.

Reimplemented in BRepAlgoAPI_Algo.

Field Documentation

◆ myGenerated

TopTools_ListOfShape BRepBuilderAPI_MakeShape::myGenerated
protected

◆ myShape

TopoDS_Shape BRepBuilderAPI_MakeShape::myShape
protected

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