```python
from decodes.core import *
from decodes.io.jupyter_out import JupyterOut
out = JupyterOut.unit_square( )
```

# Alternate Coordinate Geometry
todo




\begin{align}
x = r \ cos\theta \\
y = r \ sin\theta
\end{align}






### Cylindrical Coordinates




\begin{eqnarray}
x &=& r \ cos\theta \\
y &=& r \ sin\theta \\
z &=& z 
\end{eqnarray}





```python
"""
Cylindrical Evaluation of an Orthonormal CS
Returns a Point relative to this CS given three cylindrical coordinates.
"""
def eval_cyl(self, radius, radians, z):
    pt = Point( radius * cos(radians), radius * sin(radians), z)
    return self.eval(pt)
```



### Spherical Coordinates




\begin{eqnarray}
x &=& \varrho \ sin\varphi \ cos\theta \\
y &=& \varrho \ sin\varphi \ sin\theta \\
z &=& \varrho \ cos\varphi 
\end{eqnarray}





```python
"""
Spherical Evaluation of an Orthonormal CS
Returns a Point relative to this CS given three spherical coordinates.
"""
def eval_sph(self, rho, phi, theta):
    x = rho * sin(phi) * cos(theta)
    y = rho * sin(phi) * sin(theta)
    z = rho * cos(phi)
    return self.eval(Point(x,y,z))

```






```python

```

01e426468b930e59a3e841bb870f26e27ac28a6e
ipynb
Jupyter Notebook
103 - Points, Vectors, and Coordinate Systems/109 - Alternate Coordinate Geometry.ipynb
ksteinfe/decodes_ipynb
2e4bb6b398472fc61ef8b88dad7babbdeb2a5754
MIT
2018-05-15T14:31:23.000Z
2018-05-15T14:31:23.000Z
103 - Points, Vectors, and Coordinate Systems/109 - Alternate Coordinate Geometry.ipynb
ksteinfe/decodes_ipynb
2e4bb6b398472fc61ef8b88dad7babbdeb2a5754
MIT
103 - Points, Vectors, and Coordinate Systems/109 - Alternate Coordinate Geometry.ipynb
ksteinfe/decodes_ipynb
2e4bb6b398472fc61ef8b88dad7babbdeb2a5754
MIT
2020-05-19T05:40:18.000Z
2020-06-28T02:18:08.000Z
Qwen/Qwen-72B
1. YES
2. YES