Open CASCADE Technology  6.9.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...
 
const gp_Pnt2d_CSFDB_GetIntRes2d_IntersectionPointpt () const
 
Standard_Real _CSFDB_GetIntRes2d_IntersectionPointp1 () const
 
void _CSFDB_SetIntRes2d_IntersectionPointp1 (const Standard_Real p)
 
Standard_Real _CSFDB_GetIntRes2d_IntersectionPointp2 () const
 
void _CSFDB_SetIntRes2d_IntersectionPointp2 (const Standard_Real p)
 
const IntRes2d_Transition_CSFDB_GetIntRes2d_IntersectionPointtrans1 () const
 
const IntRes2d_Transition_CSFDB_GetIntRes2d_IntersectionPointtrans2 () const
 

Detailed Description

Definition of an intersection point between two 2D curves.

Constructor & Destructor Documentation

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

Member Function Documentation

Standard_Real IntRes2d_IntersectionPoint::_CSFDB_GetIntRes2d_IntersectionPointp1 ( ) const
inline
Standard_Real IntRes2d_IntersectionPoint::_CSFDB_GetIntRes2d_IntersectionPointp2 ( ) const
inline
const gp_Pnt2d& IntRes2d_IntersectionPoint::_CSFDB_GetIntRes2d_IntersectionPointpt ( ) const
inline
const IntRes2d_Transition& IntRes2d_IntersectionPoint::_CSFDB_GetIntRes2d_IntersectionPointtrans1 ( ) const
inline
const IntRes2d_Transition& IntRes2d_IntersectionPoint::_CSFDB_GetIntRes2d_IntersectionPointtrans2 ( ) const
inline
void IntRes2d_IntersectionPoint::_CSFDB_SetIntRes2d_IntersectionPointp1 ( const Standard_Real  p)
inline
void IntRes2d_IntersectionPoint::_CSFDB_SetIntRes2d_IntersectionPointp2 ( const Standard_Real  p)
inline
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.


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