Package com.luciad.ogc.ows.model
Class TLcdOWSPosition
java.lang.Object
java.util.AbstractCollection<Double>
java.util.AbstractList<Double>
com.luciad.util.collections.TLcdDoubleArrayList
com.luciad.ogc.ows.model.TLcdOWSPosition
- All Implemented Interfaces:
ILcdDoubleList,ILcdCloneable,Cloneable,Iterable<Double>,Collection<Double>,List<Double>,SequencedCollection<Double>
- Direct Known Subclasses:
TLcdOWSPositionType2D
Position instances hold the coordinates of a position in a coordinate reference system (CRS) referenced by the related "crs" attribute or elsewhere.
Interpretation and order of the coordinates (e.g. longitude, latitude or vice versa) is determined by the CRS.
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCoordinate(double aCoordinate) voiddeleteCoordinate(int aIndex) doublegetCoordinate(int aIndex) intstatic TLcdOWSPositionMethods inherited from class com.luciad.util.collections.TLcdDoubleArrayList
add, addAll, addAll, addAll, addDouble, addDouble, binarySearch, clear, clone, contains, containsDouble, ensureCapacity, get, getDouble, indexOf, indexOfDouble, lastIndexOf, lastIndexOfDouble, remove, removeDouble, removeDouble, set, setDouble, size, toDoubleArray, toDoubleArray, trimToSizeMethods inherited from class java.util.AbstractList
add, equals, hashCode, iterator, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface com.luciad.util.collections.ILcdDoubleList
addAll, addAll, addAllMethods inherited from interface java.util.List
add, addFirst, addLast, containsAll, equals, getFirst, getLast, hashCode, isEmpty, iterator, listIterator, listIterator, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, subList, toArray, toArray
-
Constructor Details
-
TLcdOWSPosition
public TLcdOWSPosition() -
TLcdOWSPosition
public TLcdOWSPosition(double aFirst, double aSecond)
-
-
Method Details
-
valueOf
-
addCoordinate
public void addCoordinate(double aCoordinate) -
getCoordinate
public double getCoordinate(int aIndex) -
getCoordinateCount
public int getCoordinateCount() -
deleteCoordinate
public void deleteCoordinate(int aIndex)
-