Interface Coordinate

All Superinterfaces:
Comparable<Coordinate>, Coordinate, OsidPrimitive, OsidPrimitive, Serializable

public interface Coordinate extends OsidPrimitive, Coordinate

A coordinate represents a position.

  • Method Details

    • getCoordinateType

      Type getCoordinateType()
      Gets the Type of this Coordinate which indicates the format of the coordinate data.
      Returns:
      the coordinate type
      Compliance:
      mandatory - This method must be implemented.
    • getDimensions

      long getDimensions()
      Gets the number of dimensions available in this coordinate.
      Returns:
      the number of dimensions
      Compliance:
      mandatory - This method must be implemented.
    • getValues

      BigDecimal[] getValues()
      Gets the values of this coordinate. The size of the returned array equals getDimensions() .
      Returns:
      the coordinate values
      Compliance:
      mandatory - This method must be implemented.
    • definesUncertainty

      boolean definesUncertainty()
      Tests if uncertainty is defined for this heading.
      Returns:
      true if uncertainty is defined, false otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getUncertaintyMinus

      BigDecimal[] getUncertaintyMinus()
      Gets the uncertainty in the negtive direction for each value of this coordinate. The size of the returned array equals getDimensions() .
      Returns:
      the negative uncertainty values
      Compliance:
      mandatory - This method must be implemented.
    • getUncertaintyPlus

      BigDecimal[] getUncertaintyPlus()
      Gets the uncertainty in the positive direction for each value of this coordinate. The size of the returned array equals getDimensions() .
      Returns:
      the positive uncertainty values
      Compliance:
      mandatory - This method must be implemented.