File: polar_coordinates.md

package info (click to toggle)
python-pyglm 2.8.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,008 kB
  • sloc: cpp: 53,029; python: 3,683; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 728 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[//]: # (generated using SlashBack 0.2.0)

  
# polar\_coordinates methods  
The following methods are all part of the **polar\_coordinates methods**\.  
Conversion from Euclidean space to polar space and revert\.  
## Table of contents  
  
* [**euclidean** function](#euclidean-function)  
* [**polar** function](#polar-function)  
  
### euclidean\(\) function  
#### <code>glm.<code>**euclidean**(**polar**: *vec2*) -\> *vec3*</code></code>  
&emsp;&emsp;Convert Polar to Euclidean coordinates\.  
  
### polar\(\) function  
#### <code>glm.<code>**polar**(**euclidean**: *vec3*) -\> *vec3*</code></code>  
&emsp;&emsp;Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude\.