Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
BRepExtrema_ExtPF Class Reference

#include <BRepExtrema_ExtPF.hxx>

Public Member Functions

 BRepExtrema_ExtPF ()=default
 
 BRepExtrema_ExtPF (const TopoDS_Vertex &TheVertex, const TopoDS_Face &TheFace, const Extrema_ExtFlag TheFlag=Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo TheAlgo=Extrema_ExtAlgo_Grad)
 It calculates all the distances.
 
void Initialize (const TopoDS_Face &TheFace, const Extrema_ExtFlag TheFlag=Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo TheAlgo=Extrema_ExtAlgo_Grad)
 
void Perform (const TopoDS_Vertex &TheVertex, const TopoDS_Face &TheFace)
 An exception is raised if the fields have not been initialized. Be careful: this method uses the Face only for classify not for the fields.
 
bool IsDone () const
 True if the distances are found.
 
int NbExt () const
 Returns the number of extremum distances.
 
double SquareDistance (const int N) const
 Returns the value of the <N>th extremum square distance.
 
void Parameter (const int N, double &U, double &V) const
 Returns the parameters on the Face of the <N>th extremum distance.
 
gp_Pnt Point (const int N) const
 Returns the Point of the <N>th extremum distance.
 
void SetFlag (const Extrema_ExtFlag F)
 
void SetAlgo (const Extrema_ExtAlgo A)
 

Constructor & Destructor Documentation

◆ BRepExtrema_ExtPF() [1/2]

BRepExtrema_ExtPF::BRepExtrema_ExtPF ( )
default

◆ BRepExtrema_ExtPF() [2/2]

BRepExtrema_ExtPF::BRepExtrema_ExtPF ( const TopoDS_Vertex & TheVertex,
const TopoDS_Face & TheFace,
const Extrema_ExtFlag TheFlag = Extrema_ExtFlag_MINMAX,
const Extrema_ExtAlgo TheAlgo = Extrema_ExtAlgo_Grad )

It calculates all the distances.

Member Function Documentation

◆ Initialize()

void BRepExtrema_ExtPF::Initialize ( const TopoDS_Face & TheFace,
const Extrema_ExtFlag TheFlag = Extrema_ExtFlag_MINMAX,
const Extrema_ExtAlgo TheAlgo = Extrema_ExtAlgo_Grad )

◆ IsDone()

bool BRepExtrema_ExtPF::IsDone ( ) const
inline

True if the distances are found.

◆ NbExt()

int BRepExtrema_ExtPF::NbExt ( ) const
inline

Returns the number of extremum distances.

◆ Parameter()

void BRepExtrema_ExtPF::Parameter ( const int N,
double & U,
double & V ) const
inline

Returns the parameters on the Face of the <N>th extremum distance.

◆ Perform()

void BRepExtrema_ExtPF::Perform ( const TopoDS_Vertex & TheVertex,
const TopoDS_Face & TheFace )

An exception is raised if the fields have not been initialized. Be careful: this method uses the Face only for classify not for the fields.

◆ Point()

gp_Pnt BRepExtrema_ExtPF::Point ( const int N) const
inline

Returns the Point of the <N>th extremum distance.

◆ SetAlgo()

void BRepExtrema_ExtPF::SetAlgo ( const Extrema_ExtAlgo A)
inline

◆ SetFlag()

void BRepExtrema_ExtPF::SetFlag ( const Extrema_ExtFlag F)
inline

◆ SquareDistance()

double BRepExtrema_ExtPF::SquareDistance ( const int N) const
inline

Returns the value of the <N>th extremum square distance.


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