org.gwtopenmaps.openlayers.client.geometry
Class Point
java.lang.Object
org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
org.gwtopenmaps.openlayers.client.geometry.Geometry
org.gwtopenmaps.openlayers.client.geometry.Point
public class Point
- extends Geometry
...
- Author:
- Edwin Commandeur - Atlis EJS
Point
protected Point(JSObject point)
Point
public Point(double x,
double y)
- Parameters:
x
- - doubley
- - double
narrowToPoint
public static Point narrowToPoint(JSObject point)
getX
public double getX()
getY
public double getY()
getId
public String getId()
setX
public void setX(double x)
setY
public void setY(double y)
getXY
public double[] getXY()
setXY
public void setXY(double x,
double y)
equals
public boolean equals(Point p)
- APIMethod: equals Determine whether another geometry is equivalent to
this one. Geometries are considered equivalent if all components have the
same coordinates.
Parameters: p - {} The geometry to test.
Returns: {Boolean} The supplied geometry is equivalent to this geometry.
transform
public void transform(Projection source,
Projection dest)
- Translate the x,y properties of the point from source to dest.
- Parameters:
source
- dest
-
Copyright © 2011 sourceforge. All Rights Reserved.