Changeset 525 in Sophya
- Timestamp:
- Oct 27, 1999, 12:45:47 PM (26 years ago)
- Location:
- trunk/SophyaLib/Samba
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/Samba/pixelmap.h
r518 r525 24 24 25 25 PixelMap(SphereCoordSys* cs = NULL) : mInfo_(NULL) 26 { if (cs) cs_ = cs; else cs = new SphereCoordSys; }26 { if (cs) cs_ = cs; else cs_ = new SphereCoordSys; } 27 27 virtual ~PixelMap() 28 28 { if (mInfo_) delete mInfo_; if (cs_) delete cs_; } -
trunk/SophyaLib/Samba/spherepos.cc
r518 r525 1 1 #include "spherepos.h" 2 2 3 static char *head_spherepos_cc_ = "$Header: /Users/garnier/temp/CVSSophya/SophyaLib/Samba/spherepos.cc,v 1. 1 1999-10-26 14:31:40ansari Exp $";3 static char *head_spherepos_cc_ = "$Header: /Users/garnier/temp/CVSSophya/SophyaLib/Samba/spherepos.cc,v 1.2 1999-10-27 10:45:47 ansari Exp $"; 4 4 5 5 … … 14 14 id_ = id; 15 15 description_ = description; 16 } 17 18 SphereCoordSys::~SphereCoordSys() 19 { 16 20 } 17 21 … … 60 64 } 61 65 66 SpherePosition::~SpherePosition() 67 { 68 if (cs_) delete cs_; 69 } 70 62 71 UnitVector SpherePosition::Transform(const SphereCoordSys& cs) const 63 72 {
Note:
See TracChangeset
for help on using the changeset viewer.