Permalink
Browse files

Fix ISIS unit tests to work with ISIS3.3.0

Whoops forgot these.
  • Loading branch information...
Zack Moratto
Zack Moratto committed Oct 17, 2011
1 parent 2e9a880 commit 78ca692eba529b41a6d4852e3809356fbedabde6
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/asp/IsisIO/tests/TestIsisCameraModel.cxx
@@ -24,6 +24,10 @@
#include <CameraFocalPlaneMap.h>
#include <CameraDetectorMap.h>
#include <CameraDistortionMap.h>
+#include <Projection.h>
+#include <Latitude.h>
+#include <Longitude.h>
+#include <Distance.h>
using namespace vw;
using namespace vw::camera;
@@ -64,8 +68,9 @@ TEST(IsisCameraModel, mapprojected) {
proj->UniversalLatitude(),
0 );
if ( cam->HasElevationModel() ) {
- lon_lat_radius[2] = cam->DemRadius( lon_lat_radius[1],
- lon_lat_radius[0] );
+ lon_lat_radius[2] =
+ cam->DemRadius( Isis::Latitude(lon_lat_radius[1], Isis::Latitude::Degrees),
+ Isis::Longitude(lon_lat_radius[0], Isis::Longitude::Degrees) ).GetMeters();
} else {
vw_throw( NoImplErr() << " don't support ellipsoids at the moment" );
}

0 comments on commit 78ca692

Please sign in to comment.