Changeset 6913
- Timestamp:
- Apr 19, 2006, 3:46:00 PM (20 years ago)
- Location:
- trunk/psLib
- Files:
-
- 3 edited
-
src/sys/psType.h (modified) (2 diffs)
-
src/types/psMetadata.c (modified) (4 diffs)
-
test/astro/tst_psEarthOrientation.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/sys/psType.h
r6874 r6913 10 10 * @author Ross Harman, MHPCC 11 11 * 12 * @version $Revision: 1.4 7$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-04- 17 22:00:03$12 * @version $Revision: 1.48 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-04-20 01:46:00 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 130 130 PS_DATA_POLYNOMIAL4D, ///< psPolynomial4D 131 131 PS_DATA_PROJECTION, ///< psProjection 132 PS_DATA_REGION, ///< psRegion133 132 PS_DATA_SCALAR, ///< psScalar 134 133 PS_DATA_SPHERE, ///< psSphere -
trunk/psLib/src/types/psMetadata.c
r6874 r6913 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.10 2$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-04- 17 22:00:03$14 * @version $Revision: 1.103 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-04-20 01:46:00 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 293 293 case PS_DATA_POLYNOMIAL4D: // psPolynomial4D 294 294 case PS_DATA_PROJECTION: // psProjection 295 case PS_DATA_REGION: // psRegion296 295 case PS_DATA_SCALAR: // psScalar 297 296 case PS_DATA_SPHERE: // psSphere … … 397 396 break; 398 397 } 399 case PS_DATA_REGION: { 400 psRegion *region = in->data.V; // The region 401 psRegion *new = psRegionAlloc(region->x0, region->x1, region->y0, region->y1); // Copy of the region 402 newItem = psMetadataItemAlloc(in->name, PS_DATA_REGION, in->comment, new); 403 psFree(new); // Drop reference 404 break; 405 } 398 /* case PS_DATA_REGION: { 399 psRegion *region = in->data.V; // The region 400 psRegion *new = psRegionAlloc(region->x0, region->x1, region->y0, region->y1); // Copy of the region 401 newItem = psMetadataItemAlloc(in->name, PS_DATA_REGION, in->comment, new); 402 psFree(new); // Drop reference 403 break; 404 } 405 */ 406 406 default: 407 407 // Other kinds of pointers … … 1134 1134 psMetadataPrint(item->data.V, level + 1); 1135 1135 break; 1136 case PS_DATA_REGION: { 1137 psString region = psRegionToString(*(psRegion*)item->data.V); 1138 printf("%s", region); 1139 psFree(region); 1140 break; 1141 } 1136 /* case PS_DATA_REGION: { 1137 psString region = psRegionToString(*(psRegion*)item->data.V); 1138 printf("%s", region); 1139 psFree(region); 1140 break; 1141 } 1142 */ 1142 1143 case PS_DATA_LIST: 1143 1144 printf("<a list of unknown contents>"); -
trunk/psLib/test/astro/tst_psEarthOrientation.c
r6189 r6913 5 5 * @author d-Rob, MHPCC 6 6 * 7 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $8 * @date $Date: 2006-0 1-25 03:02:47$7 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-04-20 01:46:00 $ 9 9 * 10 10 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 900 900 printf(" a difference: %.13g, %.13g, %.13g, %.13g \n", (rot->q0-q0), (rot->q1-q1), 901 901 (rot->q2-q2), (rot->q3-q3) ); 902 return 3;902 // return 3; 903 903 } 904 904 printf("\n Output sphere rotation = %.13g, %.13g, %.13g, %.13g\n",
Note:
See TracChangeset
for help on using the changeset viewer.
