Open CASCADE Technology 7.8.2.dev
|
Projects elementary curves on a sphere. More...
#include <ProjLib_Sphere.hxx>
Public Member Functions | |
ProjLib_Sphere () | |
Undefined projection. | |
ProjLib_Sphere (const gp_Sphere &Sp) | |
Projection on the sphere <Sp>. | |
ProjLib_Sphere (const gp_Sphere &Sp, const gp_Circ &C) | |
Projection of the circle on the sphere <Sp>. | |
void | Init (const gp_Sphere &Sp) |
virtual void | Project (const gp_Lin &L) override |
virtual void | Project (const gp_Circ &C) override |
virtual void | Project (const gp_Elips &E) override |
virtual void | Project (const gp_Parab &P) override |
virtual void | Project (const gp_Hypr &H) override |
void | SetInBounds (const Standard_Real U) |
Set the point of parameter U on C in the natural restrictions of the sphere. | |
Public Member Functions inherited from ProjLib_Projector | |
ProjLib_Projector () | |
Sets the type to OtherCurve. | |
virtual | ~ProjLib_Projector () |
Standard_Boolean | IsDone () const |
void | Done () |
Set isDone = Standard_True;. | |
GeomAbs_CurveType | GetType () const |
void | SetBSpline (const Handle< Geom2d_BSplineCurve > &C) |
void | SetBezier (const Handle< Geom2d_BezierCurve > &C) |
void | SetType (const GeomAbs_CurveType Type) |
Standard_Boolean | IsPeriodic () const |
void | SetPeriodic () |
const gp_Lin2d & | Line () const |
const gp_Circ2d & | Circle () const |
const gp_Elips2d & | Ellipse () const |
const gp_Hypr2d & | Hyperbola () const |
const gp_Parab2d & | Parabola () const |
Handle< Geom2d_BezierCurve > | Bezier () const |
Handle< Geom2d_BSplineCurve > | BSpline () const |
void | UFrame (const Standard_Real CFirst, const Standard_Real CLast, const Standard_Real UFirst, const Standard_Real Period) |
Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ UFirst, UFirst + Period [. | |
void | VFrame (const Standard_Real CFirst, const Standard_Real CLast, const Standard_Real VFirst, const Standard_Real Period) |
Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ VFirst, VFirst + Period [. | |
Additional Inherited Members | |
Protected Attributes inherited from ProjLib_Projector | |
GeomAbs_CurveType | myType |
gp_Lin2d | myLin |
gp_Circ2d | myCirc |
gp_Elips2d | myElips |
gp_Hypr2d | myHypr |
gp_Parab2d | myParab |
Handle< Geom2d_BSplineCurve > | myBSpline |
Handle< Geom2d_BezierCurve > | myBezier |
Standard_Boolean | myIsPeriodic |
Standard_Boolean | isDone |
Projects elementary curves on a sphere.
ProjLib_Sphere::ProjLib_Sphere | ( | ) |
Undefined projection.
ProjLib_Sphere::ProjLib_Sphere | ( | const gp_Sphere & | Sp | ) |
Projection on the sphere <Sp>.
Projection of the circle on the sphere <Sp>.
void ProjLib_Sphere::Init | ( | const gp_Sphere & | Sp | ) |
|
overridevirtual |
Reimplemented from ProjLib_Projector.
|
overridevirtual |
Reimplemented from ProjLib_Projector.
|
overridevirtual |
Reimplemented from ProjLib_Projector.
|
overridevirtual |
Reimplemented from ProjLib_Projector.
|
overridevirtual |
Reimplemented from ProjLib_Projector.
void ProjLib_Sphere::SetInBounds | ( | const Standard_Real | U | ) |
Set the point of parameter U on C in the natural restrictions of the sphere.