Descartes2Polar

From EosPedia
Jump to: navigation, search

Descartes2Polar is Eos's Command that transforms from Cartesian coordinate system to Polar coordinates system.


List of option

Main option

Option Essential/Optional Description Default
-i Optional Input: Coordinates(x, y, z) (0.0, 1.0, 0.0)
-o Optional Output: ASCII stdout
-centre Optional centre axis(cx, cy, cz) (0.0, 0.0, 0.0)
-xaxis Optional x-axis(xx, xy, xz) (1.0, 0.0, 0.0)
-zaxis Optional z-axis(zx, zy, zz) (0.0, 0.0, 1.0)
-c Optional ConfigurationFile NULL
-m Optional Mode 0
-h Optional Help  

-m details

Value Description
0


Execution example

Case: Options only essential

              1              90              90


Option -i

Case: i=(1, 0, 0)

              1               0              90


Option -centre

Case: centre=(1, 0, 0)

        1.41421             135              90


Option -xaxis

Case: xaxis=(1, 1, 0)

              1             135              90


Option -zaxis

Case: zaxis=(0, -1.7, 1)

              1              90         30.4655