Open CASCADE Technology  6.9.0
Public Member Functions

IntAna2d_IntPoint Class Reference

Geometrical intersection between two 2d elements. More...

#include <IntAna2d_IntPoint.hxx>

Public Member Functions

 IntAna2d_IntPoint (const Standard_Real X, const Standard_Real Y, const Standard_Real U1, const Standard_Real U2)
 Create an intersection point between 2 parametric 2d lines. X,Y are the coordinate of the point. U1 is the parameter on the first element, U2 the parameter on the second one. More...
 
 IntAna2d_IntPoint (const Standard_Real X, const Standard_Real Y, const Standard_Real U1)
 Create an intersection point between a parametric 2d line, and a line given by an implicit equation (ImplicitCurve). X,Y are the coordinate of the point. U1 is the parameter on the parametric element. Empty constructor. It's necessary to use one of the SetValue method after this one. More...
 
 IntAna2d_IntPoint ()
 
virtual void SetValue (const Standard_Real X, const Standard_Real Y, const Standard_Real U1, const Standard_Real U2)
 Set the values for a "non-implicit" point. More...
 
virtual void SetValue (const Standard_Real X, const Standard_Real Y, const Standard_Real U1)
 Set the values for an "implicit" point. More...
 
const gp_Pnt2dValue () const
 Returns the geometric point. More...
 
Standard_Boolean SecondIsImplicit () const
 Returns True if the second curve is implicit. More...
 
Standard_Real ParamOnFirst () const
 Returns the parameter on the first element. More...
 
Standard_Real ParamOnSecond () const
 Returns the parameter on the second element. If the second element is an implicit curve, an exception is raised. More...
 
Standard_Real _CSFDB_GetIntAna2d_IntPointmyu1 () const
 
void _CSFDB_SetIntAna2d_IntPointmyu1 (const Standard_Real p)
 
Standard_Real _CSFDB_GetIntAna2d_IntPointmyu2 () const
 
void _CSFDB_SetIntAna2d_IntPointmyu2 (const Standard_Real p)
 
const gp_Pnt2d_CSFDB_GetIntAna2d_IntPointmyp () const
 
Standard_Boolean _CSFDB_GetIntAna2d_IntPointmyimplicit () const
 
void _CSFDB_SetIntAna2d_IntPointmyimplicit (const Standard_Boolean p)
 

Detailed Description

Geometrical intersection between two 2d elements.

Constructor & Destructor Documentation

IntAna2d_IntPoint::IntAna2d_IntPoint ( const Standard_Real  X,
const Standard_Real  Y,
const Standard_Real  U1,
const Standard_Real  U2 
)

Create an intersection point between 2 parametric 2d lines. X,Y are the coordinate of the point. U1 is the parameter on the first element, U2 the parameter on the second one.

IntAna2d_IntPoint::IntAna2d_IntPoint ( const Standard_Real  X,
const Standard_Real  Y,
const Standard_Real  U1 
)

Create an intersection point between a parametric 2d line, and a line given by an implicit equation (ImplicitCurve). X,Y are the coordinate of the point. U1 is the parameter on the parametric element. Empty constructor. It's necessary to use one of the SetValue method after this one.

IntAna2d_IntPoint::IntAna2d_IntPoint ( )

Member Function Documentation

Standard_Boolean IntAna2d_IntPoint::_CSFDB_GetIntAna2d_IntPointmyimplicit ( ) const
inline
const gp_Pnt2d& IntAna2d_IntPoint::_CSFDB_GetIntAna2d_IntPointmyp ( ) const
inline
Standard_Real IntAna2d_IntPoint::_CSFDB_GetIntAna2d_IntPointmyu1 ( ) const
inline
Standard_Real IntAna2d_IntPoint::_CSFDB_GetIntAna2d_IntPointmyu2 ( ) const
inline
void IntAna2d_IntPoint::_CSFDB_SetIntAna2d_IntPointmyimplicit ( const Standard_Boolean  p)
inline
void IntAna2d_IntPoint::_CSFDB_SetIntAna2d_IntPointmyu1 ( const Standard_Real  p)
inline
void IntAna2d_IntPoint::_CSFDB_SetIntAna2d_IntPointmyu2 ( const Standard_Real  p)
inline
Standard_Real IntAna2d_IntPoint::ParamOnFirst ( ) const

Returns the parameter on the first element.

Standard_Real IntAna2d_IntPoint::ParamOnSecond ( ) const

Returns the parameter on the second element. If the second element is an implicit curve, an exception is raised.

Standard_Boolean IntAna2d_IntPoint::SecondIsImplicit ( ) const

Returns True if the second curve is implicit.

virtual void IntAna2d_IntPoint::SetValue ( const Standard_Real  X,
const Standard_Real  Y,
const Standard_Real  U1,
const Standard_Real  U2 
)
virtual

Set the values for a "non-implicit" point.

virtual void IntAna2d_IntPoint::SetValue ( const Standard_Real  X,
const Standard_Real  Y,
const Standard_Real  U1 
)
virtual

Set the values for an "implicit" point.

const gp_Pnt2d& IntAna2d_IntPoint::Value ( ) const

Returns the geometric point.


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