Open CASCADE Technology 7.8.2.dev
|
This class defines the geometric information for an intersection point between 2 surfaces : The coordinates ( Pnt from gp ), and two parametric coordinates. More...
#include <IntSurf_PntOn2S.hxx>
Public Member Functions | |
IntSurf_PntOn2S () | |
Empty constructor. | |
void | SetValue (const gp_Pnt &Pt) |
Sets the value of the point in 3d space. | |
void | SetValue (const gp_Pnt &Pt, const Standard_Boolean OnFirst, const Standard_Real U, const Standard_Real V) |
Sets the values of the point in 3d space, and in the parametric space of one of the surface. | |
void | SetValue (const gp_Pnt &Pt, const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2) |
Sets the values of the point in 3d space, and in the parametric space of each surface. | |
void | SetValue (const Standard_Boolean OnFirst, const Standard_Real U, const Standard_Real V) |
Set the values of the point in the parametric space of one of the surface. | |
void | SetValue (const Standard_Real U1, const Standard_Real V1, const Standard_Real U2, const Standard_Real V2) |
Set the values of the point in the parametric space of one of the surface. | |
const gp_Pnt & | Value () const |
Returns the point in 3d space. | |
gp_Pnt2d | ValueOnSurface (const Standard_Boolean OnFirst) const |
Returns the point in 2d space of one of the surfaces. | |
void | ParametersOnS1 (Standard_Real &U1, Standard_Real &V1) const |
Returns the parameters of the point on the first surface. | |
void | ParametersOnS2 (Standard_Real &U2, Standard_Real &V2) const |
Returns the parameters of the point on the second surface. | |
void | ParametersOnSurface (const Standard_Boolean OnFirst, Standard_Real &U, Standard_Real &V) const |
Returns the parameters of the point in the parametric space of one of the surface. | |
void | Parameters (Standard_Real &U1, Standard_Real &V1, Standard_Real &U2, Standard_Real &V2) const |
Returns the parameters of the point on both surfaces. | |
Standard_Boolean | IsSame (const IntSurf_PntOn2S &theOtherPoint, const Standard_Real theTol3D=0.0, const Standard_Real theTol2D=-1.0) const |
Returns TRUE if 2D- and 3D-coordinates of theOterPoint are equal to corresponding coordinates of me (with given tolerance). If theTol2D < 0.0 we will compare 3D-points only. | |
This class defines the geometric information for an intersection point between 2 surfaces : The coordinates ( Pnt from gp ), and two parametric coordinates.
IntSurf_PntOn2S::IntSurf_PntOn2S | ( | ) |
Empty constructor.
Standard_Boolean IntSurf_PntOn2S::IsSame | ( | const IntSurf_PntOn2S & | theOtherPoint, |
const Standard_Real | theTol3D = 0.0, | ||
const Standard_Real | theTol2D = -1.0 ) const |
Returns TRUE if 2D- and 3D-coordinates of theOterPoint are equal to corresponding coordinates of me (with given tolerance). If theTol2D < 0.0 we will compare 3D-points only.
void IntSurf_PntOn2S::Parameters | ( | Standard_Real & | U1, |
Standard_Real & | V1, | ||
Standard_Real & | U2, | ||
Standard_Real & | V2 ) const |
Returns the parameters of the point on both surfaces.
void IntSurf_PntOn2S::ParametersOnS1 | ( | Standard_Real & | U1, |
Standard_Real & | V1 ) const |
Returns the parameters of the point on the first surface.
void IntSurf_PntOn2S::ParametersOnS2 | ( | Standard_Real & | U2, |
Standard_Real & | V2 ) const |
Returns the parameters of the point on the second surface.
void IntSurf_PntOn2S::ParametersOnSurface | ( | const Standard_Boolean | OnFirst, |
Standard_Real & | U, | ||
Standard_Real & | V ) const |
Returns the parameters of the point in the parametric space of one of the surface.
void IntSurf_PntOn2S::SetValue | ( | const gp_Pnt & | Pt | ) |
Sets the value of the point in 3d space.
void IntSurf_PntOn2S::SetValue | ( | const gp_Pnt & | Pt, |
const Standard_Boolean | OnFirst, | ||
const Standard_Real | U, | ||
const Standard_Real | V ) |
Sets the values of the point in 3d space, and in the parametric space of one of the surface.
void IntSurf_PntOn2S::SetValue | ( | const gp_Pnt & | Pt, |
const Standard_Real | U1, | ||
const Standard_Real | V1, | ||
const Standard_Real | U2, | ||
const Standard_Real | V2 ) |
Sets the values of the point in 3d space, and in the parametric space of each surface.
void IntSurf_PntOn2S::SetValue | ( | const Standard_Boolean | OnFirst, |
const Standard_Real | U, | ||
const Standard_Real | V ) |
Set the values of the point in the parametric space of one of the surface.
void IntSurf_PntOn2S::SetValue | ( | const Standard_Real | U1, |
const Standard_Real | V1, | ||
const Standard_Real | U2, | ||
const Standard_Real | V2 ) |
Set the values of the point in the parametric space of one of the surface.
const gp_Pnt & IntSurf_PntOn2S::Value | ( | ) | const |
Returns the point in 3d space.
gp_Pnt2d IntSurf_PntOn2S::ValueOnSurface | ( | const Standard_Boolean | OnFirst | ) | const |
Returns the point in 2d space of one of the surfaces.