[Paraview] Converting Longitude, latitude and Radius (distance) to XYZ (spherical coordinates)‏

Lester Anderson lester_anderson1963 at hotmail.com
Fri Aug 13 13:02:34 EDT 2010


Hello again

Sorted out the calculator bit :

(coordsZ*cos(coordsX*3.14159265/180)*cos(coordsY*3.14159265/180))*iHat+(coordsZ*sin(coordsX*3.14159265/180)*cos(coordsY*3.14159265/180))*jHat+(coordsZ*sin(coordsY*3.14159265/180))*kHat

The model is now complete !

There is no Pi value in the calculator so had to use the numeric value (to reasonable approximation). Perhaps a new feature to have or a button to do degrees to radians vice versa.

Cheers

Lester
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100813/0c1b4db8/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Global_tomo_sphere3a.jpg
Type: image/jpeg
Size: 43145 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100813/0c1b4db8/attachment-0001.jpg>


More information about the ParaView mailing list