Open CASCADE Technology 7.9.0
|
Describes functions to build tori or portions of tori. A MakeTorus object provides a framework for: More...
#include <BRepPrimAPI_MakeTorus.hxx>
Public Member Functions | |
BRepPrimAPI_MakeTorus (const Standard_Real R1, const Standard_Real R2) | |
Make a torus. | |
BRepPrimAPI_MakeTorus (const Standard_Real R1, const Standard_Real R2, const Standard_Real angle) | |
Make a section of a torus. | |
BRepPrimAPI_MakeTorus (const Standard_Real R1, const Standard_Real R2, const Standard_Real angle1, const Standard_Real angle2) | |
Make a torus with angles on the small circle. | |
BRepPrimAPI_MakeTorus (const Standard_Real R1, const Standard_Real R2, const Standard_Real angle1, const Standard_Real angle2, const Standard_Real angle) | |
Make a torus with angles on the small circle. | |
BRepPrimAPI_MakeTorus (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2) | |
Make a torus. | |
BRepPrimAPI_MakeTorus (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real angle) | |
Make a section of a torus. | |
BRepPrimAPI_MakeTorus (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real angle1, const Standard_Real angle2) | |
Make a torus. | |
BRepPrimAPI_MakeTorus (const gp_Ax2 &Axes, const Standard_Real R1, const Standard_Real R2, const Standard_Real angle1, const Standard_Real angle2, const Standard_Real angle) | |
Make a section of a torus of radii R1 R2. For all algorithms The resulting shape is composed of. | |
Standard_Address | OneAxis () |
Returns the algorithm. | |
BRepPrim_Torus & | Torus () |
Returns the algorithm. | |
![]() | |
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 () | |
![]() | |
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. | |
![]() | |
virtual | ~BRepBuilderAPI_Command () |
virtual Standard_Boolean | IsDone () const |
void | Check () const |
Raises NotDone if done is false. | |
Additional Inherited Members | |
![]() | |
BRepBuilderAPI_MakeShape () | |
![]() | |
BRepBuilderAPI_Command () | |
Set done to False. | |
void | Done () |
Set done to true. | |
void | NotDone () |
Set done to false. | |
![]() | |
TopoDS_Shape | myShape |
TopTools_ListOfShape | myGenerated |
Describes functions to build tori or portions of tori. A MakeTorus object provides a framework for:
BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus | ( | const Standard_Real | R1, |
const Standard_Real | R2 ) |
Make a torus.
[in] | R1 | distance from the center of the pipe to the center of the torus |
[in] | R2 | radius of the pipe |
BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus | ( | const Standard_Real | R1, |
const Standard_Real | R2, | ||
const Standard_Real | angle ) |
Make a section of a torus.
[in] | R1 | distance from the center of the pipe to the center of the torus |
[in] | R2 | radius of the pipe |
[in] | angle | angle to create a torus pipe segment |
BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus | ( | const Standard_Real | R1, |
const Standard_Real | R2, | ||
const Standard_Real | angle1, | ||
const Standard_Real | angle2 ) |
Make a torus with angles on the small circle.
[in] | R1 | distance from the center of the pipe to the center of the torus |
[in] | R2 | radius of the pipe |
[in] | angle1 | first angle to create a torus ring segment |
[in] | angle2 | second angle to create a torus ring segment |
BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus | ( | const Standard_Real | R1, |
const Standard_Real | R2, | ||
const Standard_Real | angle1, | ||
const Standard_Real | angle2, | ||
const Standard_Real | angle ) |
Make a torus with angles on the small circle.
[in] | R1 | distance from the center of the pipe to the center of the torus |
[in] | R2 | radius of the pipe |
[in] | angle1 | first angle to create a torus ring segment |
[in] | angle2 | second angle to create a torus ring segment |
[in] | angle | angle to create a torus pipe segment |
BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R1, | ||
const Standard_Real | R2 ) |
Make a torus.
[in] | Axes | coordinate system for the construction of the sphere |
[in] | R1 | distance from the center of the pipe to the center of the torus |
[in] | R2 | radius of the pipe |
BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R1, | ||
const Standard_Real | R2, | ||
const Standard_Real | angle ) |
Make a section of a torus.
[in] | Axes | coordinate system for the construction of the sphere |
[in] | R1 | distance from the center of the pipe to the center of the torus |
[in] | R2 | radius of the pipe |
[in] | angle | angle to create a torus pipe segment |
BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R1, | ||
const Standard_Real | R2, | ||
const Standard_Real | angle1, | ||
const Standard_Real | angle2 ) |
Make a torus.
[in] | Axes | coordinate system for the construction of the sphere |
[in] | R1 | distance from the center of the pipe to the center of the torus |
[in] | R2 | radius of the pipe |
[in] | angle1 | first angle to create a torus ring segment |
[in] | angle2 | second angle to create a torus ring segment |
BRepPrimAPI_MakeTorus::BRepPrimAPI_MakeTorus | ( | const gp_Ax2 & | Axes, |
const Standard_Real | R1, | ||
const Standard_Real | R2, | ||
const Standard_Real | angle1, | ||
const Standard_Real | angle2, | ||
const Standard_Real | angle ) |
Make a section of a torus of radii R1 R2. For all algorithms The resulting shape is composed of.
|
virtual |
Returns the algorithm.
Implements BRepPrimAPI_MakeOneAxis.
BRepPrim_Torus & BRepPrimAPI_MakeTorus::Torus | ( | ) |
Returns the algorithm.