Open CASCADE Technology  7.0.0
Public Member Functions

BRepExtrema_ExtPF Class Reference

#include <BRepExtrema_ExtPF.hxx>

Public Member Functions

 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.
More...
 
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.
More...
 
Standard_Boolean IsDone () const
 True if the distances are found.
More...
 
Standard_Integer NbExt () const
 Returns the number of extremum distances.
More...
 
Standard_Real SquareDistance (const Standard_Integer N) const
 Returns the value of the <N>th extremum square distance.
More...
 
void Parameter (const Standard_Integer N, Standard_Real &U, Standard_Real &V) const
 Returns the parameters on the Face of the <N>th extremum distance.
More...
 
gp_Pnt Point (const Standard_Integer N) const
 Returns the Point of the <N>th extremum distance.
More...
 
void SetFlag (const Extrema_ExtFlag F)
 
void SetAlgo (const Extrema_ExtAlgo A)
 

Constructor & Destructor Documentation

BRepExtrema_ExtPF::BRepExtrema_ExtPF ( )
inline
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

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

True if the distances are found.

Standard_Integer BRepExtrema_ExtPF::NbExt ( ) const
inline

Returns the number of extremum distances.

void BRepExtrema_ExtPF::Parameter ( const Standard_Integer  N,
Standard_Real U,
Standard_Real V 
) const
inline

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

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.

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

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

void BRepExtrema_ExtPF::SetAlgo ( const Extrema_ExtAlgo  A)
inline
void BRepExtrema_ExtPF::SetFlag ( const Extrema_ExtFlag  F)
inline
Standard_Real BRepExtrema_ExtPF::SquareDistance ( const Standard_Integer  N) const
inline

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


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