Online conversion calculation between 3D rectangular coordinates, spherical coordinates and cylindrical coordinates


>>

This online application is capable of converting between three-dimensional Cartesian coordinates (x, y, z), spherical coordinates (r, θ, φ) and cylindrical coordinates (rou, θ, z) and supports batch conversion. Note that the angle units of the input and output here are all in radians.

Some necessary instructions:

The relationship between spherical coordinates (r, θ, φ) and Cartesian coordinates (x, y, z) (note that this is different from what is defined elsewhere):

x=rcosθcosφ

y=rsinθcosφ

z=rsinφ Where r is the radial distance, θ is the longitude, φ is the latitude and is positive on the positive z-axis and negative on the negative z-axis.

The relationship between the cylindrical coordinates (rou, θ, z) and the Cartesian coordinates (x, y, z) (note that this may be different from the definition elsewhere):

x=rou·cosθ

y=rou·sinθ

z=z

Instructions for use:

(1) Select the type before and after conversion in the above selection box;

(2) Enter the data before conversion in the text box on the left, separated by spaces or commas;

(3) Click “Convert” to display the converted result in the text box on the right;

(4) If batch calculation is required, the input data of each group is separated by a semicolon or a new line;

Note 1: If the data before and after conversion contains angle data, the unit is radians (so if the angle unit of your original data is degree or other units, you need to convert it in advance)

Note 2: The three components of Cartesian coordinates are: x y z; the three components of the spherical coordinates are: distance Longitude Latitude; the three components of the cylindrical coordinates are: (x^2+y^2)^0.5 Longitude z. Please pay attention to the order

For example, if you select the conversion method to “3D Cartesian” to “3D spherical coordinates”, if you enter in the text box on the left:

1.2 3.4 -5.6

3.2 5.7 2.9

The result after batch conversion is

6.66033032213868 1.23150371234085 -0.998757738519511

7.15122367151245 1.05924019962459 0.417553106144344

 

    Sign in for comments!
Comment list (0)

Powered by TorCMS (https://github.com/bukun/TorCMS).