if you voxilize the object then yes it is very easy
you can run following code to see how it work:
h = volshow(spiralVol);
B = bwperim(spiralVol);
h = volshow(B);
to voxilize your volume:
Just make a zeros matrix V with your volume's dimention and then make the voxels with x,y,z of your shape to be equal to 1.
you can reverese the above algoritm to extract X,Y,Z of the surface of you volume.