@Deprecated public class FixedLatLng extends LatLng
NOTE: This API is still in flux and might change in incompatible ways in the next release.
Modifier and Type | Field and Description |
---|---|
static double |
SCALE_FACTOR
Deprecated.
|
static int |
SCALE_FACTOR_INT
Deprecated.
|
Constructor and Description |
---|
FixedLatLng(int lat,
int lng)
Deprecated.
|
FixedLatLng(LatLng ll)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
LatLng |
calculateMidpoint(LatLng other)
Deprecated.
Calculate the midpoint between this point an another.
|
LatLng |
copy()
Deprecated.
|
static int |
doubleToFixed(double d)
Deprecated.
|
boolean |
equals(Object obj)
Deprecated.
|
static double |
fixedToDouble(int fixed)
Deprecated.
|
int |
getFixedLat()
Deprecated.
|
int |
getFixedLng()
Deprecated.
|
double |
getLat()
Deprecated.
|
double |
getLng()
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isFixedPoint()
Deprecated.
|
boolean |
isNormalized()
Deprecated.
|
LatLng |
normalize()
Deprecated.
|
protected void |
setLat(int lat)
Deprecated.
|
protected void |
setLng(int lng)
Deprecated.
|
FixedLatLng |
toFixed()
Deprecated.
|
FloatLatLng |
toFloat()
Deprecated.
|
arcDistance, arcDistance, fromCartesian, toCartesian, toString
public static final double SCALE_FACTOR
public static final int SCALE_FACTOR_INT
public FixedLatLng(int lat, int lng)
public FixedLatLng(LatLng ll)
protected void setLat(int lat)
protected void setLng(int lng)
public static double fixedToDouble(int fixed)
public static int doubleToFixed(double d)
public int getFixedLat()
getFixedLat
in class LatLng
public int getFixedLng()
getFixedLng
in class LatLng
public boolean isFixedPoint()
isFixedPoint
in class LatLng
public FixedLatLng toFixed()
public FloatLatLng toFloat()
public boolean isNormalized()
isNormalized
in class LatLng
public LatLng calculateMidpoint(LatLng other)
LatLng
calculateMidpoint
in class LatLng