Open CASCADE Technology
6.9.1
|
Describes functions to build cones or portions of cones. A MakeCone object provides a framework for: More...
#include <BRepPrimAPI_MakeCone.hxx>
Public Member Functions | |
BRepPrimAPI_MakeCone (const Standard_Real R1, const Standard_Real R2, const Standard_Real H) | |
Make a cone of height H radius R1 in the plane z = 0, R2 in the plane Z = H. R1 and R2 may be null. More... | |
BRepPrimAPI_MakeCone (const Standard_Real R1, const Standard_Real R2, const Standard_Real H, const Standard_Real angle) | |
Make a cone of height H radius R1 in the plane z = 0, R2 in the plane Z = H. R1 and R2 may be null. Take a section of <angle> More... | |
BRepPrimAPI_MakeCone (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real H) | |
Make a cone of height H radius R1 in the plane z = 0, R2 in the plane Z = H. R1 and R2 may be null. More... | |
BRepPrimAPI_MakeCone (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real H, const Standard_Real angle) | |
Make a cone of height H radius R1 in the plane z = 0, R2 in the plane Z = H. R1 and R2 may be null. Take a section of <angle> Constructs a cone, or a portion of a cone, of height H, and radius R1 in the plane z = 0 and R2 in the plane z = H. The result is a sharp cone if R1 or R2 is equal to 0. The cone is constructed about the "Z Axis" of either: More... | |
Standard_Address | OneAxis () |
Returns the algorithm. More... | |
BRepPrim_Cone & | Cone () |
Returns the algorithm. More... | |
Public Member Functions inherited from BRepPrimAPI_MakeOneAxis | |
virtual void | Build () |
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 void | Delete () |
virtual | ~BRepBuilderAPI_MakeShape () |
virtual const TopoDS_Shape & | Shape () const |
Returns a shape built by the shape construction algorithm. Raises exception StdFail_NotDone if the shape was not built. More... | |
operator TopoDS_Shape () const | |
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 |
Describes functions to build cones or portions of cones. A MakeCone object provides a framework for:
BRepPrimAPI_MakeCone::BRepPrimAPI_MakeCone | ( | const Standard_Real | R1, |
const Standard_Real | R2, | ||
const Standard_Real | H | ||
) |
Make a cone of height H radius R1 in the plane z = 0, R2 in the plane Z = H. R1 and R2 may be null.
BRepPrimAPI_MakeCone::BRepPrimAPI_MakeCone | ( | const Standard_Real | R1, |
const Standard_Real | R2, | ||
const Standard_Real | H, | ||
const Standard_Real | angle | ||
) |
Make a cone of height H radius R1 in the plane z = 0, R2 in the plane Z = H. R1 and R2 may be null. Take a section of <angle>
BRepPrimAPI_MakeCone::BRepPrimAPI_MakeCone | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R1, | ||
const Standard_Real | R2, | ||
const Standard_Real | H | ||
) |
Make a cone of height H radius R1 in the plane z = 0, R2 in the plane Z = H. R1 and R2 may be null.
BRepPrimAPI_MakeCone::BRepPrimAPI_MakeCone | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R1, | ||
const Standard_Real | R2, | ||
const Standard_Real | H, | ||
const Standard_Real | angle | ||
) |
Make a cone of height H radius R1 in the plane z = 0, R2 in the plane Z = H. R1 and R2 may be null. Take a section of <angle> Constructs a cone, or a portion of a cone, of height H, and radius R1 in the plane z = 0 and R2 in the plane z = H. The result is a sharp cone if R1 or R2 is equal to 0. The cone is constructed about the "Z Axis" of either:
BRepPrim_Cone& BRepPrimAPI_MakeCone::Cone | ( | ) |
Returns the algorithm.
|
virtual |
Returns the algorithm.
Implements BRepPrimAPI_MakeOneAxis.