IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 26, 2009, 2:00:45 PM (17 years ago)
Author:
eugene
Message:

adding mask and maskVal to vector eval functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmTrend2D.c

    r19961 r21172  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2008-10-07 22:47:04 $
     5 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2009-01-27 00:00:44 $
    77 *  Copyright 2004 Institute for Astronomy, University of Hawaii
    88 *
     
    234234}
    235235
    236 psVector *pmTrend2DEvalVector(const pmTrend2D *trend, const psVector *x, const psVector *y)
     236psVector *pmTrend2DEvalVector(const pmTrend2D *trend, psVector *mask, psMaskType maskValue, const psVector *x, const psVector *y)
    237237{
    238238    PM_ASSERT_TREND2D_NON_NULL(trend, NULL);
     
    244244      case PM_TREND_POLY_ORD:
    245245      case PM_TREND_POLY_CHEB:
     246        // XXX supply a mask here as well.
    246247        result = psPolynomial2DEvalVector (trend->poly, x, y);
    247248        break;
    248249
    249250      case PM_TREND_MAP:
    250         result = psImageMapEvalVector (trend->map, x, y);
     251        result = psImageMapEvalVector (trend->map, mask, maskValue, x, y);
    251252        break;
    252253
Note: See TracChangeset for help on using the changeset viewer.