Home

Download

Features

Screenshots

Handbook

Browse Source

Authors

SourceForge.net Logo
Hosted by SourceForge.net

OSI Certified


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Search  

SphericalCoord Class Reference

A coordinate in a coordinate system with an azimuthal, polar, and radial. More...

#include <sphericalcoord.h>

Collaboration diagram for SphericalCoord:

Collaboration graph
[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: