IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6383


Ignore:
Timestamp:
Feb 8, 2006, 11:34:53 AM (20 years ago)
Author:
gusciora
Message:

....

File:
1 edited

Legend:

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

    r6382 r6383  
    1010*  @author GLG, MHPCC
    1111*
    12 *  @version $Revision: 1.107 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2006-02-08 21:30:34 $
     12*  @version $Revision: 1.108 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2006-02-08 21:34:53 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    253253
    254254    if (out == NULL) {
    255         out = (psPlane* ) psAlloc(sizeof(psPlane));
     255        out = psPlaneAlloc();
    256256    }
    257257
     
    294294coordinates: term3 and term4 (magnitude and color).
    295295 *****************************************************************************/
    296 psPlane* psPlaneDistortApply(psPlane* out,
    297                              const psPlaneDistort* distort,
    298                              const psPlane* coords,
    299                              float mag,
    300                              float color)
     296psPlane* psPlaneDistortApply(
     297    psPlane* out,
     298    const psPlaneDistort* distort,
     299    const psPlane* coords,
     300    float mag,
     301    float color)
    301302{
    302303    PS_ASSERT_PTR_NON_NULL(distort, NULL);
     
    306307
    307308    if (out == NULL) {
    308         out = (psPlane* ) psAlloc(sizeof(psPlane));
     309        out = psPlaneAlloc();
    309310    }
    310311    out->x = psPolynomial4DEval(
     
    552553}
    553554
    554 psSphere* psDeproject(const psPlane* coord,
    555                       const psProjection* projection)
     555psSphere* psDeproject(
     556    const psPlane* coord,
     557    const psProjection* projection)
    556558{
    557559    return(p_psDeproject(NULL, coord, projection));
     
    567569 *****************************************************************************/
    568570
    569 static psPolynomial2D *multiplyDPoly2D(psPolynomial2D *trans1,
    570                                        psPolynomial2D *trans2)
     571static psPolynomial2D *multiplyDPoly2D(
     572    psPolynomial2D *trans1,
     573    psPolynomial2D *trans2)
    571574{
    572575    psTrace(__func__, 4, "---- %s() begin ----\n", __func__);
     
    791794XXX: This code has problems with data that corresponds to a non-linear fit.
    792795 *****************************************************************************/
    793 bool psPlaneTransformFit(psPlaneTransform *trans,
    794                          const psArray *source,
    795                          const psArray *dest,
    796                          int nRejIter,
    797                          float sigmaClip)
     796bool psPlaneTransformFit(
     797    psPlaneTransform *trans,
     798    const psArray *source,
     799    const psArray *dest,
     800    int nRejIter,
     801    float sigmaClip)
    798802{
    799803    PS_ASSERT_PTR_NON_NULL(trans, NULL);
     
    10871091}
    10881092
    1089 psPixels *psPixelsTransform(psPixels *out,
    1090                             const psPixels *input,
    1091                             const psPlaneTransform *inToOut)
     1093psPixels *psPixelsTransform(
     1094    psPixels *out,
     1095    const psPixels *input,
     1096    const psPlaneTransform *inToOut)
    10921097{
    10931098    PS_ASSERT_PTR_NON_NULL(input, NULL);
Note: See TracChangeset for help on using the changeset viewer.