Class StreetPoints

java.lang.Object
gnu.trove.list.array.TFloatArrayList
zombie.worldMap.streets.StreetPoints
All Implemented Interfaces:
gnu.trove.list.TFloatList, gnu.trove.TFloatCollection, Externalizable, Serializable

public final class StreetPoints extends gnu.trove.list.array.TFloatArrayList
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(float x, float y)
     
    void
     
    void
     
    float
     
    float
     
    float
     
    float
     
    float
     
    float
     
    float
    getX(int index)
     
    float
    getY(int index)
     
    void
     
    boolean
     
    int
     
    void
     

    Methods inherited from class gnu.trove.list.array.TFloatArrayList

    add, add, add, addAll, addAll, addAll, binarySearch, binarySearch, clear, clear, contains, containsAll, containsAll, containsAll, ensureCapacity, equals, fill, fill, forEach, forEachDescending, get, getNoEntryValue, getQuick, grep, hashCode, indexOf, indexOf, insert, insert, insert, inverseGrep, isEmpty, iterator, lastIndexOf, lastIndexOf, max, min, readExternal, remove, remove, removeAll, removeAll, removeAll, removeAt, replace, reset, resetQuick, retainAll, retainAll, retainAll, reverse, reverse, set, set, set, setQuick, shuffle, size, sort, sort, subList, sum, toArray, toArray, toArray, toArray, toArray, toString, transformValues, trimToSize, wrap, wrap, writeExternal

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • StreetPoints

      public StreetPoints()
  • Method Details

    • numPoints

      public int numPoints()
    • add

      public void add(float x, float y)
    • getX

      public float getX(int index)
    • getY

      public float getY(int index)
    • getMinX

      public float getMinX()
    • getMinY

      public float getMinY()
    • getMaxX

      public float getMaxX()
    • getMaxY

      public float getMaxY()
    • invalidateBounds

      public void invalidateBounds()
    • calculateBoundIfNeeded

      public void calculateBoundIfNeeded()
    • calculateBounds

      public void calculateBounds()
    • isClockwise

      public boolean isClockwise()
    • setReverse

      public void setReverse(StreetPoints dest)
    • calculateLength

      public float calculateLength(UIWorldMap ui)
    • calculateLength

      public float calculateLength()