Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members Related Pages Search
SphericalCoord Class ReferenceA coordinate in a coordinate system with an azimuthal, polar, and radial.
More...
#include <sphericalcoord.h>
Collaboration diagram for SphericalCoord:
[legend]List of all members.
|
Public Methods |
| SphericalCoord (double azimuthal, double polar, double radial) |
Public Attributes |
Cartesian3DCoord | toCartesianCoord () |
| Returns coordinates on a 3-dimensional cartesian coordinate system.
|
Detailed Description
A coordinate in a coordinate system with an azimuthal, polar, and radial.
Definition at line 30 of file sphericalcoord.h.
Member Data Documentation
Cartesian3DCoord SphericalCoord::toCartesianCoord
|
|
|
Returns coordinates on a 3-dimensional cartesian coordinate system.
x = radial * cos(azimuthal) * sin(polar)
y = radial * sin(azimuthal) * sin(polar)
z = radial * cos(polar)
Definition at line 27 of file sphericalcoord.cpp.
Referenced by GLPolarGraph::getValues(). |
The documentation for this class was generated from the following files:
|