Orthogonal projection to a face
Posted: Wed Jun 15, 2022 5:22 am
Hi
I am messing with projecting a point to a face using IUVSurface_DG.GetNearestPoints()
The issue I am having: if face is, say a hemisphere the methods returns two points, so there is an extra work of sorting which point is relevant. I also need to check distance to edge(s) and vertices.
Is there a better automated API for this?
Thanks
I am messing with projecting a point to a face using IUVSurface_DG.GetNearestPoints()
The issue I am having: if face is, say a hemisphere the methods returns two points, so there is an extra work of sorting which point is relevant. I also need to check distance to edge(s) and vertices.
Is there a better automated API for this?
Thanks