I am getting an output as an Array of Points from one section of the program and I want to use those array of Points to create a face in Sketchup, using its C SDK. How can I convert the array into SUPoint3D?
Following Code worked for me, pretty trivial :P
int a[10],b[10],c[10]; //Integer Arrays
SUPoint3D pts[10]; //SUPoint3D variables
for (int i=0;i<10;i++)
{
pts[i].x=a[i];
pts[i].y=b[i];
pts[i].z=c[i];
}