Open CASCADE Technology
7.5.0
|
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. More... | |
virtual void | Build () override |
Stores the solid in myShape. More... | |
const TopoDS_Face & | Face () |
Returns the lateral face of the rotational primitive. More... | |
operator TopoDS_Face () | |
const TopoDS_Shell & | Shell () |
Returns the constructed rotational primitive as a shell. More... | |
operator TopoDS_Shell () | |
const TopoDS_Solid & | Solid () |
Returns the constructed rotational primitive as a solid. More... | |
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. More... | |
operator TopoDS_Shape () | |
virtual const TopTools_ListOfShape & | Generated (const TopoDS_Shape &S) |
Returns the list of shapes generated from the shape <S>. More... | |
virtual const TopTools_ListOfShape & | Modified (const TopoDS_Shape &S) |
Returns the list of shapes modified from the shape <S>. More... | |
virtual Standard_Boolean | IsDeleted (const TopoDS_Shape &S) |
Returns true if the shape S has been deleted. More... | |
Public Member Functions inherited from BRepBuilderAPI_Command | |
virtual | ~BRepBuilderAPI_Command () |
virtual Standard_Boolean | IsDone () const |
void | Check () const |
Raises NotDone if done is false. More... | |
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. More... | |
void | Done () |
Set done to true. More... | |
void | NotDone () |
Set done to false. More... | |
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_MakeSphere, BRepPrimAPI_MakeTorus, BRepPrimAPI_MakeCone, BRepPrimAPI_MakeCylinder, and BRepPrimAPI_MakeRevolution.
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.