Diplomova_Prace_Klabenes  1.0
Public Member Functions | List of all members
fei.address.PointPolar Class Reference

Public Member Functions

 PointPolar (Point2D point, Address depo)
 
double getPhi ()
 
String toString ()
 

Detailed Description

Třída objektů typu PointPolar. Objekt typu PointPolar je adresa vypočítána jako úhel a vzdálenost od depa, které má tuto adresu přidělenu.

Constructor & Destructor Documentation

◆ PointPolar()

fei.address.PointPolar.PointPolar ( Point2D  point,
Address  depo 
)

Standardní konstruktor objektu.

Parameters
pointsouřadnice aktuálního objektu Address
depoadresa depa, kterému patří souřadnice adresy výše.

Member Function Documentation

◆ getPhi()

double fei.address.PointPolar.getPhi ( )

Získá velikost úhlu phi mezi depem a aktuálním bodem.

Returns
velikost úhlu phi.

◆ toString()

String fei.address.PointPolar.toString ( )

Výpis.

Returns
vypíše incormace o vzdálenosti od depa (r) a úhlu depa a aktuálnho bodu (phi).

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