public final class IlvCoordinate extends Object implements Cloneable, Serializable
IlvCoordinate
is a point defined by two values in double
precision. The class IlvCoordinate
is the basic data structure
for computing projections.
The x
and y
values designate either the Cartesian coordinates
resulting from a forward projection or the latitude and the longitude
obtained by inverse computation.
This class is in the ilog.views.maps
package since Rogue Wave JViews 3.0.
In Rogue Wave JViews 2.x the IlvCoordinate
class was located in the
ilog.views.maps.projection
package.
Modifier and Type | Field and Description |
---|---|
double |
x
x (Cartesian coordinate of a point or longitude).
|
double |
y
y (Cartesian coordinate of a point or latitude).
|
double |
z
z (Cartesian coordinate of a point or altitude).
|
Constructor and Description |
---|
IlvCoordinate()
Creates new coordinates located at (0,0).
|
IlvCoordinate(double x,
double y)
Creates new coordinates at the specified location.
|
IlvCoordinate(double x,
double y,
double z)
Creates new coordinates at the specified location.
|
IlvCoordinate(IlvCoordinate source)
Creates new coordinates by copying a existing ones.
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Copies the coordinate.
|
boolean |
equals(Object point)
Tests the equality of the coordinates.
|
int |
hashCode()
Returns hashcode for this coordinate
|
String |
toString()
Translate the point to a string.
|
public double x
public double y
public double z
public IlvCoordinate()
public IlvCoordinate(double x, double y)
x
- the x location.y
- the y location.public IlvCoordinate(double x, double y, double z)
x
- the x location.y
- the y location.z
- the z location.public IlvCoordinate(IlvCoordinate source)
source
- the coordinates to be copied.public boolean equals(Object point)
public int hashCode()
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.