Open CASCADE Technology  7.2.0
Public Member Functions
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. 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_Pnt2dValue () 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_TransitionTransitionOfFirst () const
 Returns the transition of the 1st curve compared to the 2nd one. More...
 
const IntRes2d_TransitionTransitionOfSecond () const
 returns the transition of the 2nd curve compared to the 1st one. More...
 

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 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).

Member Function Documentation

◆ ParamOnFirst()

Standard_Real IntRes2d_IntersectionPoint::ParamOnFirst ( ) const

Returns the parameter on the first curve.

◆ ParamOnSecond()

Standard_Real IntRes2d_IntersectionPoint::ParamOnSecond ( ) const

Returns the parameter on the second curve.

◆ SetValues()

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.

◆ 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: