New vertex on existing Edge ?

Hi,

I'm trying to know if a new vertex belongs to an existing edge. Is there any existing method for that ?

One of the solution consists in computing the distance between the vertex and the edge but I do not manage to do it. Should you have any help for me...

Thanks. David

Christian R. Krug's picture

Hallo David,

if you want to measure the distance between shapes, you can use the classes from BRepExtrema: BRepExtrema_ExtPC( vertex, edge ) in this case.

Regards, Kris.