Open CASCADE Technology  7.4.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...
 

Detailed Description

Geometrical intersection between two 2d elements.

Constructor & Destructor Documentation

◆ IntAna2d_IntPoint() [1/3]

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() [2/3]

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() [3/3]

IntAna2d_IntPoint::IntAna2d_IntPoint ( )

Member Function Documentation

◆ ParamOnFirst()

Standard_Real IntAna2d_IntPoint::ParamOnFirst ( ) const

Returns the parameter on the first element.

◆ ParamOnSecond()

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.

◆ SecondIsImplicit()

Standard_Boolean IntAna2d_IntPoint::SecondIsImplicit ( ) const

Returns True if the second curve is implicit.

◆ SetValue() [1/2]

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.

◆ SetValue() [2/2]

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.

◆ Value()

const gp_Pnt2d& IntAna2d_IntPoint::Value ( ) const

Returns the geometric point.


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