Changeset 10609
- Timestamp:
- Dec 10, 2006, 7:29:51 AM (19 years ago)
- Location:
- trunk/psLib/src/astro
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psCoord.c
r9730 r10609 10 10 * @author GLG, MHPCC 11 11 * 12 * @version $Revision: 1.12 6$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-1 0-24 22:52:55$12 * @version $Revision: 1.127 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-12-10 17:29:29 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 349 349 350 350 351 psPlane* p _psProject(351 psPlane* psProject( 352 352 psPlane *outPlane, 353 353 const psSphere* coord, … … 437 437 } 438 438 439 psPlane* psProject( 440 const psSphere* coord, 441 const psProjection* projection) 442 { 443 return(p_psProject(NULL, coord, projection)); 444 } 445 446 psSphere* p_psDeproject( 439 psSphere* psDeproject( 447 440 psSphere *outSphere, 448 441 const psPlane* coord, … … 560 553 } 561 554 562 psSphere* psDeproject(563 const psPlane* coord,564 const psProjection* projection)565 {566 return(p_psDeproject(NULL, coord, projection));567 }568 569 570 555 /***************************************************************************** 571 556 multiplyDPoly2D(trans1, trans2): Takes two 2-D polynomials as input and -
trunk/psLib/src/astro/psCoord.h
r7934 r10609 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1.5 3$ $Name: not supported by cvs2svn $14 * @date $Date: 2006- 07-18 22:50:47$13 * @version $Revision: 1.54 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2006-12-10 17:29:51 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 288 288 */ 289 289 psPlane* psProject( 290 const psSphere* coord, ///< coordinate to project291 const psProjection* projection ///< parameters of the projection292 );293 294 psPlane* p_psProject(295 290 psPlane *out, 296 291 const psSphere* coord, ///< coordinate to project … … 303 298 */ 304 299 psSphere* psDeproject( 305 const psPlane* coord, ///< coordinate to project306 const psProjection* projection ///< parameters of the projection307 );308 309 /** Private reverse projection of a linear coordinate to a spherical coordinate system310 *311 * @return psPlane* projected coordinate312 */313 psSphere* p_psDeproject(314 300 psSphere *outSphere, 315 301 const psPlane* coord, ///< coordinate to project -
trunk/psLib/src/astro/psSphereOps.c
r9932 r10609 8 8 * @author Dave Robbins, MHPCC 9 9 * 10 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $11 * @date $Date: 2006-1 1-09 23:26:04$10 * @version $Revision: 1.18 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2006-12-10 17:29:51 $ 12 12 * 13 13 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 335 335 PS_PROJ_TAN); 336 336 // Perform projection onto tangent plane 337 psPlane* lin = psProject( position2, proj);337 psPlane* lin = psProject(NULL, position2, proj); 338 338 // Set return values 339 339 tmp->r = lin->x; … … 417 417 PS_PROJ_TAN); 418 418 // Project tangent plane coord to spherical coord 419 tmp = psDeproject( lin, proj);419 tmp = psDeproject(NULL, lin, proj); 420 420 // Free data structures used 421 421 psFree(proj);
Note:
See TracChangeset
for help on using the changeset viewer.
