| 
    Open CASCADE Technology 7.8.2.dev
    
   | 
 
This class allows to compute minimum distance between two brep shapes (face edge vertex) and is used in DistShapeShape class. More...
#include <BRepExtrema_DistanceSS.hxx>
Public Member Functions | |
Constructor from two shapes  | |
| BRepExtrema_DistanceSS (const TopoDS_Shape &theS1, const TopoDS_Shape &theS2, const Bnd_Box &theBox1, const Bnd_Box &theBox2, const Standard_Real theDstRef, const Standard_Real theDeflection=Precision::Confusion(), const Extrema_ExtFlag theExtFlag=Extrema_ExtFlag_MINMAX, const Extrema_ExtAlgo theExtAlgo=Extrema_ExtAlgo_Grad) | |
| Computes the distance between two Shapes (face edge vertex).   | |
Results  | |
| Standard_Boolean | IsDone () const | 
| Returns true if the distance has been computed, false otherwise.   | |
| 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.   | |
This class allows to compute minimum distance between two brep shapes (face edge vertex) and is used in DistShapeShape class.
      
  | 
  inline | 
Computes the distance between two Shapes (face edge vertex).
| theS1 | - First shape | 
| theS2 | - Second shape | 
| theBox1 | - Bounding box of first shape | 
| theBox2 | - Bounding box of second shape | 
| theDstRef | - Initial distance between the shapes to start with | 
| theDeflection | - Maximum deviation of extreme distances from the minimum one (default is Precision::Confusion()). | 
| theExtFlag | - Specifies which extrema solutions to look for (default is MINMAX, applied only to point-face extrema) | 
| theExtAlgo | - Specifies which extrema algorithm is to be used (default is Grad algo, applied only to point-face extrema) | 
      
  | 
  inline | 
Returns the distance value.
      
  | 
  inline | 
Returns true if the distance has been computed, false otherwise.
      
  | 
  inline | 
Returns the list of solutions on the first shape.
      
  | 
  inline | 
Returns the list of solutions on the second shape.