public class BoundingBoxE6 extends Object implements android.os.Parcelable, Serializable, MapViewConstants
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<BoundingBoxE6> |
CREATOR |
protected int |
mLatNorthE6 |
protected int |
mLatSouthE6 |
protected int |
mLonEastE6 |
protected int |
mLonWestE6 |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
ANIMATION_DURATION_DEFAULT, ANIMATION_DURATION_LONG, ANIMATION_DURATION_SHORT, ANIMATION_SMOOTHNESS_DEFAULT, ANIMATION_SMOOTHNESS_HIGH, ANIMATION_SMOOTHNESS_LOW, DEBUGMODE, MINIMUM_ZOOMLEVEL, NOT_SET
Constructor and Description |
---|
BoundingBoxE6(double north,
double east,
double south,
double west) |
BoundingBoxE6(int northE6,
int eastE6,
int southE6,
int westE6) |
Modifier and Type | Method and Description |
---|---|
GeoPoint |
bringToBoundingBox(int aLatitudeE6,
int aLongitudeE6) |
boolean |
contains(IGeoPoint pGeoPoint) |
boolean |
contains(int aLatitudeE6,
int aLongitudeE6) |
int |
describeContents() |
static BoundingBoxE6 |
fromGeoPoints(ArrayList<? extends GeoPoint> partialPolyLine) |
GeoPoint |
getCenter() |
int |
getDiagonalLengthInMeters() |
GeoPoint |
getGeoPointOfRelativePositionWithExactGudermannInterpolation(float relX,
float relY) |
GeoPoint |
getGeoPointOfRelativePositionWithLinearInterpolation(float relX,
float relY) |
int |
getLatitudeSpanE6() |
int |
getLatNorthE6() |
int |
getLatSouthE6() |
int |
getLonEastE6() |
int |
getLongitudeSpanE6() |
int |
getLonWestE6() |
android.graphics.PointF |
getRelativePositionOfGeoPointInBoundingBoxWithExactGudermannInterpolation(int aLatitudeE6,
int aLongitudeE6,
android.graphics.PointF reuse) |
android.graphics.PointF |
getRelativePositionOfGeoPointInBoundingBoxWithLinearInterpolation(int aLatitude,
int aLongitude,
android.graphics.PointF reuse) |
BoundingBoxE6 |
increaseByScale(float pBoundingboxPaddingRelativeScale) |
String |
toString() |
void |
writeToParcel(android.os.Parcel out,
int arg1) |
protected final int mLatNorthE6
protected final int mLatSouthE6
protected final int mLonEastE6
protected final int mLonWestE6
public static final android.os.Parcelable.Creator<BoundingBoxE6> CREATOR
public BoundingBoxE6(int northE6, int eastE6, int southE6, int westE6)
public BoundingBoxE6(double north, double east, double south, double west)
public GeoPoint getCenter()
public int getDiagonalLengthInMeters()
public int getLatNorthE6()
public int getLatSouthE6()
public int getLonEastE6()
public int getLonWestE6()
public int getLatitudeSpanE6()
public int getLongitudeSpanE6()
public android.graphics.PointF getRelativePositionOfGeoPointInBoundingBoxWithLinearInterpolation(int aLatitude, int aLongitude, android.graphics.PointF reuse)
aLatitude
- aLongitude
- reuse
- public android.graphics.PointF getRelativePositionOfGeoPointInBoundingBoxWithExactGudermannInterpolation(int aLatitudeE6, int aLongitudeE6, android.graphics.PointF reuse)
public GeoPoint getGeoPointOfRelativePositionWithLinearInterpolation(float relX, float relY)
public GeoPoint getGeoPointOfRelativePositionWithExactGudermannInterpolation(float relX, float relY)
public BoundingBoxE6 increaseByScale(float pBoundingboxPaddingRelativeScale)
public GeoPoint bringToBoundingBox(int aLatitudeE6, int aLongitudeE6)
public static BoundingBoxE6 fromGeoPoints(ArrayList<? extends GeoPoint> partialPolyLine)
public boolean contains(IGeoPoint pGeoPoint)
public boolean contains(int aLatitudeE6, int aLongitudeE6)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel out, int arg1)
writeToParcel
in interface android.os.Parcelable
Copyright © 2015. All Rights Reserved.