Open CASCADE Technology 7.8.2.dev
Public Member Functions
BRepPrimAPI_MakeOneAxis Class Referenceabstract

The abstract class MakeOneAxis is the root class of algorithms used to construct rotational primitives. More...

#include <BRepPrimAPI_MakeOneAxis.hxx>

Inheritance diagram for BRepPrimAPI_MakeOneAxis:
Inheritance graph
[legend]

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_FaceFace ()
 Returns the lateral face of the rotational primitive.
 
 operator TopoDS_Face ()
 
const TopoDS_ShellShell ()
 Returns the constructed rotational primitive as a shell.
 
 operator TopoDS_Shell ()
 
const TopoDS_SolidSolid ()
 Returns the constructed rotational primitive as a solid.
 
 operator TopoDS_Solid ()
 
- Public Member Functions inherited from BRepBuilderAPI_MakeShape
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.
 

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
 

Detailed Description

The abstract class MakeOneAxis is the root class of algorithms used to construct rotational primitives.

Member Function Documentation

◆ Build()

virtual void BRepPrimAPI_MakeOneAxis::Build ( const Message_ProgressRange theRange = Message_ProgressRange())
overridevirtual

Stores the solid in myShape.

Reimplemented from BRepBuilderAPI_MakeShape.

◆ Face()

const TopoDS_Face & BRepPrimAPI_MakeOneAxis::Face ( )

Returns the lateral face of the rotational primitive.

◆ OneAxis()

virtual Standard_Address BRepPrimAPI_MakeOneAxis::OneAxis ( )
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.

◆ operator TopoDS_Face()

BRepPrimAPI_MakeOneAxis::operator TopoDS_Face ( )

◆ operator TopoDS_Shell()

BRepPrimAPI_MakeOneAxis::operator TopoDS_Shell ( )

◆ operator TopoDS_Solid()

BRepPrimAPI_MakeOneAxis::operator TopoDS_Solid ( )

◆ Shell()

const TopoDS_Shell & BRepPrimAPI_MakeOneAxis::Shell ( )

Returns the constructed rotational primitive as a shell.

◆ Solid()

const TopoDS_Solid & BRepPrimAPI_MakeOneAxis::Solid ( )

Returns the constructed rotational primitive as a solid.


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