OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    IntRes2d_IntersectionPoint Class Reference

    Definition of an intersection point between two 2D curves. More...

    #include <IntRes2d_IntersectionPoint.hxx>

    Public Member Functions

     IntRes2d_IntersectionPoint ()
     Empty constructor.
     IntRes2d_IntersectionPoint (const gp_Pnt2d &P, const double Uc1, const double Uc2, const IntRes2d_Transition &Trans1, const IntRes2d_Transition &Trans2, const bool ReversedFlag)
     Creates an IntersectionPoint. if ReversedFlag is False, the parameter Uc1(resp. Uc2) and the Transition Trans1 (resp. Trans2) refer to the first curve (resp. second curve) otherwise Uc1 and Trans1 (resp. Uc2 and Trans2) refer to the second curve (resp. the first curve).
    void SetValues (const gp_Pnt2d &P, const double Uc1, const double Uc2, const IntRes2d_Transition &Trans1, const IntRes2d_Transition &Trans2, const bool ReversedFlag)
     Sets the values for an existing intersection point. The meaning of the parameters are the same as for the Create.
    const gp_Pnt2d & Value () const
     Returns the value of the coordinates of the intersection point in the 2D space.
    double ParamOnFirst () const
     Returns the parameter on the first curve.
    double ParamOnSecond () const
     Returns the parameter on the second curve.
    const IntRes2d_Transition & TransitionOfFirst () const
     Returns the transition of the 1st curve compared to the 2nd one.
    const IntRes2d_Transition & TransitionOfSecond () const
     returns the transition of the 2nd curve compared to the 1st one.

    Detailed Description

    Definition of an intersection point between two 2D curves.

    Constructor & Destructor Documentation

    ◆ IntRes2d_IntersectionPoint() [1/2]

    IntRes2d_IntersectionPoint::IntRes2d_IntersectionPoint ( )

    Empty constructor.

    ◆ IntRes2d_IntersectionPoint() [2/2]

    IntRes2d_IntersectionPoint::IntRes2d_IntersectionPoint ( const gp_Pnt2d & P,
    const double Uc1,
    const double Uc2,
    const IntRes2d_Transition & Trans1,
    const IntRes2d_Transition & Trans2,
    const bool ReversedFlag )

    Creates an IntersectionPoint. if ReversedFlag is False, the parameter Uc1(resp. Uc2) and the Transition Trans1 (resp. Trans2) refer to the first curve (resp. second curve) otherwise Uc1 and Trans1 (resp. Uc2 and Trans2) refer to the second curve (resp. the first curve).

    Member Function Documentation

    ◆ ParamOnFirst()

    double IntRes2d_IntersectionPoint::ParamOnFirst ( ) const

    Returns the parameter on the first curve.

    ◆ ParamOnSecond()

    double IntRes2d_IntersectionPoint::ParamOnSecond ( ) const

    Returns the parameter on the second curve.

    ◆ SetValues()

    void IntRes2d_IntersectionPoint::SetValues ( const gp_Pnt2d & P,
    const double Uc1,
    const double Uc2,
    const IntRes2d_Transition & Trans1,
    const IntRes2d_Transition & Trans2,
    const bool ReversedFlag )

    Sets the values for an existing intersection point. The meaning of the parameters are the same as for the Create.

    ◆ TransitionOfFirst()

    const IntRes2d_Transition & IntRes2d_IntersectionPoint::TransitionOfFirst ( ) const

    Returns the transition of the 1st curve compared to the 2nd one.

    ◆ TransitionOfSecond()

    const IntRes2d_Transition & IntRes2d_IntersectionPoint::TransitionOfSecond ( ) const

    returns the transition of the 2nd curve compared to the 1st one.

    ◆ Value()

    const gp_Pnt2d & IntRes2d_IntersectionPoint::Value ( ) const

    Returns the value of the coordinates of the intersection point in the 2D space.


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