Forum archiveIssue archiveOther usage issues

Archived discussion

BRepExtrema_DistShapeShape Extrema_ExtFlag_MAX

Other usage issuesThu, 03/08/2012 - 13:013 replies

Browse this forum
QuestionAuthor

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.

Discussion

3 archived replies

Posts are displayed in their archived order.

01Author

Up

02Author

Up

03Author

UP