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

The effective way to calculate Hausdorff distance

Dmitry Kidyaev's picture

I need to calculate hausdorff distance beetween the line segment and the set of faces. Is any helpfull methods in OCC engine.
I think it is really common and netural distance between geometric patterns.
Hausdorff distance difend wor the to sets A and B is:
H(A, B) = max min d(a, b); // a is from A, b is from B.