Open CASCADE Technology
7.4.0
|
Definition of an intersection point between two 2D curves. More...
#include <IntRes2d_IntersectionPoint.hxx>
Public Member Functions | |
IntRes2d_IntersectionPoint () | |
Empty constructor. More... | |
IntRes2d_IntersectionPoint (const gp_Pnt2d &P, const Standard_Real Uc1, const Standard_Real Uc2, const IntRes2d_Transition &Trans1, const IntRes2d_Transition &Trans2, const Standard_Boolean 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). More... | |
void | SetValues (const gp_Pnt2d &P, const Standard_Real Uc1, const Standard_Real Uc2, const IntRes2d_Transition &Trans1, const IntRes2d_Transition &Trans2, const Standard_Boolean ReversedFlag) |
Sets the values for an existing intersection point. The meaning of the parameters are the same as for the Create. More... | |
const gp_Pnt2d & | Value () const |
Returns the value of the coordinates of the intersection point in the 2D space. More... | |
Standard_Real | ParamOnFirst () const |
Returns the parameter on the first curve. More... | |
Standard_Real | ParamOnSecond () const |
Returns the parameter on the second curve. More... | |
const IntRes2d_Transition & | TransitionOfFirst () const |
Returns the transition of the 1st curve compared to the 2nd one. More... | |
const IntRes2d_Transition & | TransitionOfSecond () const |
returns the transition of the 2nd curve compared to the 1st one. More... | |
Definition of an intersection point between two 2D curves.
IntRes2d_IntersectionPoint::IntRes2d_IntersectionPoint | ( | ) |
Empty constructor.
IntRes2d_IntersectionPoint::IntRes2d_IntersectionPoint | ( | const gp_Pnt2d & | P, |
const Standard_Real | Uc1, | ||
const Standard_Real | Uc2, | ||
const IntRes2d_Transition & | Trans1, | ||
const IntRes2d_Transition & | Trans2, | ||
const Standard_Boolean | 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).
Standard_Real IntRes2d_IntersectionPoint::ParamOnFirst | ( | ) | const |
Returns the parameter on the first curve.
Standard_Real IntRes2d_IntersectionPoint::ParamOnSecond | ( | ) | const |
Returns the parameter on the second curve.
void IntRes2d_IntersectionPoint::SetValues | ( | const gp_Pnt2d & | P, |
const Standard_Real | Uc1, | ||
const Standard_Real | Uc2, | ||
const IntRes2d_Transition & | Trans1, | ||
const IntRes2d_Transition & | Trans2, | ||
const Standard_Boolean | ReversedFlag | ||
) |
Sets the values for an existing intersection point. The meaning of the parameters are the same as for the Create.
const IntRes2d_Transition& IntRes2d_IntersectionPoint::TransitionOfFirst | ( | ) | const |
Returns the transition of the 1st curve compared to the 2nd one.
const IntRes2d_Transition& IntRes2d_IntersectionPoint::TransitionOfSecond | ( | ) | const |
returns the transition of the 2nd curve compared to the 1st one.
const gp_Pnt2d& IntRes2d_IntersectionPoint::Value | ( | ) | const |
Returns the value of the coordinates of the intersection point in the 2D space.