GRASS
Class Site
java.lang.Object
|
+--GRASS.Site
- public class Site
- extends java.lang.Object
Represents a site (a point with x,y coordinates and description)
from the GRASS database.
|
Field Summary |
java.lang.String |
desc
Site description |
float |
east
easting (x) |
float |
north
northing (y) |
|
Constructor Summary |
Site(float east,
float north,
java.lang.String desc)
Creates a new site. |
|
Method Summary |
java.lang.String |
toString()
Returns a String representations of the object. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
east
public float east
- easting (x)
north
public float north
- northing (y)
desc
public java.lang.String desc
- Site description
Site
public Site(float east,
float north,
java.lang.String desc)
- Creates a new site.
- Parameters:
east - eastingnorth - northingdesc - site description
toString
public java.lang.String toString()
- Returns a String representations of the object.
- Returns:
- string representation of the object
- Overrides:
- toString in class java.lang.Object
GRASS-JNI Home Page