Open CASCADE Technology 7.8.0
|
Describes functions to build cylinders or portions of cylinders. A MakeCylinder object provides a framework for: More...
#include <BRepPrimAPI_MakeCylinder.hxx>
Public Member Functions | |
BRepPrimAPI_MakeCylinder (const Standard_Real R, const Standard_Real H) | |
Make a cylinder. | |
BRepPrimAPI_MakeCylinder (const Standard_Real R, const Standard_Real H, const Standard_Real Angle) | |
Make a cylinder (part cylinder). | |
BRepPrimAPI_MakeCylinder (const gp_Ax2 &Axes, const Standard_Real R, const Standard_Real H) | |
Make a cylinder of radius R and length H. | |
BRepPrimAPI_MakeCylinder (const gp_Ax2 &Axes, const Standard_Real R, const Standard_Real H, const Standard_Real Angle) | |
Make a cylinder of radius R and length H with angle H. Constructs. | |
Standard_Address | OneAxis () |
Returns the algorithm. | |
BRepPrim_Cylinder & | Cylinder () |
Returns the algorithm. | |
Public Member Functions inherited from BRepPrimAPI_MakeOneAxis | |
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 |
Describes functions to build cylinders or portions of cylinders. A MakeCylinder object provides a framework for:
BRepPrimAPI_MakeCylinder::BRepPrimAPI_MakeCylinder | ( | const Standard_Real | R, |
const Standard_Real | H | ||
) |
Make a cylinder.
R | [in] cylinder radius |
H | [in] cylinder height |
BRepPrimAPI_MakeCylinder::BRepPrimAPI_MakeCylinder | ( | const Standard_Real | R, |
const Standard_Real | H, | ||
const Standard_Real | Angle | ||
) |
Make a cylinder (part cylinder).
R | [in] cylinder radius |
H | [in] cylinder height |
Angle | [in] defines the missing portion of the cylinder |
BRepPrimAPI_MakeCylinder::BRepPrimAPI_MakeCylinder | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R, | ||
const Standard_Real | H | ||
) |
Make a cylinder of radius R and length H.
Axes | [in] coordinate system for the construction of the cylinder |
R | [in] cylinder radius |
H | [in] cylinder height |
BRepPrimAPI_MakeCylinder::BRepPrimAPI_MakeCylinder | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R, | ||
const Standard_Real | H, | ||
const Standard_Real | Angle | ||
) |
Make a cylinder of radius R and length H with angle H. Constructs.
BRepPrim_Cylinder & BRepPrimAPI_MakeCylinder::Cylinder | ( | ) |
Returns the algorithm.
|
virtual |
Returns the algorithm.
Implements BRepPrimAPI_MakeOneAxis.