OCCT3D OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    ProjLib_Sphere Class Reference

    Projects elementary curves on a sphere. More...

    #include <ProjLib_Sphere.hxx>

    Inheritance diagram for ProjLib_Sphere:

    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)
    void Project (const gp_Lin &L) override
    void Project (const gp_Circ &C) override
    void Project (const gp_Elips &E) override
    void Project (const gp_Parab &P) override
    void Project (const gp_Hypr &H) override
    void SetInBounds (const double 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 ()
    bool IsDone () const
    void Done ()
     Set isDone = true;.
    GeomAbs_CurveType GetType () const
    void SetBSpline (const occ::handle< Geom2d_BSplineCurve > &C)
    void SetBezier (const occ::handle< Geom2d_BezierCurve > &C)
    void SetType (const GeomAbs_CurveType Type)
    bool IsPeriodic () const
    void SetPeriodic ()
    const gp_Lin2dLine () const
    const gp_Circ2dCircle () const
    const gp_Elips2dEllipse () const
    const gp_Hypr2dHyperbola () const
    const gp_Parab2dParabola () const
    occ::handle< Geom2d_BezierCurveBezier () const
    occ::handle< Geom2d_BSplineCurveBSpline () const
    void UFrame (const double CFirst, const double CLast, const double UFirst, const double Period)
     Translates the 2d curve to set the part of the curve [CFirst, CLast] in the range [ UFirst, UFirst + Period [.
    void VFrame (const double CFirst, const double CLast, const double VFirst, const double 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
    occ::handle< Geom2d_BSplineCurvemyBSpline
    occ::handle< Geom2d_BezierCurvemyBezier
    bool myIsPeriodic
    bool isDone

    Detailed Description

    Projects elementary curves on a sphere.

    Constructor & Destructor Documentation

    ◆ ProjLib_Sphere() [1/3]

    ProjLib_Sphere::ProjLib_Sphere ( )

    Undefined projection.

    ◆ ProjLib_Sphere() [2/3]

    ProjLib_Sphere::ProjLib_Sphere ( const gp_Sphere & Sp)

    Projection on the sphere <Sp>.

    ◆ ProjLib_Sphere() [3/3]

    ProjLib_Sphere::ProjLib_Sphere ( const gp_Sphere & Sp,
    const gp_Circ & C )

    Projection of the circle on the sphere <Sp>.

    Member Function Documentation

    ◆ Init()

    void ProjLib_Sphere::Init ( const gp_Sphere & Sp)

    ◆ Project() [1/5]

    void ProjLib_Sphere::Project ( const gp_Circ & C)
    overridevirtual

    Reimplemented from ProjLib_Projector.

    ◆ Project() [2/5]

    void ProjLib_Sphere::Project ( const gp_Elips & E)
    overridevirtual

    Reimplemented from ProjLib_Projector.

    ◆ Project() [3/5]

    void ProjLib_Sphere::Project ( const gp_Hypr & H)
    overridevirtual

    Reimplemented from ProjLib_Projector.

    ◆ Project() [4/5]

    void ProjLib_Sphere::Project ( const gp_Lin & L)
    overridevirtual

    Reimplemented from ProjLib_Projector.

    ◆ Project() [5/5]

    void ProjLib_Sphere::Project ( const gp_Parab & P)
    overridevirtual

    Reimplemented from ProjLib_Projector.

    ◆ SetInBounds()

    void ProjLib_Sphere::SetInBounds ( const double U)

    Set the point of parameter U on C in the natural restrictions of the sphere.


    The documentation for this class was generated from the following file: