Open CASCADE Technology 7.8.0
Public Member Functions
IntSurf_PntOn2S Class Reference

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

Detailed Description

This class defines the geometric information for an intersection point between 2 surfaces : The coordinates ( Pnt from gp ), and two parametric coordinates.

Constructor & Destructor Documentation

◆ IntSurf_PntOn2S()

IntSurf_PntOn2S::IntSurf_PntOn2S ( )

Empty constructor.

Member Function Documentation

◆ IsSame()

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.

◆ Parameters()

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.

◆ ParametersOnS1()

void IntSurf_PntOn2S::ParametersOnS1 ( Standard_Real U1,
Standard_Real V1 
) const

Returns the parameters of the point on the first surface.

◆ ParametersOnS2()

void IntSurf_PntOn2S::ParametersOnS2 ( Standard_Real U2,
Standard_Real V2 
) const

Returns the parameters of the point on the second surface.

◆ ParametersOnSurface()

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.

◆ SetValue() [1/5]

void IntSurf_PntOn2S::SetValue ( const gp_Pnt Pt)

Sets the value of the point in 3d space.

◆ SetValue() [2/5]

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.

◆ SetValue() [3/5]

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.

◆ SetValue() [4/5]

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.

◆ SetValue() [5/5]

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.

◆ Value()

const gp_Pnt & IntSurf_PntOn2S::Value ( ) const

Returns the point in 3d space.

◆ ValueOnSurface()

gp_Pnt2d IntSurf_PntOn2S::ValueOnSurface ( const Standard_Boolean  OnFirst) const

Returns the point in 2d space of one of the surfaces.


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