Class LatLongOutline

  • All Implemented Interfaces:
    android.os.Parcelable

    public class LatLongOutline
    extends java.lang.Object
    implements android.os.Parcelable
    An outline defined as a list of Latitude-Longitude pairs that make up an outer hull and a set of inner holes. Comparable to PolygonWithHoles
    • 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<LatLongOutline> CREATOR  
      java.util.ArrayList<java.util.ArrayList<LatLong>> Holes
      A set of Latitude-Longitude points inside the hull that form interior holes in the outline
      java.util.ArrayList<LatLong> Hull
      A set of Latitude-Longitude points that form an outer outline
      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      LatLongOutline​(android.os.Parcel in)
      Used for sending data across binders
      LatLongOutline​(java.util.ArrayList<LatLong> hull, java.util.ArrayList<java.util.ArrayList<LatLong>> holes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int describeContents()  
      void writeToParcel​(android.os.Parcel dest, int flags)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • Hull

        public final java.util.ArrayList<LatLong> Hull
        A set of Latitude-Longitude points that form an outer outline
      • Holes

        public final java.util.ArrayList<java.util.ArrayList<LatLong>> Holes
        A set of Latitude-Longitude points inside the hull that form interior holes in the outline
      • CREATOR

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

      • LatLongOutline

        public LatLongOutline​(java.util.ArrayList<LatLong> hull,
                              java.util.ArrayList<java.util.ArrayList<LatLong>> holes)
      • LatLongOutline

        public LatLongOutline​(android.os.Parcel in)
        Used for sending data across binders
    • Method Detail

      • 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