Commit 95f35626 authored by Adam Goins's avatar Adam Goins Committed by Makayla Shepherd
Browse files

Added documentation to ControlPoint methods.

parent 38a466d3
Loading
Loading
Loading
Loading
+10 −5
Original line number Diff line number Diff line
@@ -2464,7 +2464,9 @@ namespace Isis {

    return fileEntry;
  }
  double ControlPoint::AprioriCovar(int position) const {

  //! Returns the apriori covar value associated at the given position.
  double ControlPoint::GetAprioriCovar(int position) const {
    SurfacePoint apriori = GetAprioriSurfacePoint();
    symmetric_matrix< double, upper > covar = apriori.GetRectangularMatrix();
    switch (position) {
@@ -2492,6 +2494,7 @@ namespace Isis {
    }
  }

  //! Returns true if there are apriori surface point covar values.
  bool ControlPoint::HasAprioriCovar() const {
    SurfacePoint apriori = GetAprioriSurfacePoint();
    symmetric_matrix< double, upper > covar = apriori.GetRectangularMatrix();
@@ -2504,6 +2507,7 @@ namespace Isis {
    return false;
  }

  //! Returns true if there are adjusted surface point covar values.
  bool ControlPoint::HasAdjustedCovar() const {
    SurfacePoint adjusted = GetAdjustedSurfacePoint();
    symmetric_matrix< double, upper > covar = adjusted.GetRectangularMatrix();
@@ -2516,7 +2520,8 @@ namespace Isis {
    return false;
  }

  double ControlPoint::AdjustedCovar(int position) const {
  //! Returns the adjusted covar value associated at the given position.
  double ControlPoint::GetAdjustedCovar(int position) const {
    SurfacePoint adjusted = GetAdjustedSurfacePoint();
    symmetric_matrix< double, upper > covar = adjusted.GetRectangularMatrix();
    switch (position) {
+2 −2
Original line number Diff line number Diff line
@@ -580,8 +580,8 @@ namespace Isis {
      double GetSampleResidualRms() const;
      double GetLineResidualRms() const;
      double GetResidualRms() const;
      double AprioriCovar(int) const;
      double AdjustedCovar(int) const;
      double GetAprioriCovar(int) const;
      double GetAdjustedCovar(int) const;
      void ClearJigsawRejected();

      ControlPointFileEntryV0002 ToFileEntry() const;