Class TLcdOWSPositionType2D

All Implemented Interfaces:
ILcdDoubleList, ILcdCloneable, Cloneable, Iterable<Double>, Collection<Double>, List<Double>, SequencedCollection<Double>

public class TLcdOWSPositionType2D extends TLcdOWSPosition
Two-dimensional position instances hold the longitude and latitude coordinates of a position in the 2D WGS 84 coordinate reference system.
  • Constructor Details

    • TLcdOWSPositionType2D

      public TLcdOWSPositionType2D()
      Default constructor. With this constructor, the setCoordinates(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.