|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjasi.sim.basic.value.AbstractSimValueType
jasi.sim.basic.value.AbstractComparableObject<T>
jasi.sim.geo.ComparableGeoObject<Arc>
jasi.sim.geo.spherical.Arc
jasi.sim.geo.spherical.Latitude
public final class Latitude
Latitude is the spherical distance of a location to the equator. Its value ranges from 0° to 90° north positive, south negative.
| Field Summary | |
|---|---|
static Latitude |
EQUATOR
Latitude of equator. |
static Latitude |
NORTH_POLE
Latitude of north pole. |
static Latitude |
SOUTH_POLE
Latitude of south pole. |
| Fields inherited from class jasi.sim.geo.spherical.Arc |
|---|
CIRCLE, HALF_CIRCLE, RECTANGLE, ZERO |
| Fields inherited from interface jasi.sim.geo.Geometric |
|---|
BEGIN, END, MIDLE |
| Constructor Summary | |
|---|---|
Latitude(double arc)
Constructor of a latitude. |
|
Latitude(Latitude arc)
Constructor of a latitude. |
|
Latitude(java.lang.String s)
Constructor of a latitude. |
|
| Method Summary | |
|---|---|
protected double |
convert(java.lang.String s)
Convert that string to an latitude value. |
boolean |
equals(java.lang.Object o)
Indicates whether some other object is "equal to" this one. |
protected double |
fit(double arc)
Check that arc length is inside the latitude section. |
double |
getLength()
Get length of this latitude. |
int |
hashCode()
Returns a hash code value for the object. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class jasi.sim.geo.spherical.Arc |
|---|
acos, add, amount, asin, compareTo, cos, length, minus, sin, times, toDegree, toRadians, toRadians |
| Methods inherited from class jasi.sim.basic.value.AbstractComparableObject |
|---|
isEQ, isGE, isGT, isLE, isLT, isNE |
| Methods inherited from class jasi.sim.basic.value.AbstractSimValueType |
|---|
getContent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jasi.sim.basic.value.SimValue |
|---|
getContent |
| Field Detail |
|---|
public static final Latitude EQUATOR
public static final Latitude NORTH_POLE
public static final Latitude SOUTH_POLE
| Constructor Detail |
|---|
public Latitude(double arc)
arc - The arc.public Latitude(java.lang.String s)
s - The string representation of a latitude.public Latitude(Latitude arc)
arc - The arc.| Method Detail |
|---|
public double getLength()
protected double fit(double arc)
fit in class Arcarc - That arc length.
protected double convert(java.lang.String s)
convert in class Arcs - The string representing a latitude.
public boolean equals(java.lang.Object o)
equals in class Arco - That object which is compared with this object.
public int hashCode()
hashCode in class Arcpublic java.lang.String toString()
toString in class Arc
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||