Package org.locationtech.proj4j.units
Class Angle
- java.lang.Object
-
- org.locationtech.proj4j.units.Angle
-
public class Angle extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Angle()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
parse(java.lang.String text)
Parses a text representation of a degree angle in various formats.
-
-
-
Method Detail
-
parse
public static double parse(java.lang.String text) throws java.lang.NumberFormatException
Parses a text representation of a degree angle in various formats. Formats include DMS and DD in the forms supported byAngleFormat
, 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:
java.lang.NumberFormatException
-
-