A point representing a point in a polygon or a coordinate on the map
More...
◆ Point() [1/2]
◆ Point() [2/2]
| Point |
( |
int |
xcoord, |
|
|
int |
ycoord |
|
) |
| |
Create a point with initial coordinate
- Parameters
-
| xcoord | - x coord ( use internal projection if passed to other api methods ) |
| ycoord | - y coord ( use internal projection if passed to other api methods ) |
◆ equals()
| boolean equals |
( |
Object |
o | ) |
|
|
inherited |
◆ getPolyDist()
| native double getPolyDist |
( |
Polygon |
hPolygon | ) |
|
- Returns
- the distance of the point to the polygon in meters.
◆ getXCoord()
- Returns
- the points x coord ( in internal projection if created by api )
◆ getYCoord()
- Returns
- the points y coord ( in internal projection if created by api )
◆ setWgsCoords()
| native ApiError setWgsCoords |
( |
double |
wgsLongitudeXCoord, |
|
|
double |
wgsLatitudeYCoord |
|
) |
| |
Sets coordinates by longitude and latitude. The coordinates will be transformed to the internal projection!
◆ setXCoord()
- Parameters
-
| xcoord | set the points x coord ( in internal projection if created by api ) |
- Returns
- Errorcode
◆ setYCoord()
- Parameters
-
| ycoord | set the points y coord ( in internal projection if created by api ) |
- Returns
- Errorcode
The documentation for this class was generated from the following file: