Open CASCADE Technology  6.9.0
Public Member Functions

BRepExtrema_DistanceSS Class Reference

This class allows to compute minimum distance between two shapes <br>

(face edge vertex) and is used in DistShapeShape class.
More...

#include <BRepExtrema_DistanceSS.hxx>

Public Member Functions

 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).
More...
 
 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().
More...
 
Standard_Boolean IsDone () const
 True if the distance has been computed
More...
 
Standard_Real DistValue () const
 returns the distance value
More...
 
const BRepExtrema_SeqOfSolutionSeq1Value () const
 returns the list of solutions on the first shape
More...
 
const BRepExtrema_SeqOfSolutionSeq2Value () const
 returns the list of solutions on the second shape
More...
 
void SetFlag (const Extrema_ExtFlag F)
 sets the flag controlling minimum and maximum search More...
 
void SetAlgo (const Extrema_ExtAlgo A)
 sets the flag controlling ... More...
 

Detailed Description

This class allows to compute minimum distance between two shapes <br>

(face edge vertex) and is used in DistShapeShape class.

Constructor & Destructor Documentation

BRepExtrema_DistanceSS::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 
)
inline

computes the distance between two Shapes ( face edge vertex).

BRepExtrema_DistanceSS::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 
)
inline

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().

Member Function Documentation

Standard_Real BRepExtrema_DistanceSS::DistValue ( ) const
inline

returns the distance value

Standard_Boolean BRepExtrema_DistanceSS::IsDone ( ) const
inline

True if the distance has been computed

const BRepExtrema_SeqOfSolution& BRepExtrema_DistanceSS::Seq1Value ( ) const
inline

returns the list of solutions on the first shape

const BRepExtrema_SeqOfSolution& BRepExtrema_DistanceSS::Seq2Value ( ) const
inline

returns the list of solutions on the second shape

void BRepExtrema_DistanceSS::SetAlgo ( const Extrema_ExtAlgo  A)
inline

sets the flag controlling ...

void BRepExtrema_DistanceSS::SetFlag ( const Extrema_ExtFlag  F)
inline

sets the flag controlling minimum and maximum search


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