![]() |
Open CASCADE Technology Reference Manual 8.0.0
|
Geometrical intersection between two 2d elements. More...
#include <IntAna2d_IntPoint.hxx>
Public Member Functions | |
| IntAna2d_IntPoint (const double X, const double Y, const double U1, const double 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 (const double X, const double Y, const double 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 () | |
| virtual void | SetValue (const double X, const double Y, const double U1, const double U2) |
| Set the values for a "non-implicit" point. | |
| virtual void | SetValue (const double X, const double Y, const double U1) |
| Set the values for an "implicit" point. | |
| const gp_Pnt2d & | Value () const |
| Returns the geometric point. | |
| bool | SecondIsImplicit () const |
| Returns True if the second curve is implicit. | |
| double | ParamOnFirst () const |
| Returns the parameter on the first element. | |
| double | ParamOnSecond () const |
| Returns the parameter on the second element. If the second element is an implicit curve, an exception is raised. | |
Geometrical intersection between two 2d elements.
| IntAna2d_IntPoint::IntAna2d_IntPoint | ( | const double | X, |
| const double | Y, | ||
| const double | U1, | ||
| const double | 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.
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 | ( | ) |
| double IntAna2d_IntPoint::ParamOnFirst | ( | ) | const |
Returns the parameter on the first element.
| double IntAna2d_IntPoint::ParamOnSecond | ( | ) | const |
Returns the parameter on the second element. If the second element is an implicit curve, an exception is raised.
| bool IntAna2d_IntPoint::SecondIsImplicit | ( | ) | const |
Returns True if the second curve is implicit.
|
virtual |
Set the values for an "implicit" point.
|
virtual |
Set the values for a "non-implicit" point.
| const gp_Pnt2d & IntAna2d_IntPoint::Value | ( | ) | const |
Returns the geometric point.