`xyzdist` in C++

   686   2   0
User Avatar
Member
2 posts
Joined: Aug. 2016
Offline
Is there a way to call some similar function to VEX `xyzdist` from C++? The closest thing I found is `HOM_Geometry::nearestPrim`. If I understand it correctly this is C++ version of Python module. Is there a similar function working with `GU_Detail`?
User Avatar
Staff
329 posts
Joined: July 2005
Offline
See: GU_RayIntersect::minimumPoint()

https://www.sidefx.com/docs/hdk/class_g_u___ray_intersect.html [www.sidefx.com]
User Avatar
Member
2 posts
Joined: Aug. 2016
Offline
Great! Thanks a lot
  • Quick Links