Open CASCADE Technology 7.8.2.dev
|
The abstract class MakeOneAxis is the root class of algorithms used to construct rotational primitives. More...
#include <BRepPrimAPI_MakeOneAxis.hxx>
Public Member Functions | |
virtual Standard_Address | OneAxis ()=0 |
The inherited commands should provide the algorithm. Returned as a pointer. | |
virtual void | Build (const Message_ProgressRange &theRange=Message_ProgressRange()) override |
Stores the solid in myShape. | |
const TopoDS_Face & | Face () |
Returns the lateral face of the rotational primitive. | |
operator TopoDS_Face () | |
const TopoDS_Shell & | Shell () |
Returns the constructed rotational primitive as a shell. | |
operator TopoDS_Shell () | |
const TopoDS_Solid & | Solid () |
Returns the constructed rotational primitive as a solid. | |
operator TopoDS_Solid () | |
Public Member Functions inherited from BRepBuilderAPI_MakeShape | |
virtual const TopoDS_Shape & | Shape () |
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_ListOfShape & | Generated (const TopoDS_Shape &S) |
Returns the list of shapes generated from the shape | |
virtual const TopTools_ListOfShape & | Modified (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. | |
Additional Inherited Members | |
Protected Member Functions inherited from BRepBuilderAPI_MakeShape | |
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 inherited from BRepBuilderAPI_MakeShape | |
TopoDS_Shape | myShape |
TopTools_ListOfShape | myGenerated |
The abstract class MakeOneAxis is the root class of algorithms used to construct rotational primitives.
|
overridevirtual |
Stores the solid in myShape.
Reimplemented from BRepBuilderAPI_MakeShape.
const TopoDS_Face & BRepPrimAPI_MakeOneAxis::Face | ( | ) |
Returns the lateral face of the rotational primitive.
|
pure virtual |
The inherited commands should provide the algorithm. Returned as a pointer.
Implemented in BRepPrimAPI_MakeCone, BRepPrimAPI_MakeCylinder, BRepPrimAPI_MakeRevolution, BRepPrimAPI_MakeSphere, and BRepPrimAPI_MakeTorus.
BRepPrimAPI_MakeOneAxis::operator TopoDS_Face | ( | ) |
BRepPrimAPI_MakeOneAxis::operator TopoDS_Shell | ( | ) |
BRepPrimAPI_MakeOneAxis::operator TopoDS_Solid | ( | ) |
const TopoDS_Shell & BRepPrimAPI_MakeOneAxis::Shell | ( | ) |
Returns the constructed rotational primitive as a shell.
const TopoDS_Solid & BRepPrimAPI_MakeOneAxis::Solid | ( | ) |
Returns the constructed rotational primitive as a solid.