Commit bb0ac466 authored by Michael Adair's avatar Michael Adair
Browse files

re #15: modify comments for NaturalDocs

parent 49900561
Loading
Loading
Loading
Loading
+14 −5
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@ $Id: Proj.js 2956 2007-07-09 12:17:52Z steven $
*/

/**
 * Proj4js
 * Namespace: Proj4js
 *
 * Proj4js is a JavaScript library to transform point coordinates from one 
 * coordinate system to another, including datum transformations.
@@ -126,7 +126,7 @@ Proj4js = {

      // Short cut if the datums are identical.
      if( source.compare_datums( dest ) ) {
          return point; // in this case, zero is sucess,
          //return point; // in this case, zero is sucess,
                    // whereas cs_compare_datums returns 1 to indicate TRUE
                    // confusing, should fix this
      }
@@ -204,14 +204,20 @@ Proj4js = {
     * Override this in applications to report error messages or throw exceptions.
     */
    reportError: function(msg) {
      //console.log(msg);
      console.log(msg);
    },

/**
 *
 * Title: Private Methods
 * The following properties and methods are intended for internal use only.
 *
 * This is a minimal implementation of JavaScript inheritance methods so that 
 * Proj4js can be used as a stand-alone library.
 * These are copies of the equivalent OpenLayers methods at v2.7
 *
 */
 
/**
 * Function: extend
 * Copy all properties of a source object to a destination object.  Modifies
 *     the passed in destination object.  Any properties on the source object
@@ -290,6 +296,9 @@ Proj4js = {
        };
    },
    
/**
 * The following properties and methods handle dynamic loading of JSON objects.
 *
    /**
     * Property: scriptName
     * {String} The filename of this script without any path.
@@ -381,7 +390,7 @@ Proj4js = {

/**
 * Class: Proj4js.Proj
 
 *
 * Proj objects provide transformation methods for point coordinates
 * between geodetic latitude/longitude and a projected coordinate system. 
 * once they have been initialized with a projection code.