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
    Approx_SameParameter Class Reference

    Approximation of a PCurve on a surface to make its parameter be the same that the parameter of a given 3d reference curve. More...

    #include <Approx_SameParameter.hxx>

    Public Member Functions

     Approx_SameParameter (const occ::handle< Geom_Curve > &C3D, const occ::handle< Geom2d_Curve > &C2D, const occ::handle< Geom_Surface > &S, const double Tol)
     Warning: the C3D and C2D must have the same parametric domain.
     Approx_SameParameter (const occ::handle< Adaptor3d_Curve > &C3D, const occ::handle< Geom2d_Curve > &C2D, const occ::handle< Adaptor3d_Surface > &S, const double Tol)
     Warning: the C3D and C2D must have the same parametric domain.
     Approx_SameParameter (const occ::handle< Adaptor3d_Curve > &C3D, const occ::handle< Adaptor2d_Curve2d > &C2D, const occ::handle< Adaptor3d_Surface > &S, const double Tol)
     Warning: the C3D and C2D must have the same parametric domain.
    bool IsDone () const
     @Returns .false. if calculations failed, .true. if calculations succeed
    double TolReached () const
     @Returns tolerance (maximal distance) between 3d curve and curve on surface, generated by 2d curve and surface.
    bool IsSameParameter () const
     Tells whether the original data had already the same parameter up to the tolerance : in that case nothing is done.
    occ::handle< Geom2d_CurveCurve2d () const
     Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance.
    occ::handle< Adaptor3d_CurveCurve3d () const
     Returns the 3D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance.
    occ::handle< Adaptor3d_CurveOnSurfaceCurveOnSurface () const
     Returns the 3D curve on surface that has the same parameter as the 3D curve up to the specified tolerance.

    Detailed Description

    Approximation of a PCurve on a surface to make its parameter be the same that the parameter of a given 3d reference curve.

    Constructor & Destructor Documentation

    ◆ Approx_SameParameter() [1/3]

    Approx_SameParameter::Approx_SameParameter ( const occ::handle< Geom_Curve > & C3D,
    const occ::handle< Geom2d_Curve > & C2D,
    const occ::handle< Geom_Surface > & S,
    const double Tol )

    Warning: the C3D and C2D must have the same parametric domain.

    ◆ Approx_SameParameter() [2/3]

    Approx_SameParameter::Approx_SameParameter ( const occ::handle< Adaptor3d_Curve > & C3D,
    const occ::handle< Geom2d_Curve > & C2D,
    const occ::handle< Adaptor3d_Surface > & S,
    const double Tol )

    Warning: the C3D and C2D must have the same parametric domain.

    ◆ Approx_SameParameter() [3/3]

    Approx_SameParameter::Approx_SameParameter ( const occ::handle< Adaptor3d_Curve > & C3D,
    const occ::handle< Adaptor2d_Curve2d > & C2D,
    const occ::handle< Adaptor3d_Surface > & S,
    const double Tol )

    Warning: the C3D and C2D must have the same parametric domain.

    Member Function Documentation

    ◆ Curve2d()

    occ::handle< Geom2d_Curve > Approx_SameParameter::Curve2d ( ) const
    inline

    Returns the 2D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance.

    ◆ Curve3d()

    occ::handle< Adaptor3d_Curve > Approx_SameParameter::Curve3d ( ) const
    inline

    Returns the 3D curve that has the same parameter as the 3D curve once evaluated on the surface up to the specified tolerance.

    ◆ CurveOnSurface()

    occ::handle< Adaptor3d_CurveOnSurface > Approx_SameParameter::CurveOnSurface ( ) const
    inline

    Returns the 3D curve on surface that has the same parameter as the 3D curve up to the specified tolerance.

    ◆ IsDone()

    bool Approx_SameParameter::IsDone ( ) const
    inline

    @Returns .false. if calculations failed, .true. if calculations succeed

    ◆ IsSameParameter()

    bool Approx_SameParameter::IsSameParameter ( ) const
    inline

    Tells whether the original data had already the same parameter up to the tolerance : in that case nothing is done.

    ◆ TolReached()

    double Approx_SameParameter::TolReached ( ) const
    inline

    @Returns tolerance (maximal distance) between 3d curve and curve on surface, generated by 2d curve and surface.


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