Class LatLongRect

  • All Implemented Interfaces:
    android.os.Parcelable

    public class LatLongRect
    extends java.lang.Object
    implements android.os.Parcelable
    Not technically a rectangle, but the closest you can get in spherical coordinates, this specifies an area of the world.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static android.os.Parcelable.Creator<LatLongRect> CREATOR  
      LatLong Northeast
      LatLong that specifies the northeast corner of the rectangle
      LatLong Southwest
      LatLong that specifies the southwest corner of the rectangle
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Field Detail

      • Southwest

        public final LatLong Southwest
        LatLong that specifies the southwest corner of the rectangle
      • Northeast

        public final LatLong Northeast
        LatLong that specifies the northeast corner of the rectangle
      • CREATOR

        public static final android.os.Parcelable.Creator<LatLongRect> CREATOR
    • Constructor Detail

      • LatLongRect

        public LatLongRect​(LatLong southWest,
                           LatLong northEast)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • describeContents

        public int describeContents()
        Specified by:
        describeContents in interface android.os.Parcelable
      • writeToParcel

        public void writeToParcel​(android.os.Parcel dest,
                                  int flags)
        Specified by:
        writeToParcel in interface android.os.Parcelable