IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2005, 10:24:17 AM (21 years ago)
Author:
gusciora
Message:

Added function prototypes for invert, combine, fit. Create the alloc
functions.

File:
1 edited

Legend:

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

    r2664 r3095  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-12-08 18:23:54 $
     12*  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-01-26 20:24:16 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    167167} psSphereOffsetUnit;
    168168
     169/** Allocates a psPlane
     170 *
     171 *  @return psPlane*     resulting plane structure.
     172 */
     173
     174psPlane* psPlaneAlloc(void);
     175
     176/** Allocates a psSphere
     177 *
     178 *  @return psSphere*     resulting sphere structure.
     179 */
     180
     181psSphere* psSphereAlloc(void);
     182
     183
    169184/** Allocates a psPlaneTransform transform.
    170185 *
     
    212227);
    213228
     229// XXX: Doxygenate.
     230psPlaneTransform *psPlaneTransformInvert(
     231    psPlaneTransform *out,
     232    const psPlaneTransform *in,
     233    psRegion *region,
     234    int nSamples
     235);
     236
     237// XXX: Doxygenate.
     238psPlaneTransform *psPlaneTransformCombine(
     239    psPlaneTransform *out,
     240    const psPlaneTransform *trans1,
     241    const psPlaneTransform *trans2
     242);
     243
     244// XXX: Doxygenate.
     245bool psPlaneTranformFit(
     246    psPlaneTransform *trans,
     247    const psArray *source,
     248    const psArray *dest,
     249    int nRejIter,
     250    float sigmaClip
     251);
     252
     253
     254
    214255/** Allocator for psSphereTransform
    215256 *
     
    262303 */
    263304psSphereTransform* psSphereTransformGalaticToICRS(void);
     305
     306/** Allocates memory for a psProjection structure
     307 *
     308 *  @return psProjection*    psProjection structure
     309 */
     310psProjection* psProjectionAlloc(
     311    psF64 R,                   ///< Right-ascension of projection center.
     312    psF64 D,                   ///< Declination of projection center.
     313    psF64 Xs,                  ///< Scale in x-dimension
     314    psF64 Ys,                  ///< Scale in y-dimension
     315    psProjectionType type
     316);
    264317
    265318/** Projects a spherical coordinate to a linear coordinate system
Note: See TracChangeset for help on using the changeset viewer.