This class allows to compute minimum distance between two shapes
(face edge vertex) and is used in DistShapeShape class.
#include <BRepExtrema_DistanceSS.hxx>
Public Member Functions |
DEFINE_STANDARD_ALLOC | BRepExtrema_DistanceSS (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Bnd_Box &B1, const Bnd_Box &B2, const Standard_Real DstRef, const Extrema_ExtFlag F=Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A=Extrema_ExtAlgo_Grad) |
| computes the distance between two Shapes ( face edge vertex).
|
| BRepExtrema_DistanceSS (const TopoDS_Shape &S1, const TopoDS_Shape &S2, const Bnd_Box &B1, const Bnd_Box &B2, const Standard_Real DstRef, const Standard_Real aDeflection, const Extrema_ExtFlag F=Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo A=Extrema_ExtAlgo_Grad) |
| computes the distance between two Shapes ( face edge vertex).
Parameter theDeflection is used to specify a maximum deviation
of extreme distances from the minimum one.
Default value is Precision::Confusion().
|
Standard_Boolean | IsDone () const |
| True if the distance has been computed
|
Standard_Real | DistValue () const |
| returns the distance value
|
const BRepExtrema_SeqOfSolution & | Seq1Value () const |
| returns the list of solutions on the first shape
|
const BRepExtrema_SeqOfSolution & | Seq2Value () const |
| returns the list of solutions on the second shape
|
void | SetFlag (const Extrema_ExtFlag F) |
| sets the flag controlling minimum and maximum search
|
void | SetAlgo (const Extrema_ExtAlgo A) |
| sets the flag controlling ...
|
Constructor & Destructor Documentation
Member Function Documentation
The documentation for this class was generated from the following file: