Is it possible to get each point on surface by UV point?
what I want to do is extracting surface data by ProSurfaceDataGet.
then transfer the UV point to XYZpoint.
after that, transferring XYZ point according to assembly coordinate system.
Below is my concept of getting each point on a surface.
However, I'm not sure if the XYZ point is the exact point on the surface.
--
err=ProSurfaceDataGet(SurfsArray,&surf_data);
for(int U=0;U<50;U++)
{
for(int V=0;V<50;V++)
{
double v_temp_test;
v_temp_test=(surf_data->data.p_surface_data->uv_max[1]-surf_data->data.p_surface_data->uv_min[1])/10;
double u_temp_test;
u_temp_test=(surf_data->data.p_surface_data->uv_max[0]-surf_data->data.p_surface_data->uv_min[0])/10;
test_uv[0]=surf_data->data.p_surface_data->uv_min[0]+u_temp_test*U;
test_uv[1]=surf_data->data.p_surface_data->uv_min[1]+v_temp_test*V;
err=ProSurfaceXyzdataEval(SurfsArray,test_uv,xyz_point1,NULL,NULL,NULL);
err=ProPntTrfEval(xyz_point1,start_transformation_part,out_trans_point);
}
}
-----

