Open CASCADE Technology  7.7.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 More...
 
 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. More...
 
void SetSqrDistance (const Standard_Real theSqrDistance)
 Sets the square distance from this point to another one (e.g. to the point to be projected). More...
 
Standard_Real GetSqrDistance () const
 Query the square distance from this point to another one. More...
 
void SetElementType (const Extrema_ElementType theElementType)
 Sets the element type on which this point is situated. More...
 
Extrema_ElementType GetElementType () const
 Query the element type on which this point is situated. More...
 
void SetIndices (const Standard_Integer theIndexU, const Standard_Integer theIndexV)
 Sets the U and V indices of an element that contains this point. More...
 
void GetIndices (Standard_Integer &theIndexU, Standard_Integer &theIndexV) const
 Query the U and V indices of an element that contains this point. More...
 
- Public Member Functions inherited from Extrema_POnSurf
 Extrema_POnSurf ()
 Creation of an indefinite point on surface. More...
 
 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. More...
 
const gp_PntValue () const
 Returns the 3d point. More...
 
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). More...
 
void Parameter (Standard_Real &U, Standard_Real &V) const
 Returns the parameter values on the surface. More...
 

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: