API-Dokumentation > Geometry items > Object ProSurface > Function ProSurfaceDiameterEval
Function ProSurfaceDiameterEval
Description
Finds the surface diameter in the specified UV point.
Replacement in Object TOOLKIT:
Synopsis
#include <ProSurface.h>
ProSurfaceDiameterEval
(
ProSurface p_surface
/* (In)
The surface handle. Only revolved surfaces are allowed (cylinder, cone, and so on).
*/
ProUvParam uv_point
/* (In)
The UV point. This is ignored when the surface diameter is constant.
*/
double* p_diameter
/* (Out)
The resulting diameter.
*/
)
Returns
The function successfully evaluated the diameter.
One or more of the input arguments are invalid.
Sample Code References
User Guide References
War dies hilfreich?