Open CASCADE Technology 7.8.0
Public Member Functions
Extrema_POnSurfParams Class Reference

Data container for point on surface parameters. These parameters are required to compute an initial approximation for extrema computation. More...

#include <Extrema_POnSurfParams.hxx>

Inheritance diagram for Extrema_POnSurfParams:
Inheritance graph
[legend]

Public Member Functions

 Extrema_POnSurfParams ()
 empty constructor
 
 Extrema_POnSurfParams (const Standard_Real theU, const Standard_Real theV, const gp_Pnt &thePnt)
 Creation of a point on surface with parameter values on the surface and a Pnt from gp.
 
void SetSqrDistance (const Standard_Real theSqrDistance)
 Sets the square distance from this point to another one (e.g. to the point to be projected).
 
Standard_Real GetSqrDistance () const
 Query the square distance from this point to another one.
 
void SetElementType (const Extrema_ElementType theElementType)
 Sets the element type on which this point is situated.
 
Extrema_ElementType GetElementType () const
 Query the element type on which this point is situated.
 
void SetIndices (const Standard_Integer theIndexU, const Standard_Integer theIndexV)
 Sets the U and V indices of an element that contains this point.
 
void GetIndices (Standard_Integer &theIndexU, Standard_Integer &theIndexV) const
 Query the U and V indices of an element that contains this point.
 
- Public Member Functions inherited from Extrema_POnSurf
 Extrema_POnSurf ()
 Creation of an indefinite point on surface.
 
 Extrema_POnSurf (const Standard_Real U, const Standard_Real V, const gp_Pnt &P)
 Creation of a point on surface with parameter values on the surface and a Pnt from gp.
 
const gp_PntValue () const
 Returns the 3d point.
 
void SetParameters (const Standard_Real theU, const Standard_Real theV, const gp_Pnt &thePnt)
 Sets the params of current POnSurf instance. (e.g. to the point to be projected).
 
void Parameter (Standard_Real &U, Standard_Real &V) const
 Returns the parameter values on the surface.
 

Detailed Description

Data container for point on surface parameters. These parameters are required to compute an initial approximation for extrema computation.

Constructor & Destructor Documentation

◆ Extrema_POnSurfParams() [1/2]

Extrema_POnSurfParams::Extrema_POnSurfParams ( )

empty constructor

◆ Extrema_POnSurfParams() [2/2]

Extrema_POnSurfParams::Extrema_POnSurfParams ( const Standard_Real  theU,
const Standard_Real  theV,
const gp_Pnt thePnt 
)

Creation of a point on surface with parameter values on the surface and a Pnt from gp.

Member Function Documentation

◆ GetElementType()

Extrema_ElementType Extrema_POnSurfParams::GetElementType ( ) const

Query the element type on which this point is situated.

◆ GetIndices()

void Extrema_POnSurfParams::GetIndices ( Standard_Integer theIndexU,
Standard_Integer theIndexV 
) const

Query the U and V indices of an element that contains this point.

◆ GetSqrDistance()

Standard_Real Extrema_POnSurfParams::GetSqrDistance ( ) const

Query the square distance from this point to another one.

◆ SetElementType()

void Extrema_POnSurfParams::SetElementType ( const Extrema_ElementType  theElementType)

Sets the element type on which this point is situated.

◆ SetIndices()

void Extrema_POnSurfParams::SetIndices ( const Standard_Integer  theIndexU,
const Standard_Integer  theIndexV 
)

Sets the U and V indices of an element that contains this point.

◆ SetSqrDistance()

void Extrema_POnSurfParams::SetSqrDistance ( const Standard_Real  theSqrDistance)

Sets the square distance from this point to another one (e.g. to the point to be projected).


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