File tree 1 file changed +4
-7
lines changed
isis/src/control/objs/BundleSolutionInfo
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -1670,17 +1670,14 @@ namespace Isis {
1670
1670
corrections ();
1671
1671
1672
1672
if (m_settings->controlPointCoordTypeBundle () == SurfacePoint::Rectangular) {
1673
- double x = bundlecontrolpoint->adjustedSurfacePoint ().GetX ().kilometers ();
1674
1673
double xCor = corrections (0 ); // km
1675
- double y = bundlecontrolpoint->adjustedSurfacePoint ().GetY ().kilometers ();
1676
1674
double yCor = corrections (1 ); // km
1677
- double z = bundlecontrolpoint->adjustedSurfacePoint ().GetZ ().kilometers ();
1678
1675
double zCor = corrections (2 ); // km
1679
1676
1680
- if (!IsSpecial (x ) && !IsSpecial (y ) && !IsSpecial (z )) {
1681
- SurfacePoint rectPoint (Displacement (x - xCor, Displacement::Kilometers),
1682
- Displacement (y - yCor, Displacement::Kilometers),
1683
- Displacement (z - zCor, Displacement::Kilometers));
1677
+ if (!IsSpecial (dX ) && !IsSpecial (dY ) && !IsSpecial (dZ )) {
1678
+ SurfacePoint rectPoint (Displacement (dX - xCor, Displacement::Kilometers),
1679
+ Displacement (dY - yCor, Displacement::Kilometers),
1680
+ Displacement (dZ - zCor, Displacement::Kilometers));
1684
1681
1685
1682
latInit = rectPoint.GetLatitude ().degrees ();
1686
1683
lonInit = rectPoint.GetLongitude ().degrees ();
You can’t perform that action at this time.
0 commit comments