IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 26, 2004, 3:15:47 PM (22 years ago)
Author:
gusciora
Message:

...

File:
1 edited

Legend:

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

    r2204 r2206  
    1010*  @author George Gusciora, MHPCC
    1111*
    12 *  @version $Revision: 1.29 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2004-10-27 00:57:30 $
     12*  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2004-10-27 01:15:47 $
    1414*
    1515*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    8181                               const psPlane* coords)
    8282{
    83     PS_CHECK_NULL_PTR_RETURN_NULL(transform);
    84     PS_CHECK_NULL_PTR_RETURN_NULL(coords);
     83    PS_CHECK_NULL_PTR(transform, NULL);
     84    PS_CHECK_NULL_PTR(coords, NULL);
    8585    if (out == NULL) {
    8686        out = (psPlane* ) psAlloc(sizeof(psPlane));
     
    117117                             float magnitude)
    118118{
    119     PS_CHECK_NULL_PTR_RETURN_NULL(transform);
    120     PS_CHECK_NULL_PTR_RETURN_NULL(coords);
     119    PS_CHECK_NULL_PTR(transform, NULL);
     120    PS_CHECK_NULL_PTR(coords, NULL);
    121121    if (out == NULL) {
    122122        out = (psPlane* ) psAlloc(sizeof(psPlane));
     
    156156                                 const psSphere* coord)
    157157{
    158     PS_CHECK_NULL_PTR_RETURN_NULL(transform);
    159     PS_CHECK_NULL_PTR_RETURN_NULL(coord);
     158    PS_CHECK_NULL_PTR(transform, NULL);
     159    PS_CHECK_NULL_PTR(coord, NULL);
    160160    double sinY = 0.0;
    161161    double cosY = 0.0;
     
    228228                   const psProjection* projection)
    229229{
    230     PS_CHECK_NULL_PTR_RETURN_NULL(coord);
    231     PS_CHECK_NULL_PTR_RETURN_NULL(projection);
     230    PS_CHECK_NULL_PTR(coord, NULL);
     231    PS_CHECK_NULL_PTR(projection, NULL);
    232232
    233233    float R = 0.0;
     
    280280                      const psProjection* projection)
    281281{
    282     PS_CHECK_NULL_PTR_RETURN_NULL(coord);
    283     PS_CHECK_NULL_PTR_RETURN_NULL(projection);
     282    PS_CHECK_NULL_PTR(coord, NULL);
     283    PS_CHECK_NULL_PTR(projection, NULL);
    284284
    285285    float R = 0.0;
     
    348348                            psSphereOffsetUnit unit)
    349349{
    350     PS_CHECK_NULL_PTR_RETURN_NULL(position1);
    351     PS_CHECK_NULL_PTR_RETURN_NULL(position2);
     350    PS_CHECK_NULL_PTR(position1, NULL);
     351    PS_CHECK_NULL_PTR(position2, NULL);
    352352
    353353    psPlane* lin;
     
    416416                            psSphereOffsetUnit unit)
    417417{
    418     PS_CHECK_NULL_PTR_RETURN_NULL(position);
    419     PS_CHECK_NULL_PTR_RETURN_NULL(offset);
     418    PS_CHECK_NULL_PTR(position, NULL);
     419    PS_CHECK_NULL_PTR(offset, NULL);
    420420
    421421    psPlane lin;
Note: See TracChangeset for help on using the changeset viewer.