com.esri.sde.sdk.pe
Class PeDms

java.lang.Object
  extended by com.esri.sde.sdk.pe.PeDms

public final class PeDms
extends java.lang.Object

Conversion between lat/lon and various decimal notations


Field Summary
static char PE_NOTATION_EAST
           
static char PE_NOTATION_NORTH
           
static char PE_NOTATION_SOUTH
           
static char PE_NOTATION_WEST
           
 
Constructor Summary
PeDms()
           
 
Method Summary
static int dd_to_geog(PeGeographicCS geogcs, int n, java.lang.String[] str, double[] coord)
          DD (decimal-degree) to geographic
static int ddm_to_geog(PeGeographicCS geogcs, int n, java.lang.String[] str, double[] coord)
          DDM (degree decimal-minute) to geographic
static int dms_to_geog(PeGeographicCS geogcs, int n, java.lang.String[] str, double[] coord)
          DMS (degree-minute-second) to geographic
static int geog_to_dd(PeGeographicCS geogcs, int n, double[] coord, int num_digits, java.lang.String[] str)
          geographic to DD (decimal-degree)
static int geog_to_ddm(PeGeographicCS geogcs, int n, double[] coord, int num_digits, java.lang.String[] str)
          geographic to DDM (degree decimal-minute)
static int geog_to_dms(PeGeographicCS geogcs, int n, double[] coord, int num_digits, java.lang.String[] str)
          geographic to DMS (degree-minute-second)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PE_NOTATION_NORTH

public static final char PE_NOTATION_NORTH
See Also:
Constant Field Values

PE_NOTATION_SOUTH

public static final char PE_NOTATION_SOUTH
See Also:
Constant Field Values

PE_NOTATION_EAST

public static final char PE_NOTATION_EAST
See Also:
Constant Field Values

PE_NOTATION_WEST

public static final char PE_NOTATION_WEST
See Also:
Constant Field Values
Constructor Detail

PeDms

public PeDms()
Method Detail

geog_to_dms

public static int geog_to_dms(PeGeographicCS geogcs,
                              int n,
                              double[] coord,
                              int num_digits,
                              java.lang.String[] str)
geographic to DMS (degree-minute-second)


dms_to_geog

public static int dms_to_geog(PeGeographicCS geogcs,
                              int n,
                              java.lang.String[] str,
                              double[] coord)
DMS (degree-minute-second) to geographic


geog_to_ddm

public static int geog_to_ddm(PeGeographicCS geogcs,
                              int n,
                              double[] coord,
                              int num_digits,
                              java.lang.String[] str)
geographic to DDM (degree decimal-minute)


ddm_to_geog

public static int ddm_to_geog(PeGeographicCS geogcs,
                              int n,
                              java.lang.String[] str,
                              double[] coord)
DDM (degree decimal-minute) to geographic


geog_to_dd

public static int geog_to_dd(PeGeographicCS geogcs,
                             int n,
                             double[] coord,
                             int num_digits,
                             java.lang.String[] str)
geographic to DD (decimal-degree)


dd_to_geog

public static int dd_to_geog(PeGeographicCS geogcs,
                             int n,
                             java.lang.String[] str,
                             double[] coord)
DD (decimal-degree) to geographic