![]() |
Open CASCADE Technology Reference Manual 8.0.1
|
Implements construction algorithms for conical surfaces. Supported constructions include: More...
#include <GC_MakeConicalSurface.hxx>

Public Member Functions | |
| GC_MakeConicalSurface (const gp_Ax2 &theA2, const double theAng, const double theRadius) | |
| Creates a conical surface from local frame, semi-angle and radius. | |
| GC_MakeConicalSurface (const gp_Cone &theC) | |
| Creates a conical surface from a gp_Cone. | |
| GC_MakeConicalSurface (const gp_Pnt &theP1, const gp_Pnt &theP2, const gp_Pnt &theP3, const gp_Pnt &theP4) | |
| Creates a conical surface from four points. | |
| GC_MakeConicalSurface (const gp_Pnt &theP1, const gp_Pnt &theP2, const double theR1, const double theR2) | |
| Creates a conical surface with two points and two radii. | |
| const occ::handle< Geom_ConicalSurface > & | Value () const |
| Returns the constructed cone. Exceptions StdFail_NotDone if no cone is constructed. | |
| operator const occ::handle< Geom_ConicalSurface > & () const | |
| Conversion operator returning the constructed object. | |
| Public Member Functions inherited from GC_Root | |
| bool | IsDone () const |
| Returns true if the construction is successful. | |
| bool | IsError () const |
| Returns true if the construction has failed. | |
| gce_ErrorType | Status () const |
| Returns the status of the construction: | |
Additional Inherited Members | |
| Protected Attributes inherited from GC_Root | |
| gce_ErrorType | TheError |
Implements construction algorithms for conical surfaces. Supported constructions include:
The "ZAxis" is the symmetry axis of the ConicalSurface, it gives the direction of increasing parametric value V. The apex of the surface is on the negative side of this axis.
The parametrization range is: U [0, 2*PI], V ]-infinite, + infinite[
The "XAxis" and the "YAxis" define the placement plane of the surface (Z = 0, and parametric value V = 0) perpendicular to the symmetry axis. The "XAxis" defines the origin of the parameter U = 0. The trigonometric sense gives the positive orientation for the parameter U.
When you create a ConicalSurface the U and V directions of parametrization are such that at each point of the surface the normal is oriented towards the "outside region".
| GC_MakeConicalSurface::GC_MakeConicalSurface | ( | const gp_Ax2 & | theA2, |
| const double | theAng, | ||
| const double | theRadius ) |
Creates a conical surface from local frame, semi-angle and radius.
| [in] | theA2 | local coordinate system |
| [in] | theAng | semi-angle |
| [in] | theRadius | reference radius in placement plane |
| GC_MakeConicalSurface::GC_MakeConicalSurface | ( | const gp_Cone & | theC | ) |
Creates a conical surface from a gp_Cone.
| [in] | theC | source cone |
| GC_MakeConicalSurface::GC_MakeConicalSurface | ( | const gp_Pnt & | theP1, |
| const gp_Pnt & | theP2, | ||
| const gp_Pnt & | theP3, | ||
| const gp_Pnt & | theP4 ) |
Creates a conical surface from four points.
| [in] | theP1 | first point defining axis |
| [in] | theP2 | second point defining axis |
| [in] | theP3 | point defining first section radius |
| [in] | theP4 | point defining second section radius |
| GC_MakeConicalSurface::GC_MakeConicalSurface | ( | const gp_Pnt & | theP1, |
| const gp_Pnt & | theP2, | ||
| const double | theR1, | ||
| const double | theR2 ) |
Creates a conical surface with two points and two radii.
| [in] | theP1 | first axis point |
| [in] | theP2 | second axis point |
| [in] | theR1 | radius at P1 |
| [in] | theR2 | radius at P2 |
|
inline |
Conversion operator returning the constructed object.
| const occ::handle< Geom_ConicalSurface > & GC_MakeConicalSurface::Value | ( | ) | const |
Returns the constructed cone. Exceptions StdFail_NotDone if no cone is constructed.