public class MapPointSet extends GLNativeObject
MapPointSet handles operations on set of points.
Useful to find nearest point in map coordinates or check if point already exists| Constructor and Description |
|---|
MapPointSet()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(MapPoint point)
Checks if point with given coordinates exists in set.
|
long |
getDisposeFunction() |
void |
insert(MapPoint point)
Inserts new point to set.
|
boolean |
insertUnique(MapPoint point)
Inserts new point to set.
|
MapPoint |
nearest(MapPoint point)
Returns nearest point in set
|
disposepublic long getDisposeFunction()
public void insert(MapPoint point)
point - Point to insert.public boolean insertUnique(MapPoint point)
point - point to insert.public boolean contains(MapPoint point)
point - point to insert.Copyright © 2018 GetYourMap. All Rights Reserved.