Commit 3cb85262 authored by Kristin Berry's avatar Kristin Berry
Browse files

Clean up some spacing (non-functional) in UsgsAstroFrameModel

parent 3f2515da
Loading
Loading
Loading
Loading
+73 −82
Original line number Diff line number Diff line
@@ -128,7 +128,6 @@ UsgsAstroFrameSensorModel::UsgsAstroFrameSensorModel() {
  m_noAdjustments.assign(m_numParameters,0.0);

  m_parameterType.assign(m_numParameters, csm::param::REAL);

}


@@ -514,8 +513,7 @@ std::vector<csm::RasterGM::SensorPartials> UsgsAstroFrameSensorModel::computeAll
    csm::param::Set pset,
    double desiredPrecision,
    double *achievedPrecision,
    csm::WarningList *warnings) const
    {
    csm::WarningList *warnings) const {
  std::vector<int> indices = getParameterSetIndices(pset);
  size_t num = indices.size();
  std::vector<csm::RasterGM::SensorPartials> partials;
@@ -533,16 +531,15 @@ std::vector<csm::RasterGM::SensorPartials> UsgsAstroFrameSensorModel::computeAll
    csm::param::Set pset,
    double desiredPrecision,
    double *achievedPrecision,
    csm::WarningList *warnings) const
    {
    csm::WarningList *warnings) const {
  csm::ImageCoord imagePt = groundToImage(groundPt,
                                          desiredPrecision, achievedPrecision, warnings);
  return computeAllSensorPartials(imagePt, groundPt,
                                  pset, desiredPrecision, achievedPrecision, warnings);
    }

std::vector<double> UsgsAstroFrameSensorModel::computeGroundPartials(const csm::EcefCoord &groundPt) const {

std::vector<double> UsgsAstroFrameSensorModel::computeGroundPartials(const csm::EcefCoord 
                                                                     &groundPt) const {
  // Partials of line, sample wrt X, Y, Z
  // Uses collinearity equations
  std::vector<double> partials(6, 0.0);
@@ -799,13 +796,11 @@ void UsgsAstroFrameSensorModel::setReferencePoint(const csm::EcefCoord &groundPt


int UsgsAstroFrameSensorModel::getNumParameters() const {

  return m_numParameters;
}


std::string UsgsAstroFrameSensorModel::getParameterName(int index) const {

  return m_parameterName[index];
}

@@ -1093,9 +1088,7 @@ bool UsgsAstroFrameSensorModel::setFocalPlane(double dx,double dy,
    undistortedY = dy;
    return false;
  }

  return true;

}


@@ -1148,8 +1141,6 @@ void UsgsAstroFrameSensorModel::distortionJacobian(double x, double y, double &J
    Jyx = Jyx + d_dx[i] * m_odtY[i];
    Jyy = Jyy + d_dy[i] * m_odtY[i];
  }


}