Open CASCADE Technology 7.8.2.dev
|
#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. | |
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. | |
Standard_Boolean | IsDone () const |
True if the distances are found. | |
Standard_Integer | NbExt () const |
Returns the number of extremum distances. | |
Standard_Real | SquareDistance (const Standard_Integer N) const |
Returns the value of the <N>th extremum square distance. | |
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. | |
gp_Pnt | Point (const Standard_Integer N) const |
Returns the Point of the <N>th extremum distance. | |
void | SetFlag (const Extrema_ExtFlag F) |
void | SetAlgo (const Extrema_ExtAlgo A) |
|
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.
void BRepExtrema_ExtPF::Initialize | ( | const TopoDS_Face & | TheFace, |
const Extrema_ExtFlag | TheFlag = Extrema_ExtFlag_MINMAX, | ||
const Extrema_ExtAlgo | TheAlgo = Extrema_ExtAlgo_Grad ) |
|
inline |
True if the distances are found.
|
inline |
Returns the number of extremum distances.
|
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.
|
inline |
Returns the Point of the <N>th extremum distance.
|
inline |
|
inline |
|
inline |
Returns the value of the <N>th extremum square distance.