Description | |||||||||||
Given a solid, a point, and a maximum distance, this function finds a surface from the solid within the maximum distance, and returns the UV point of the projection of the point to that surface. This does not necessarily find the nearest surface on the solid; any surface within the tolerance could be returned.
NOTE: This function supports parts only, not assemblies. |
|||||||||||
Replacement in Object TOOLKIT: | wfcWSolid::ProjectPoint | ||||||||||
Synopsis | |||||||||||
#include <ProSolid.h> | |||||||||||
ProError | ProSolidProjectPoint | ( | |||||||||
ProSolid p_handle | |||||||||||
/* (In) | |||||||||||
Solid handle. | |||||||||||
*/ | |||||||||||
Pro3dPnt xyz | |||||||||||
/* (In) | |||||||||||
The point to project. | |||||||||||
*/ | |||||||||||
double tolerance | |||||||||||
/* (In) | |||||||||||
Maximum allowed distance from the point to the solid. | |||||||||||
*/ | |||||||||||
ProSurface* p_surface | |||||||||||
/* (Out) | |||||||||||
Surface where the point is projected. | |||||||||||
*/ | |||||||||||
ProUvParam uv_point | |||||||||||
/* (Out) | |||||||||||
The corresponding UV point on the surface. | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|