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  

PolarCoord Class Reference

A class for storing a polar coordinate and can convert it into other coordinates. More...

#include <polarcoord.h>

Inheritance diagram for PolarCoord:

Inheritance graph
[legend]
Collaboration diagram for PolarCoord:

Collaboration graph
[legend]
List of all members.

Public Methods

 PolarCoord (double radius=0, double angle=0, int angleMode=RADIANS, bool bearing=false)
double x () const
double y () const
void setAngleMode (const unsigned int m)
double getAngle ()
double getRadius ()
void setBearingMode (bool m)

Public Attributes

RectCoord toRectangular ()

Static Public Attributes

const unsigned int RADIANS = 0
const unsigned int DEGREES = 1

Detailed Description

A class for storing a polar coordinate and can convert it into other coordinates.

Author:
Fungmeista

Definition at line 29 of file polarcoord.h.


The documentation for this class was generated from the following files: