Constructor and Description |
---|
GHPoint() |
GHPoint(double lat,
double lon) |
Modifier and Type | Method and Description |
---|---|
static GHPoint |
create(org.locationtech.jts.geom.Point point) |
boolean |
equals(Object obj) |
static GHPoint |
fromJson(double[] xy) |
static GHPoint |
fromString(String str) |
static GHPoint |
fromStringLonLat(String str) |
double |
getLat() |
double |
getLon() |
int |
hashCode() |
boolean |
isValid() |
Double[] |
toGeoJson()
Attention: geoJson is LON,LAT
|
String |
toShortString() |
String |
toString() |
public static GHPoint create(org.locationtech.jts.geom.Point point)
public static GHPoint fromJson(double[] xy)
public double getLon()
public double getLat()
public boolean isValid()
public String toShortString()
public Double[] toGeoJson()
Copyright © 2012–2020. All rights reserved.