Open CASCADE Technology  7.4.0
Public Member Functions

BRepExtrema_DistanceSS Class Reference

This class allows to compute minimum distance between two shapes
(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
(face edge vertex) and is used in DistShapeShape class.

Constructor & Destructor Documentation

◆ BRepExtrema_DistanceSS() [1/2]

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() [2/2]

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

◆ DistValue()

Standard_Real BRepExtrema_DistanceSS::DistValue ( ) const
inline

returns the distance value

◆ IsDone()

Standard_Boolean BRepExtrema_DistanceSS::IsDone ( ) const
inline

True if the distance has been computed

◆ Seq1Value()

const BRepExtrema_SeqOfSolution& BRepExtrema_DistanceSS::Seq1Value ( ) const
inline

returns the list of solutions on the first shape

◆ Seq2Value()

const BRepExtrema_SeqOfSolution& BRepExtrema_DistanceSS::Seq2Value ( ) const
inline

returns the list of solutions on the second shape

◆ SetAlgo()

void BRepExtrema_DistanceSS::SetAlgo ( const Extrema_ExtAlgo  A)
inline

sets the flag controlling ...

◆ SetFlag()

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: