Package com.luciad.ogc.ows.model
Class TLcdOWSPositionType2D
java.lang.Object
java.util.AbstractCollection<Double>
java.util.AbstractList<Double>
com.luciad.util.collections.TLcdDoubleArrayList
com.luciad.ogc.ows.model.TLcdOWSPosition
com.luciad.ogc.ows.model.TLcdOWSPositionType2D
- All Implemented Interfaces:
ILcdDoubleList,ILcdCloneable,Cloneable,Iterable<Double>,Collection<Double>,List<Double>,SequencedCollection<Double>
Two-dimensional position instances hold the longitude and latitude coordinates of a position in the 2D WGS 84 coordinate reference system.
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.TLcdOWSPositionType2D(double x, double y) Creates an instance for given x and y coordinates. -
Method Summary
Modifier and TypeMethodDescriptionvoidsetCoordinates(double x, double y) Sets the x and y coordinates.Methods inherited from class com.luciad.ogc.ows.model.TLcdOWSPosition
addCoordinate, deleteCoordinate, getCoordinate, getCoordinateCount, valueOfMethods 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
-
TLcdOWSPositionType2D
public TLcdOWSPositionType2D()Default constructor. With this constructor, thesetCoordinates(double, double)method should be used for setting the coordinates. -
TLcdOWSPositionType2D
public TLcdOWSPositionType2D(double x, double y) Creates an instance for given x and y coordinates.- Parameters:
x-y-
-
-
Method Details
-
setCoordinates
public void setCoordinates(double x, double y) Sets the x and y coordinates.- Parameters:
x- the x coordinate.y- the y coordinate.
-