Nothing
`TOCART.DIP` <-
function(az, dip)
{
##### Convert from spherical (az, dip in degrees) to Cartesian coordinates
##### x pos north, y pos east, z pos downward
##### az in degrees from north, dip in degrees from Z (down)
DEG2RAD = pi/180;
azrad = az * DEG2RAD;
diprad = dip * DEG2RAD;
z = sin(diprad);
temp = cos(diprad);
x = cos(azrad) * temp;
y = sin(azrad) * temp;
len=sqrt(x*x+y*y+z*z)
z = z/len
x = x/len
y = y/len
return(list(x=x,y=y,z=z, az=az, dip=dip));
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.