|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.views.maps.srs.coordsys.IlvCoordinateSystem
public abstract class IlvCoordinateSystem
The interface defining the coordinate systems.
| Constructor Summary | |
|---|---|
protected |
IlvCoordinateSystem(IlvCoordinateSystem source)
Constructs a new IlvCoordinateSystem by copying an existing one. |
protected |
IlvCoordinateSystem(IlvInputStream stream)
Reads the object from an IlvInputStream object. |
protected |
IlvCoordinateSystem(String name,
IlvUnit[] units,
String[] axisNames)
Constructs a new IlvCoordinateSystem. |
| Method Summary | |
|---|---|
abstract IlvCoordinateSystem |
copy()
Returns a copy of this coordinate system. |
boolean |
equals(Object other)
Returns true if this coordinate system is equal to
the specified coordinate system. |
String |
getAxisName(int dimension)
Returns the name of the axis which index is specified. |
int |
getDimension()
Returns the dimension of this coordinate system. |
String |
getName()
Returns the name of the coordinate system. |
IlvUnit |
getUnit(int dimension)
Returns the units of this coordinate system. |
String |
toString(IlvCoordinate p)
Creates a string representation of the IlvCoordinate
argument. |
void |
write(IlvOutputStream stream)
Writes the object to the specified IlvOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected IlvCoordinateSystem(String name,
IlvUnit[] units,
String[] axisNames)
IlvCoordinateSystem. The dimension of coordinates
in this coordinate system is defined by the number of elements in the
units[] parameter.
name - The name of the coordinate system.units - The units of the coordinate system.axisNames - The names of the axis in this coordinate system.protected IlvCoordinateSystem(IlvCoordinateSystem source)
IlvCoordinateSystem by copying an existing one.
source - The source coordinate system.
protected IlvCoordinateSystem(IlvInputStream stream)
throws IlvReadFileException
IlvInputStream object.
stream - The input stream.
IlvReadFileException - If the format is not correct.| Method Detail |
|---|
public void write(IlvOutputStream stream)
throws IOException
IlvOutputStream.
write in interface IlvPersistentObjectstream - The stream to write this unit to.
IOException - If an I/O error occurs.public abstract IlvCoordinateSystem copy()
public String getName()
public int getDimension()
public IlvUnit getUnit(int dimension)
public String getAxisName(int dimension)
public boolean equals(Object other)
true if this coordinate system is equal to
the specified coordinate system. The default implementation will compare
coordinate system names, dimension, units, and axis names.
equals in class Objectpublic String toString(IlvCoordinate p)
IlvCoordinate
argument.
p - The coordinate to be converted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||