For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

How to get the max distance of two shapes?

hao chunbo's picture
Forums: 

Thanks!!!

kbk's picture

Try

BRepExtrema_DistShapeShape

Regards

hao chunbo's picture

Thanks,but according to the document,
"BRepExtrema_DistShapeShape:
This class provides tools to compute minimum distance between two Shapes"? Not the maximum distance.

ashu106's picture

hi..
please tell me if u got answer..
How to get the max distance of two nodes and vertices?
thanks.

Dmitry's picture

Its a great question.
There is no problem to find the minimum, but
a big problem to find the maximum.
No chance ? Have the developers forgotten about max function ?

Dmitry's picture

Please, please, please, please me (You don't have to go)
Baby please, baby please, please me (You don't have to go)
Baby please, baby please don't go (You don't have to go)

James Brown

Please, please, please, please me (You don't have to answer)
Please , please, please, answer...

Dmitry Khabi

Hugues Delorme's picture

The thrill is not gone ...

Maybe you can find what you want with the BRepExtrema_Ext* classes :

BRepExtrema_ExtPF : min and max distance between a vertex and a face
BRepExtrema_ExtPC : min and max distance between a vertex and an edge
BRepExtrema_ExtFF : min and max distance between two faces
...

Dmitry's picture

Hi Hugues
have I:
http://www.opencascade.org/org/forum/thread_9159/

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.