|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectru.igis.omtab.Tow
public class Tow
Class supporting tow functionallity
Field Summary | |
---|---|
static double |
Pim2
whole circle in radians |
Constructor Summary | |
---|---|
Tow(MapOb mo,
double a,
double d,
boolean r)
Constructor with simple type parameters |
|
Tow(MapOb mo,
java.lang.Float a,
java.lang.Float d,
java.lang.Boolean r)
Constructor with all Object type parameters |
Method Summary | |
---|---|
MapOb |
getMapOb()
Method to get towed object |
void |
setAngle(double deg)
Method to change angle from towing object to towed object |
void |
setDistance(double nm)
Method to change distance from towing object to towed object |
void |
setRelative(boolean r)
Method to change relativeness of rotation angle of towed object |
void |
tow(double lat,
double lon)
Method of movement of towed object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static double Pim2
Constructor Detail |
---|
public Tow(MapOb mo, java.lang.Float a, java.lang.Float d, java.lang.Boolean r)
mo
- - Map Object to put on towa
- - angle from Towing object on towed object in degreesd
- - distance from Towing object on towed object in NMr
- - is towed object must change rotation angle synchronously
with towing objectpublic Tow(MapOb mo, double a, double d, boolean r)
mo
- - Map Object to put on towa
- - angle from Towing object on towed object in degreesd
- - distance from Towing object on towed object in NMr
- is towed object must change rotation angle synchronously with towing objectMethod Detail |
---|
public void tow(double lat, double lon)
lat
- - latitude in degreeslon
- - longitude in degreespublic MapOb getMapOb()
public void setAngle(double deg)
deg
- - new angle in degreespublic void setDistance(double nm)
nm
- - new distance in NMpublic void setRelative(boolean r)
r
- - new relative flag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |