Go to the source code of this file.
|
GU_API bool | GUminimumDistPrimPoint (const GEO_Primitive &prim, const UT_Vector3 &point, float distmax=1E17F, float *distance=0, float *u=0, float *v=0, bool accurate=true) |
| Find the minimum distance between a primitive and a point. More...
|
|
GU_API bool | GUminimumDistPrimPrim (const GEO_Primitive &prim1, const GEO_Primitive &prim2, float distmax=1E17F, float *distance=0, float *u1=0, float *v1=0, float *u2=0, float *v2=0, bool accurate=true) |
|
GU_API GA_Offset | GUclosestPrimPoint (const GEO_Primitive &prim, float start_u, float start_v, float start_w, const UT_Vector3 &point) |
|
Find the minimum distance between a primitive and a point.
Find the minimum distance between two primitives. (u1,v1) is place on prim1, (u2,v2) is place on prim2. NOTE: This treats polygon primitives as just their edges, not filled polygons.