How to find the distance between a point and curve using Opencascade in VC++ 6.0 application

Hi

I need to find the distance between a point and curver using opencascade API's in the VC++ 6.0 SDI application.What are the API's needed for this and how I have to invoke in VC++ 6.0 SDI application.

Thanks in advance

Rgds
Senthil

CloneX's picture

If you can get your point and curve as TopoDS_Shapes you can use BRepExtrema_DistShapeShape.

Chris

senthilsp's picture

Thanks for your prompt reply.

I have started to learn on the concept which you mentioned.

Let me ping back if any help is needed further.

rgds
Senthil