public class BoundingBox extends Object implements Serializable, MapViewConstants
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
protected double |
mLatNorth |
protected double |
mLatSouth |
protected double |
mLonEast |
protected double |
mLonWest |
(package private) static long |
serialVersionUID |
ANIMATION_DURATION_DEFAULT, ANIMATION_DURATION_LONG, ANIMATION_DURATION_SHORT, ANIMATION_SMOOTHNESS_DEFAULT, ANIMATION_SMOOTHNESS_HIGH, ANIMATION_SMOOTHNESS_LOW, DEBUGMODE, MAXIMUM_ZOOMLEVEL, MINIMUM_ZOOMLEVEL, NOT_SET
Constructor and Description |
---|
BoundingBox(double north,
double east,
double south,
double west) |
static final long serialVersionUID
protected final double mLatNorth
protected final double mLatSouth
protected final double mLonEast
protected final double mLonWest
public static final <any> CREATOR
public BoundingBox(double north, double east, double south, double west)
public GeoPoint getCenter()
public double getDiagonalLengthInMeters()
public double getLatNorth()
public double getLatSouth()
public double getLonEast()
public double getLonWest()
public double getLatitudeSpan()
public double getLongitudeSpan()
public PointF getRelativePositionOfGeoPointInBoundingBoxWithLinearInterpolation(double aLatitude, double aLongitude, PointF reuse)
aLatitude
- aLongitude
- reuse
- public PointF getRelativePositionOfGeoPointInBoundingBoxWithExactGudermannInterpolation(double aLatitude, double aLongitude, PointF reuse)
public GeoPoint getGeoPointOfRelativePositionWithLinearInterpolation(float relX, float relY)
public GeoPoint getGeoPointOfRelativePositionWithExactGudermannInterpolation(float relX, float relY)
public BoundingBox increaseByScale(float pBoundingboxPaddingRelativeScale)
public GeoPoint bringToBoundingBox(double aLatitude, double aLongitude)
public static BoundingBox fromGeoPoints(List<? extends IGeoPoint> partialPolyLine)
public boolean contains(IGeoPoint pGeoPoint)
public boolean contains(double aLatitude, double aLongitude)
public int describeContents()
public void writeToParcel(Parcel out, int arg1)
@Deprecated public int getLatitudeSpanE6()
@Deprecated public int getLongitudeSpanE6()