Ignore:
Timestamp:
2009-01-01T18:28:53+01:00 (17 years ago)
Author:
stoecker
Message:

removed tab stop usage

Location:
applications/editors/josm/plugins/wmsplugin/src/uk/me/jstott/jcoord
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/src/uk/me/jstott/jcoord/LatLng.java

    r6775 r12778  
    33/**
    44 * Class to represent a latitude/longitude pair.
    5  * 
     5 *
    66 * (c) 2006 Jonathan Stott
    7  * 
     7 *
    88 * Created on 11-02-2006
    9  * 
     9 *
    1010 * @author Jonathan Stott
    1111 * @version 1.0
     
    2727  /**
    2828   * Create a new LatLng object to represent a latitude/longitude pair.
    29    * 
     29   *
    3030   * @param lat
    3131   *          the latitude in degrees
     
    4242  /**
    4343   * Get a String representation of this LatLng object.
    44    * 
     44   *
    4545   * @return a String representation of this LatLng object.
    4646   * @since 1.0
     
    5454   * Convert this latitude and longitude into an OSGB (Ordnance Survey of Great
    5555   * Britain) grid reference.
    56    * 
     56   *
    5757   * @return the converted OSGB grid reference
    5858   * @since 1.0
     
    124124  /**
    125125   * Convert this latitude and longitude to a UTM reference.
    126    * 
     126   *
    127127   * @return the converted UTM reference
    128128   * @since 1.0
     
    212212   * Convert this LatLng from the OSGB36 datum to the WGS84 datum using an
    213213   * approximate Helmert transformation.
    214    * 
     214   *
    215215   * @since 1.0
    216216   */
     
    260260   * Convert this LatLng from the WGS84 datum to the OSGB36 datum using an
    261261   * approximate Helmert transformation.
    262    * 
     262   *
    263263   * @since 1.0
    264264   */
     
    310310   * Calculate the surface distance in kilometres from the this LatLng to the
    311311   * given LatLng.
    312    * 
     312   *
    313313   * @param ll
    314314   * @return the surface distance in km
     
    334334  /**
    335335   * Return the latitude in degrees.
    336    * 
     336   *
    337337   * @return the latitude in degrees
    338338   * @since 1.0
     
    345345  /**
    346346   * Return the longitude in degrees.
    347    * 
     347   *
    348348   * @return the longitude in degrees
    349349   * @since 1.0
  • applications/editors/josm/plugins/wmsplugin/src/uk/me/jstott/jcoord/OSRef.java

    r6775 r12778  
    33/**
    44 * Class to represent an Ordnance Survey grid reference
    5  * 
     5 *
    66 * (c) 2006 Jonathan Stott
    7  * 
     7 *
    88 * Created on 11-02-2006
    9  * 
     9 *
    1010 * @author Jonathan Stott
    1111 * @version 1.0
     
    2727  /**
    2828   * Create a new Ordnance Survey grid reference.
    29    * 
     29   *
    3030   * @param easting
    3131   *          the easting in metres
     
    4545   * first character must be H, N, S, O or T. The second character can be any
    4646   * uppercase character from A through Z excluding I.
    47    * 
     47   *
    4848   * @param ref
    4949   *          a String representing a six-figure Ordnance Survey grid reference
     
    8383   * Return a String representation of this OSGB grid reference showing the
    8484   * easting and northing.
    85    * 
     85   *
    8686   * @return a String represenation of this OSGB grid reference
    8787   * @since 1.0
     
    9595   * Return a String representation of this OSGB grid reference using the
    9696   * six-figure notation in the form XY123456
    97    * 
     97   *
    9898   * @return a String representing this OSGB grid reference in six-figure
    9999   *         notation
     
    147147   * OSGB36 datum. Note that, the LatLng object may need to be converted to the
    148148   * WGS84 datum depending on the application.
    149    * 
     149   *
    150150   * @return a LatLng object representing this OSGB grid reference using the
    151151   *         OSGB36 datum
     
    225225  /**
    226226   * Get the easting.
    227    * 
     227   *
    228228   * @return the easting in metres
    229229   * @since 1.0
     
    236236  /**
    237237   * Get the northing.
    238    * 
     238   *
    239239   * @return the northing in metres
    240240   * @since 1.0
  • applications/editors/josm/plugins/wmsplugin/src/uk/me/jstott/jcoord/RefEll.java

    r6775 r12778  
    44 * Class to represent a reference ellipsoid. Also provides a number of
    55 * pre-determined reference ellipsoids as constants.
    6  * 
     6 *
    77 * (c) 2006 Jonathan Stott
    8  * 
     8 *
    99 * Created on 11-Feb-2006
    10  * 
     10 *
    1111 * @author Jonathan Stott
    1212 * @version 1.0
     
    4343  /**
    4444   * Create a new reference ellipsoid
    45    * 
     45   *
    4646   * @param maj
    4747   *          semi-major axis
     
    5959  /**
    6060   * Return the semi-major axis.
    61    * 
     61   *
    6262   * @return the semi-major axis
    6363   * @since 1.0
     
    7070  /**
    7171   * Return the semi-minor axis
    72    * 
     72   *
    7373   * @return the semi-minor axis
    7474   * @since 1.0
     
    8181  /**
    8282   * Return the eccentricity.
    83    * 
     83   *
    8484   * @return the eccentricity
    8585   * @since 1.0
  • applications/editors/josm/plugins/wmsplugin/src/uk/me/jstott/jcoord/Test.java

    r6775 r12778  
    44 * Class to illustrate the use of the various functions of the classes in the
    55 * Jcoord package.
    6  * 
     6 *
    77 * (c) 2006 Jonathan Stott
    8  * 
     8 *
    99 * Created on 11-Feb-2006
    10  * 
     10 *
    1111 * @author Jonathan Stott
    1212 * @version 1.0
     
    1717  /**
    1818   * Main method
    19    * 
     19   *
    2020   * @param args
    2121   *          not used
     
    2626    /*
    2727     * Calculate Surface Distance between two Latitudes/Longitudes
    28      * 
     28     *
    2929     * The distance() function takes a reference to a LatLng object as a
    3030     * parameter and calculates the surface distance between the the given
     
    4545    /*
    4646     * Convert OS Grid Reference to Latitude/Longitude
    47      * 
     47     *
    4848     * Note that the OSGB-Latitude/Longitude conversions use the OSGB36 datum by
    4949     * default. The majority of applications use the WGS84 datum, for which the
     
    7676    /*
    7777     * Convert Latitude/Longitude to OS Grid Reference
    78      * 
     78     *
    7979     * Note that the OSGB-Latitude/Longitude conversions use the OSGB36 datum by
    8080     * default. The majority of applications use the WGS84 datum, for which the
     
    107107    /*
    108108     * Convert Six-Figure OS Grid Reference String to an OSRef Object
    109      * 
     109     *
    110110     * To convert a string representing a six-figure OSGB grid reference:
    111111     */
  • applications/editors/josm/plugins/wmsplugin/src/uk/me/jstott/jcoord/UTMRef.java

    r6775 r12778  
    33/**
    44 * Class to represent a UTM reference
    5  * 
     5 *
    66 * (c) 2006 Jonathan Stott
    7  * 
     7 *
    88 * Created on 11-Feb-2006
    9  * 
     9 *
    1010 * @author Jonathan Stott
    1111 * @version 1.0
     
    3737  /**
    3838   * Create a new UTM reference object.
    39    * 
     39   *
    4040   * @param easting
    4141   *          the easting
     
    5858  /**
    5959   * Convert this UTM reference to a latitude and longitude.
    60    * 
     60   *
    6161   * @return the converted latitude and longitude
    6262   * @since 1.0
     
    130130  /**
    131131   * Work out the UTM latitude zone from the latitude.
    132    * 
     132   *
    133133   * @param latitude
    134134   *          the latitude to find the UTM latitude zone for
     
    184184  /**
    185185   * Convert this UTM reference to a String representation for printing out.
    186    * 
     186   *
    187187   * @return a String representation of this UTM reference
    188188   * @since 1.0
     
    196196  /**
    197197   * Get the easting.
    198    * 
     198   *
    199199   * @return the easting
    200200   * @since 1.0
     
    207207  /**
    208208   * Get the northing.
    209    * 
     209   *
    210210   * @return the northing
    211211   * @since 1.0
     
    218218  /**
    219219   * Get the latitude zone character.
    220    * 
     220   *
    221221   * @return the latitude zone character
    222222   * @since 1.0
     
    229229  /**
    230230   * Get the longitude zone number.
    231    * 
     231   *
    232232   * @return the longitude zone number
    233233   * @since 1.0
  • applications/editors/josm/plugins/wmsplugin/src/uk/me/jstott/jcoord/Util.java

    r6775 r12778  
    33/**
    44 * Some utility functions used by classes in the uk.me.jstott.jcoord package.
    5  * 
     5 *
    66 * (c) 2006 Jonathan Stott
    7  * 
     7 *
    88 * Created on 11-Feb-2006
    9  * 
     9 *
    1010 * @author Jonathan Stott
    1111 * @version 1.0
     
    1616  /**
    1717   * Calculate sin^2(x).
    18    * 
     18   *
    1919   * @param x
    2020   *          x
     
    2929  /**
    3030   * Calculate cos^2(x).
    31    * 
     31   *
    3232   * @param x
    3333   *          x
     
    4242  /**
    4343   * Calculate tan^2(x).
    44    * 
     44   *
    4545   * @param x
    4646   *          x
     
    5555  /**
    5656   * Calculate sec(x).
    57    * 
     57   *
    5858   * @param x
    5959   *          x
Note: See TracChangeset for help on using the changeset viewer.