Open CASCADE Technology  7.5.0
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. More...
 
virtual void Build () override
 Stores the solid in myShape. More...
 
const TopoDS_FaceFace ()
 Returns the lateral face of the rotational primitive. More...
 
 operator TopoDS_Face ()
 
const TopoDS_ShellShell ()
 Returns the constructed rotational primitive as a shell. More...
 
 operator TopoDS_Shell ()
 
const TopoDS_SolidSolid ()
 Returns the constructed rotational primitive as a solid. More...
 
 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. More...
 
 operator TopoDS_Shape ()
 
virtual const TopTools_ListOfShapeGenerated (const TopoDS_Shape &S)
 Returns the list of shapes generated from the shape <S>. More...
 
virtual const TopTools_ListOfShapeModified (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
 

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 ( )
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_MakeSphere, BRepPrimAPI_MakeTorus, BRepPrimAPI_MakeCone, BRepPrimAPI_MakeCylinder, and BRepPrimAPI_MakeRevolution.

◆ 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: