|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.extra.shapefile.Point
public class Point
Constructor Summary | |
---|---|
Point(double x,
double y)
|
|
Point(GeoPoint gp)
|
|
Point(Payload p)
|
|
Point(Point p)
|
Method Summary | |
---|---|
GeoPoint |
getGeoPoint()
Returns a GeoPoint instance |
double |
getLatitude()
|
double |
getLongitude()
|
double |
getM()
|
static Point[] |
getPoints(GeoPoint... gp)
Returns Point array for an array of GeoPoints |
static Point[] |
getPoints(GeoPoint gp)
Returns Point array for single GeoPoint |
static Point[] |
getPoints(GeoPolygon gp)
Returns Point array of the GeoPoints contained within the GeoPolygon |
double |
getX()
|
double |
getY()
|
double |
getZ()
|
boolean |
hasM()
|
boolean |
hasZ()
|
void |
setM(double m)
|
void |
setZ(double z)
|
java.lang.String |
toString()
|
Payload |
write(Payload p)
|
Payload |
writeM(Payload p)
|
Payload |
writeZ(Payload p)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Point(Point p)
public Point(Payload p)
public Point(double x, double y)
public Point(GeoPoint gp)
Method Detail |
---|
public static Point[] getPoints(GeoPoint gp)
public static Point[] getPoints(GeoPoint... gp)
public static Point[] getPoints(GeoPolygon gp)
public double getX()
public double getLongitude()
public double getY()
public double getLatitude()
public GeoPoint getGeoPoint()
GeoPointProvider
getGeoPoint
in interface GeoPointProvider
public void setZ(double z)
public boolean hasZ()
public double getZ()
public void setM(double m)
public boolean hasM()
public double getM()
public Payload write(Payload p)
public Payload writeZ(Payload p)
public Payload writeM(Payload p)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |