OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    GeomProjLib Class Reference

    Projection of a curve on a surface. More...

    #include <GeomProjLib.hxx>

    Static Public Member Functions

    static occ::handle< Geom2d_Curve > Curve2d (const occ::handle< Geom_Curve > &C, const double First, const double Last, const occ::handle< Geom_Surface > &S, const double UFirst, const double ULast, const double VFirst, const double VLast, double &Tolerance)
     gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING: if the projection has failed, this method returns a null Handle.
    static occ::handle< Geom2d_Curve > Curve2d (const occ::handle< Geom_Curve > &C, const double First, const double Last, const occ::handle< Geom_Surface > &S, double &Tolerance)
     gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING: if the projection has failed, this method returns a null Handle.
    static occ::handle< Geom2d_Curve > Curve2d (const occ::handle< Geom_Curve > &C, const double First, const double Last, const occ::handle< Geom_Surface > &S)
     gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] If the projection needs an approximation, Precision::PApproximation() is used. WARNING: if the projection has failed, this method returns a null Handle.
    static occ::handle< Geom2d_Curve > Curve2d (const occ::handle< Geom_Curve > &C, const occ::handle< Geom_Surface > &S)
     gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation, Precision::PApproximation() is used. WARNING: if the projection has failed, this method returns a null Handle.
    static occ::handle< Geom2d_Curve > Curve2d (const occ::handle< Geom_Curve > &C, const occ::handle< Geom_Surface > &S, const double UDeb, const double UFin, const double VDeb, const double VFin)
     gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation, Precision::PApproximation() is used. WARNING: if the projection has failed, this method returns a null Handle. can expand a little the bounds of surface
    static occ::handle< Geom2d_Curve > Curve2d (const occ::handle< Geom_Curve > &C, const occ::handle< Geom_Surface > &S, const double UDeb, const double UFin, const double VDeb, const double VFin, double &Tolerance)
     gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation, Precision::PApproximation() is used. WARNING: if the projection has failed, this method returns a null Handle. can expand a little the bounds of surface
    static occ::handle< Geom_Curve > Project (const occ::handle< Geom_Curve > &C, const occ::handle< Geom_Surface > &S)
     Constructs the 3d-curve from the normal projection of the Curve on the surface . WARNING: if the projection has failed, returns a null Handle.
    static occ::handle< Geom_Curve > ProjectOnPlane (const occ::handle< Geom_Curve > &Curve, const occ::handle< Geom_Plane > &Plane, const gp_Dir &Dir, const bool KeepParametrization)
     Constructs the 3d-curves from the projection of the curve <Curve> on the plane <Plane> along the direction <Dir>. If <KeepParametrization> is true, the parametrization of the Projected Curve <PC> will be the same as the parametrization of the initial curve . It means: proj(C(u)) = PC(u) for each u. Otherwise, the parametrization may change.

    Detailed Description

    Projection of a curve on a surface.

    Member Function Documentation

    ◆ Curve2d() [1/6]

    occ::handle< Geom2d_Curve > GeomProjLib::Curve2d ( const occ::handle< Geom_Curve > & C,
    const double First,
    const double Last,
    const occ::handle< Geom_Surface > & S )
    static

    gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] If the projection needs an approximation, Precision::PApproximation() is used. WARNING: if the projection has failed, this method returns a null Handle.

    ◆ Curve2d() [2/6]

    occ::handle< Geom2d_Curve > GeomProjLib::Curve2d ( const occ::handle< Geom_Curve > & C,
    const double First,
    const double Last,
    const occ::handle< Geom_Surface > & S,
    const double UFirst,
    const double ULast,
    const double VFirst,
    const double VLast,
    double & Tolerance )
    static

    gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING: if the projection has failed, this method returns a null Handle.

    ◆ Curve2d() [3/6]

    occ::handle< Geom2d_Curve > GeomProjLib::Curve2d ( const occ::handle< Geom_Curve > & C,
    const double First,
    const double Last,
    const occ::handle< Geom_Surface > & S,
    double & Tolerance )
    static

    gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) The 3dCurve is taken between the parametrization range [First, Last] <Tolerance> is used as input if the projection needs an approximation. In this case, the reached tolerance is set in <Tolerance> as output. WARNING: if the projection has failed, this method returns a null Handle.

    ◆ Curve2d() [4/6]

    occ::handle< Geom2d_Curve > GeomProjLib::Curve2d ( const occ::handle< Geom_Curve > & C,
    const occ::handle< Geom_Surface > & S )
    static

    gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation, Precision::PApproximation() is used. WARNING: if the projection has failed, this method returns a null Handle.

    ◆ Curve2d() [5/6]

    occ::handle< Geom2d_Curve > GeomProjLib::Curve2d ( const occ::handle< Geom_Curve > & C,
    const occ::handle< Geom_Surface > & S,
    const double UDeb,
    const double UFin,
    const double VDeb,
    const double VFin )
    static

    gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation, Precision::PApproximation() is used. WARNING: if the projection has failed, this method returns a null Handle. can expand a little the bounds of surface

    ◆ Curve2d() [6/6]

    occ::handle< Geom2d_Curve > GeomProjLib::Curve2d ( const occ::handle< Geom_Curve > & C,
    const occ::handle< Geom_Surface > & S,
    const double UDeb,
    const double UFin,
    const double VDeb,
    const double VFin,
    double & Tolerance )
    static

    gives the 2d-curve of a 3d-curve lying on a surface (uses GeomProjLib_ProjectedCurve) If the projection needs an approximation, Precision::PApproximation() is used. WARNING: if the projection has failed, this method returns a null Handle. can expand a little the bounds of surface

    ◆ Project()

    occ::handle< Geom_Curve > GeomProjLib::Project ( const occ::handle< Geom_Curve > & C,
    const occ::handle< Geom_Surface > & S )
    static

    Constructs the 3d-curve from the normal projection of the Curve on the surface . WARNING: if the projection has failed, returns a null Handle.

    ◆ ProjectOnPlane()

    occ::handle< Geom_Curve > GeomProjLib::ProjectOnPlane ( const occ::handle< Geom_Curve > & Curve,
    const occ::handle< Geom_Plane > & Plane,
    const gp_Dir & Dir,
    const bool KeepParametrization )
    static

    Constructs the 3d-curves from the projection of the curve <Curve> on the plane <Plane> along the direction <Dir>. If <KeepParametrization> is true, the parametrization of the Projected Curve <PC> will be the same as the parametrization of the initial curve . It means: proj(C(u)) = PC(u) for each u. Otherwise, the parametrization may change.


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