BRepExtrema_DistShapeShape Extrema_ExtFlag_MAX

Hi,

I really don't understand the new parameters possibilities of the BRepExtrema_DistShapeShape class.
It is said that now it is possible to compute the maximal distances by setting the flag Extrema_ExtFlag_MAX (and setting the algorithm to Extrema_ExtAlgo_Tree??).

But it try it and it give me the same result when i used the Extrema_ExtFlag_MIN or Extrema_ExtFlag_MINMAX flags.

My goal is to compute the minimal (this step is ok) and maximal distances between two shapes. In my case between a TopoDS_Face and a TopoDS_Wire (or TopoDS_Edge).

So my questions are :

1) Is the BRepExtrema_DistShapeShape class is able to do so and if so can you explain me what i made wrong and how to do it?
2) if it doesn't, is there any way to do it ?

Thanks a lot.

Stéphane.

Steph's picture

Up

Steph's picture

Up

Steph's picture

UP