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
ConstructorDescriptionDefault constructor.TLcdOWSPositionType2D
(double x, double y) Creates an instance for given x and y coordinates. -
Method Summary
Modifier and TypeMethodDescriptionvoid
setCoordinates
(double x, double y) Sets the x and y coordinates.Methods inherited from class com.luciad.ogc.ows.model.TLcdOWSPosition
addCoordinate, deleteCoordinate, getCoordinate, getCoordinateCount, valueOf
Methods 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, trimToSize
Methods inherited from class java.util.AbstractList
add, equals, hashCode, iterator, listIterator, listIterator, removeRange, subList
Methods inherited from class java.util.AbstractCollection
containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface com.luciad.util.collections.ILcdDoubleList
addAll, addAll, addAll
Methods 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.
-