|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jeospace.coordinate.Polar
org.jeospace.coordinate.Ellipsoidal
A concrete subclass of Polar, Ellipsoidal represents a
form of a polar coordinate that is referenced to an Ellipsoid. Ellipsoidal
coordinates are commonly used in geographic applications.
In extending Polar:
Note: An Ellipsoidal coordinate with it's Ellipsoid parameter
set to null will perform identically to a Spherical coordinate.
For further reference see:
Coordinate Systems Overview
Coordinate Systems - A Deeper Understanding
Longitude,
Latitude,
Length,
Ellipsoid,
Cartesian,
Spherical,
Polar| Field Summary |
| Fields inherited from class org.jeospace.coordinate.Polar |
distance, latitude, longitude |
| Constructor Summary | |
Ellipsoidal()
Construct an Ellipsoidal coordinate object with default parameters. |
|
Ellipsoidal(Cartesian cartesian,
Ellipsoid ellipsoid)
Construct an Ellipsoidal coordinate object that cooresponds to the given
Cartesian coordinate. |
|
Ellipsoidal(double longitudeDegrees,
double latitudeDegrees,
Length elevation)
Construct an Ellipsoidal coordinate object with the given parameters from the given objects. |
|
Ellipsoidal(double longitudeDegrees,
double latitudeDegrees,
Length elevation,
Ellipsoid ellipsoid)
Construct an Ellipsoidal coordinate object with the given parameters from the given objects. |
|
Ellipsoidal(Ellipsoid ellipsoid)
Construct an Ellipsoidal coordinate object with default coordinate
parameters and the specified ellipsoid. |
|
Ellipsoidal(Longitude longitude,
Latitude latitude,
Length elevation)
Construct an Ellipsoidal coordinate object. |
|
Ellipsoidal(Longitude longitude,
Latitude latitude,
Length elevation,
Ellipsoid ellipsoid)
Construct an Ellipsoidal coordinate object. |
|
Ellipsoidal(Polar polar)
Construct an Ellipsoidal coordinate object from the argument
Polar coordinate. |
|
Ellipsoidal(Polar polar,
Ellipsoid ellipsoid)
Construct an Ellipsoidal coordinate object that cooresponds to the given
Polar |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compare two Ellipsoidal coordinate objects for equality. |
Cartesian |
getCartesian()
Get the Cartesian representation of the Ellipsoidal coordinate. |
void |
getCartesian(Cartesian cartesian)
Get the Cartesian representation of the Ellipsoidal coordinate object. |
Cartesian |
getCartesian(Length scale)
Get the Cartesian representation of the Ellipsoidal coordinate object. |
Ellipsoid |
getEllipsoid()
Get the Ellipsoid component of this coordinate object. |
int |
hashCode()
Calculate the hashcode |
void |
set(Cartesian cartesian)
Set the Ellipsoidal coordinate object's components. |
void |
set(Cartesian cartesian,
Ellipsoid ellipsoid)
Set the Ellipsoidal coordinate object's components. |
void |
set(double longitudeDegrees,
double latitudeDegrees,
Length elevation,
Ellipsoid ellipsoid)
Set the Ellipsoidal coordinate object's components. |
void |
set(Polar polar)
Set the Ellipsoidal coordinate object's components. |
void |
set(Polar polar,
Ellipsoid ellipsoid)
Set the Ellipsoidal coordinate object's components. |
void |
setEllipsoid(Ellipsoid ellipsoid)
Set the Ellipsoid component of this coordinate object. |
| Methods inherited from class org.jeospace.coordinate.Polar |
clear, getAngularSeparation, set, set, setToAntipode, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Ellipsoidal()
Ellipsoidal coordinate object with default parameters.
public Ellipsoidal(Ellipsoid ellipsoid)
Ellipsoidal coordinate object with default coordinate
parameters and the specified ellipsoid.
ellipsoid - the Ellipsoid that this coordinate object is defined for.public Ellipsoidal(Polar polar)
Ellipsoidal coordinate object from the argument
Polar coordinate.
polar - the Polar coordinate to represent as an
Ellipsoidal coordinate.
public Ellipsoidal(Cartesian cartesian,
Ellipsoid ellipsoid)
Ellipsoidal coordinate object that cooresponds to the given
Cartesian coordinate.
cartesian - the Cartesian coordinate to convert to an
Ellipsoidal representation.ellipsoid - the Ellipsoid that this coordinate object is defined for.
public Ellipsoidal(Polar polar,
Ellipsoid ellipsoid)
Ellipsoidal coordinate object that cooresponds to the given
Polar coordinate.
- Parameters:
polar - the Polar coordinate to convert to an
Ellipsoidal representation.ellipsoid - the Ellipsoid that this coordinate object is defined for.
public Ellipsoidal(double longitudeDegrees,
double latitudeDegrees,
Length elevation)
Ellipsoidal coordinate object with the given parameters from the given objects.
longitudeDegrees - the double value initializer for the Longitude component.latitudeDegrees - the double value initializer for the Latitude component.elevation - the Length component initializer.
public Ellipsoidal(double longitudeDegrees,
double latitudeDegrees,
Length elevation,
Ellipsoid ellipsoid)
Ellipsoidal coordinate object with the given parameters from the given objects.
longitudeDegrees - the double value initializer for the Longitude component.latitudeDegrees - the double value initializer for the Latitude component.elevation - the Length component initializer.ellipsoid - the Ellipsoid that this coordinate object is defined for.
public Ellipsoidal(Longitude longitude,
Latitude latitude,
Length elevation)
Ellipsoidal coordinate object.
longitude - the Longitude component initializer.latitude - the Latitude component initializer.elevation - the Length component initializer.
public Ellipsoidal(Longitude longitude,
Latitude latitude,
Length elevation,
Ellipsoid ellipsoid)
Ellipsoidal coordinate object.
longitude - the Longitude component initializer.latitude - the Latitude component initializer.elevation - the Length component initializer.ellipsoid - the Ellipsoid that this coordinate object is defined for.| Method Detail |
public void set(Cartesian cartesian,
Ellipsoid ellipsoid)
Ellipsoidal coordinate object's components.
cartesian - the Cartesian coordinate to convert to an
Ellipsoidal representation.ellipsoid - the Ellipsoid that this coordinate object is defined for.public void set(Polar polar)
Ellipsoidal coordinate object's components.
set in class Polarpolar - the Polar coordinate to represent as an
Ellipsoidal coordinate.
public void set(Polar polar,
Ellipsoid ellipsoid)
Ellipsoidal coordinate object's components.
polar - the Polar coordinate to convert to an
Ellipsoidal coordinate with respect to the argument
ellipsoid.ellipsoid - the Ellipsoid that this coordinate
object is defined for.
public void set(double longitudeDegrees,
double latitudeDegrees,
Length elevation,
Ellipsoid ellipsoid)
Ellipsoidal coordinate object's components.
longitudeDegrees - the double value initializer for the Longitude componentlatitudeDegrees - the double value initializer for the Latitude componentelevation - the Length component initializerellipsoid - the Ellipsoid that this coordinate object is defined for.public void set(Cartesian cartesian)
Ellipsoidal coordinate object's components.
set in class Polarcartesian - the Cartesian coordinate to convert to an
Ellipsoidal representation.public Cartesian getCartesian()
Cartesian representation of the Ellipsoidal coordinate.
getCartesian in class Polarpublic Cartesian getCartesian(Length scale)
Cartesian representation of the Ellipsoidal coordinate object.
getCartesian in class Polarscale - the Length object scale factor.
public void getCartesian(Cartesian cartesian)
Cartesian representation of the Ellipsoidal coordinate object.
getCartesian in class Polarcartesian - the Cartesian object to initialize.public void setEllipsoid(Ellipsoid ellipsoid)
Ellipsoid component of this coordinate object.
ellipsoid - the Ellipsoid to set.public Ellipsoid getEllipsoid()
Ellipsoid component of this coordinate object.
Ellipsoid component of this coordinate object.public int hashCode()
public boolean equals(java.lang.Object obj)
Ellipsoidal coordinate objects for equality. The result is
true if and only if the argument object is not null, is an
Ellipsoidal coordinate object and represents an identical position
as this Ellipsoidal coordinate object.
Two Ellipsoidal coordinate objects are equal only if it's constituent
Longitude, Latitude and Length objects are equal.
obj - the object to compare with
true if the Ellipsoidal coordinate objects are the same;
false otherwise.
|
Jeospace API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||