IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 11, 2004, 3:23:20 PM (22 years ago)
Author:
desonia
Message:

doxygen cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psCoord.h

    r1441 r1496  
    1111*  @author George Gusciora, MHPCC
    1212*
    13 *  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2004-08-09 23:40:54 $
     13*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2004-08-12 01:23:20 $
    1515*
    1616*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    117117/** Projection type for projection/deprojection
    118118 *
    119  *  @seealso psProject, psDeproject
     119 *  @see psProject, psDeproject
    120120 *
    121121 */
     
    133133/** Parameter set for projection/deprojection
    134134 *
    135  *  @seealso psProject, psDeproject
     135 *  @see psProject, psDeproject
    136136 *
    137137 */
     
    148148/** Mode for Offset calculation between two sky positions
    149149 *
    150  *  @seealso  psSphereGetOffset, psSphereSetOffset
     150 *  @see  psSphereGetOffset, psSphereSetOffset
    151151 *
    152152 */
     
    158158/** The units of the offset
    159159 *
    160  *  @seealso  psSphereGetOffset, psSphereSetOffset
     160 *  @see  psSphereGetOffset, psSphereSetOffset
    161161 *
    162162 */
     
    170170/** Applies the psPlaneTransform transform to a specified coordinate
    171171 *
    172  */
    173 psPlane* psPlaneTransformApply(psPlane* out,   ///< a psPlane to recycle.  If NULL, a new one is generated.
    174                                const psPlaneTransform* transform,      ///< the transform to apply
    175                                const psPlane* coords   ///< the coordinate to apply the transform above.
    176                               );
     172 *  @return psPlane*     resulting coordinate based on transform
     173 */
     174psPlane* psPlaneTransformApply(
     175    psPlane* out,                      ///< a psPlane to recycle.  If NULL, a new one is generated.
     176    const psPlaneTransform* transform, ///< the transform to apply
     177    const psPlane* coords              ///< the coordinate to apply the transform above.
     178);
    177179
    178180/** Applies the psPlaneDistort transform to a specified coordinate
    179181 *
    180  */
    181 psPlane* psPlaneDistortApply(psPlane* out,     ///< a psPlane to recycle.  If NULL, a new one is generated.
    182                              const psPlaneDistort* transform,  ///< the transform to apply
    183                              const psPlane* coords,    ///< the coordinate to apply the transform above.
    184                              float term3,       ///< third term -- maybe magnitude
    185                              float term4        ///< forth term -- maybe color
    186                             );
     182 *  @return psPlane*     resulting coordinate based on transform
     183 */
     184psPlane* psPlaneDistortApply(
     185    psPlane* out,                      ///< a psPlane to recycle.  If NULL, a new one is generated.
     186    const psPlaneDistort* transform,   ///< the transform to apply
     187    const psPlane* coords,             ///< the coordinate to apply the transform above.
     188    float term3,                       ///< third term -- maybe magnitude
     189    float term4                        ///< forth term -- maybe color
     190);
    187191
    188192/** Allocator for psSphereTransform
    189193 *
    190  */
    191 psSphereTransform* psSphereTransformAlloc(double NPlat, ///< north pole latitude
    192         double Xo,    ///< First PT of Ares lon
    193         double xo     ///< First PT of Ares equiv lon
    194                                          );
     194 *  @return psSphereTransform*         newly allocated struct
     195 */
     196psSphereTransform* psSphereTransformAlloc(
     197    double NPlat,                      ///< north pole latitude
     198    double Xo,                         ///< First PT of Ares lon
     199    double xo                          ///< First PT of Ares equiv lon
     200);
    195201
    196202/** Applies the psSphereTransform transform for a specified coordinate
    197203 *
    198  */
    199 psSphere* psSphereTransformApply(psSphere* out,        ///< a psSphere to recycle.  If NULL, a new one is
    200                                  // generated.
    201                                  const psSphereTransform* transform,   ///< the transform to apply
    202                                  const psSphere* coord ///< the coordinate to apply the transform above.x
    203                                 );
    204 
    205 psSphereTransform* psSphereTransformICRStoEcliptic(psTime time);
    206 
    207 psSphereTransform* psSphereTransformEcliptictoICRS(psTime time);
    208 
     204 *  @return psSphere*      resulting coordinate based on transform
     205 */
     206psSphere* psSphereTransformApply(
     207    psSphere* out,                     ///< a psSphere to recycle.  If NULL, a new one is generated.
     208    const psSphereTransform* transform,///< the transform to apply
     209    const psSphere* coord              ///< the coordinate to apply the transform above.x
     210);
     211
     212/** Creates the appropriate transform for converting from ICRS to Ecliptic
     213 *  coordinate systems.
     214 *
     215 *  @return psSphereTransform*     transform for ICRS->Ecliptic coordinate systems
     216 */
     217psSphereTransform* psSphereTransformICRStoEcliptic(
     218    psTime time                        ///< the time for which the resulting transform will be valid
     219);
     220
     221/** Creates the appropriate transform for converting from Ecliptic to ICRS
     222 *  coordinate systems.
     223 *
     224 *  @return psSphereTransform*     transform for Ecliptic->ICRS coordinate systems
     225 */
     226psSphereTransform* psSphereTransformEcliptictoICRS(
     227    psTime time                        ///< the time for which the resulting transform will be valid
     228);
     229
     230/** Creates the appropriate transform for converting from ICRS to Galatic
     231 *  coordinate systems.
     232 *
     233 */
    209234psSphereTransform* psSphereTransformICRStoGalatic(void);
    210235
     236/** Creates the appropriate transform for converting from Galatic to ICRS
     237 *  coordinate systems.
     238 *
     239 */
    211240psSphereTransform* psSphereTransformGalatictoICRS(void);
    212241
    213 psPlane* psProject(const psSphere* coord, const psProjection* projection);
    214 
    215 psSphere* psDeproject(const psPlane* coord, const psProjection* projection);
    216 
    217 psSphere* psSphereGetOffset(const psSphere* restrict position1,
    218                             const psSphere* restrict position2,
    219                             psSphereOffsetMode mode, psSphereOffsetUnit unit);
    220 
    221 psSphere* psSphereSetOffset(const psSphere* restrict position,
    222                             const psSphere* restrict offset,
    223                             psSphereOffsetMode mode, psSphereOffsetUnit unit);
     242/** Projects a spherical coordinate to a linear coordinate system
     243 *
     244 *  @return psPlane*    projected coordinate
     245 */
     246psPlane* psProject(
     247    const psSphere* coord,             ///< coordinate to project
     248    const psProjection* projection     ///< parameters of the projection
     249);
     250
     251/** Reverse projection of a linear coordinate to a spherical coordinate system
     252 *
     253 *  @return psPlane*    projected coordinate
     254 */
     255psSphere* psDeproject(
     256    const psPlane* coord,              ///< coordinate to project
     257    const psProjection* projection     ///< parameters of the projection
     258);
     259
     260/** Determines the offset (RA,Dec) on the sky between two positions.
     261 *
     262 *  Both an offset mode and an offset unit may be defined. The mode may be
     263 *  either PS_SPHERICAL, in which case the specified offset corresponds to an
     264 *  offset in angles, or it may be PS_LINEAR, in which case the offset
     265 *  corresponds to a linear offset in a local projection. The offset unit may
     266 *  be in one of PS_ARCSEC, PS_ARCMIN, PS_DEGREE, and PS_RADIAN, which
     267 *  specifies the units of the offset only.
     268 *
     269 *  @return psSphere*    the offset between position1 and position2
     270 */
     271psSphere* psSphereGetOffset(
     272    const psSphere* restrict position1,
     273    const psSphere* restrict position2,
     274    psSphereOffsetMode mode,
     275    psSphereOffsetUnit unit
     276);
     277
     278/** Applies the given offset to a coordinate.
     279 *
     280 *  Both an offset mode and an offset unit may be defined. The mode may be
     281 *  either PS_SPHERICAL, in which case the specified offset corresponds to an
     282 *  offset in angles, or it may be PS_LINEAR, in which case the offset
     283 *  corresponds to a linear offset in a local projection. The offset unit may
     284 *  be in one of PS_ARCSEC, PS_ARCMIN, PS_DEGREE, and PS_RADIAN, which
     285 *  specifies the units of the offset only.
     286 *
     287 *  @return psSphere*    the given position with the given offset applied.
     288 */
     289psSphere* psSphereSetOffset(
     290    const psSphere* restrict position,
     291    const psSphere* restrict offset,
     292    psSphereOffsetMode mode,
     293    psSphereOffsetUnit unit
     294);
    224295
    225296/// @}
Note: See TracChangeset for help on using the changeset viewer.