Index: trunk/psLib/src/astronomy/psCoord.h
===================================================================
--- trunk/psLib/src/astronomy/psCoord.h	(revision 1325)
+++ trunk/psLib/src/astronomy/psCoord.h	(revision 1374)
@@ -1,18 +1,18 @@
 /** @file  psCoord.h
- *
- *  @brief Contains basic coordinate transformation definitions and operations
- *
- *  This file defines the basic types for astronomical coordinate 
- *  transformation
- *
- *  @ingroup AstroImage
- *
- *  @author George Gusciora, MHPCC
- *
- *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-29 02:08:02 $
- *
- *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
- */
+*
+*  @brief Contains basic coordinate transformation definitions and operations
+*
+*  This file defines the basic types for astronomical coordinate 
+*  transformation
+*
+*  @ingroup CoordinateTransform
+*
+*  @author George Gusciora, MHPCC
+*
+*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-08-04 00:55:17 $
+*
+*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
+*/
 
 # ifndef PS_COORD_H
@@ -26,64 +26,67 @@
 #include "psTime.h"
 
+/// @addtogroup CoordinateTransform
+/// @{
+
 typedef struct
-{
-    double x;      ///< x position
-    double y;      ///< y position
-    double xErr;   ///< Error in x position
-    double yErr;   ///< Error in y position
-}
+    {
+        double x;      ///< x position
+        double y;      ///< y position
+        double xErr;   ///< Error in x position
+        double yErr;   ///< Error in y position
+    }
 psPlane;
 
 typedef struct
-{
-    double r;      ///< RA
-    double d;      ///< Dec
-    double rErr;   ///< Error in RA
-    double dErr;   ///< Error in Dec
-}
+    {
+        double r;      ///< RA
+        double d;      ///< Dec
+        double rErr;   ///< Error in RA
+        double dErr;   ///< Error in Dec
+    }
 psSphere;
 
 typedef struct
-{
-    psDPolynomial2D *x;
-    psDPolynomial2D *y;
-}
+    {
+        psDPolynomial2D *x;
+        psDPolynomial2D *y;
+    }
 psPlaneTransform;
 
 typedef struct
-{
-    psDPolynomial4D *x;
-    psDPolynomial4D *y;
-}
+    {
+        psDPolynomial4D *x;
+        psDPolynomial4D *y;
+    }
 psPlaneDistort;
 
 typedef struct
-{
-    double sinPhi;                    ///< sin of North Pole lattitude
-    double cosPhi;                    ///< cos of North Pole lattitude
-    double Xo;                        ///< First PT of Ares lon
-    double xo;                        ///< First PT of Ares equiv lon
-}
+    {
+        double sinPhi;                    ///< sin of North Pole lattitude
+        double cosPhi;                    ///< cos of North Pole lattitude
+        double Xo;                        ///< First PT of Ares lon
+        double xo;                        ///< First PT of Ares equiv lon
+    }
 psSphereTransform;
 
 typedef enum {
-    PS_PROJ_TAN,       ///< Tangent projection
-    PS_PROJ_SIN,       ///< Sine projection
-    PS_PROJ_AIT,       ///< Aitoff projection
-    PS_PROJ_PAR,       ///< Par projection
-    PS_PROJ_GLS,       ///< GLS projection
-    PS_PROJ_CAR,       ///< CAR projection
-    PS_PROJ_MER,       ///< MER projection
+    PS_PROJ_TAN,        ///< Tangent projection
+    PS_PROJ_SIN,        ///< Sine projection
+    PS_PROJ_AIT,        ///< Aitoff projection
+    PS_PROJ_PAR,        ///< Par projection
+    PS_PROJ_GLS,        ///< GLS projection
+    PS_PROJ_CAR,        ///< CAR projection
+    PS_PROJ_MER,        ///< MER projection
     PS_PROJ_NTYPE      ///< Number of types; must be last.
 } psProjectionType;
 
 typedef struct
