Class Hemisphere

java.lang.Object
org.opensextant.extractors.xcoord.Hemisphere

public class Hemisphere extends Object
Represent a Hemisphere symbol and value.
Author:
ubaldino
  • Field Details

    • symbol

      public String symbol
      The symbol.
    • polarity

      public int polarity
      Hemisphere polarity - N, E = +1; S, W = -1. polarity default is 0, because any choice to use -1 or +1 as a default should be set by interpreter or application using this class. Polarity = 0 means you have a bug or lack of initialization logic.
  • Constructor Details

    • Hemisphere

      public Hemisphere()
  • Method Details

    • isAlpha

      public boolean isAlpha()
      Checks if is alpha.
      Returns:
      true, if is alphabetic