Class Angle

java.lang.Object
org.locationtech.proj4j.units.Angle

public class Angle extends Object
  • Constructor Details

    • Angle

      public Angle()
  • Method Details

    • parse

      public static double parse(String text) throws NumberFormatException
      Parses a text representation of a degree angle in various formats. Formats include DMS and DD in the forms supported by AngleFormat, as in the following examples:
       123.12
       -123.12
       123.12W
      
       123d44m44.555s
       123d44'44.555"
       123d44mN
       
      Parameters:
      text -
      Returns:
      the value of the angle, in degrees
      Throws:
      NumberFormatException