public class MapPointSet
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
com.glmapview.GLNativeObject.Type |
| Constructor and Description |
|---|
MapPointSet()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(MapPoint point)
Check if point with given coordinates exists in set.
|
void |
dispose() |
void |
insert(MapPoint point)
Insert new point to set.
|
boolean |
insertUnique(MapPoint point)
Insert new point to set.
|
MapPoint |
nearest(MapPoint point)
Returns nearest point in set
|
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.public MapPoint nearest(MapPoint point)
point - reference point to calculate distancepublic void dispose()
Copyright © 2017 GetYourMap. All Rights Reserved.