-{
-    double R;     ///< Coordinates of projection center
-    double D;     ///< Coordinates of projection center
-    double Xs;    ///< plate-scale in X direction
-    double Ys;    ///< plate-scale in Y direction
-    psProjectionType type;  ///< Projection type
-}
+    {
+        double R;     ///< Coordinates of projection center
+        double D;     ///< Coordinates of projection center
+        double Xs;    ///< plate-scale in X direction
+        double Ys;    ///< plate-scale in Y direction
+        psProjectionType type;  ///< Projection type
+    }
 psProjection;
 
@@ -100,47 +103,48 @@
 } psSphereOffsetUnit;
 
-psPlane *psPlaneTransformApply(psPlane *out,
-                               const psPlaneTransform *transform,
-                               const psPlane *coords);
+psPlane *psPlaneTransformApply( psPlane *out,
+                                const psPlaneTransform *transform,
+                                const psPlane *coords );
+                                
+psPlane *psPlaneDistortApply( psPlane *out,
+                              const psPlaneDistort *transform,
+                              const psPlane *coords,
+                              float term3,
+                              float term4 );
+                              
+                              
+// New function prototype.
+psSphereTransform *psSphereTransformAlloc( double NPlat,
+        double Xo,
+        double xo );
+        
+void p_psSphereTransformFree( psSphereTransform *trans );
 
-psPlane *psPlaneDistortApply(psPlane *out,
-                             const psPlaneDistort *transform,
-                             const psPlane *coords,
-                             float term3,
-                             float term4);
+psSphere *psSphereTransformApply( psSphere *out,
+                                  const psSphereTransform *transform,
+                                  const psSphere *coord );
+                                  
+psSphereTransform *psSphereTransformICRStoEcliptic( psTime time );
+psSphereTransform *psSphereTransformEcliptictoICRS( psTime time );
+psSphereTransform *psSphereTransformICRStoGalatic( void );
+psSphereTransform *psSphereTransformGalatictoICRS( void );
 
-
-// New function prototype.
-psSphereTransform *psSphereTransformAlloc(double NPlat,
-        double Xo,
-        double xo);
-
-void p_psSphereTransformFree(psSphereTransform *trans);
-
-psSphere *psSphereTransformApply(psSphere *out,
-                                 const psSphereTransform *transform,
-                                 const psSphere *coord);
-
-psSphereTransform *psSphereTransformICRStoEcliptic(psTime time);
-psSphereTransform *psSphereTransformEcliptictoICRS(psTime time);
-psSphereTransform *psSphereTransformICRStoGalatic(void);
-psSphereTransform *psSphereTransformGalatictoICRS(void);
-
-psPlane *psProject(const psSphere *coord,
-                   const psProjection *projection);
-
-psSphere *psDeproject(const psPlane *coord,
-                      const psProjection *projection);
-
-psSphere *psSphereGetOffset(const psSphere *restrict position1,
-                            const psSphere *restrict position2,
-                            psSphereOffsetMode mode,
-                            psSphereOffsetUnit unit);
-
-psSphere *psSphereSetOffset(const psSphere *restrict position,
-                            const psSphere *restrict offset,
-                            psSphereOffsetMode mode,
-                            psSphereOffsetUnit unit);
-
+psPlane *psProject( const psSphere *coord,
+                    const psProjection *projection );
+                    
+psSphere *psDeproject( const psPlane *coord,
+                       const psProjection *projection );
+                       
+psSphere *psSphereGetOffset( const psSphere *restrict position1,
+                             const psSphere *restrict position2,
+                             psSphereOffsetMode mode,
+                             psSphereOffsetUnit unit );
+                             
+psSphere *psSphereSetOffset( const psSphere *restrict position,
+                             const psSphere *restrict offset,
+                             psSphereOffsetMode mode,
+                             psSphereOffsetUnit unit );
+                             
+/// @}
 
 #endif
