Commit b7c429cc authored by Ian Humphrey's avatar Ian Humphrey
Browse files

PROG: Updated documentation for cnet2dem main and PointCloud header file. References #3869.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/trunk@6648 41f8697f-d340-4b68-9986-7bafba869bb8
parent dccb6c74
Loading
Loading
Loading
Loading
+29 −4
Original line number Diff line number Diff line
@@ -27,7 +27,14 @@

namespace Isis {

/** Functor to compute 3-d Euclidean distances */
  /** 
   * Functor to compute 3-d Euclidean distances
   *
   * @author Kris Becker 2014-02-17 
   *  
   * @internal 
   *   @history Kris Becker 2014-02-17 - Original version.
   */
  template <class T> class Dist3d {
    public:
      enum { Dimension = 3 };
@@ -53,7 +60,15 @@ public:
      }
  };
  
/** Functor to compute 2-d Euclidean distances */

  /** 
   * Functor to compute 2-d Euclidean distances
   *
   * @author Kris Becker 2014-02-17 
   *  
   * @internal 
   *   @history Kris Becker 2014-02-17 - Original version.
   */
  template <class T> class Dist2d {
    public:
      enum { Dimension = 2 };
@@ -77,7 +92,15 @@ public:
      }
  };
  
/** Functor to compute 1-d Manhattan distances */

  /** 
   * Functor to compute 1-d Manhattan distances 
   *  
   * @author Kris Becker 2014-02-17 
   *  
   * @internal 
   *   @history Kris Becker 2014-02-17 - Original version.
   */
  template <class T> class Dist1d {
    public:
      enum { Dimension = 1 };
@@ -145,8 +168,10 @@ public:
   * but this is not required - as long as Euclidean distances apply to the point
   * dataset, any 3D vector representation could utilize this class.
   *  
   * @author Kris Becker 2014-02-17 
   *  
   * @internal 
 * @history 2014-02-17 Kris Becker Original Version 
   *   @history Kris Becker 2014-02-17 - Original version.
   */
  template <class T, class Distance = Dist3d<T> > class PointCloud {
    public:
+8 −1
Original line number Diff line number Diff line
@@ -38,7 +38,14 @@ using namespace Isis;
// Control network manager
typedef QList<QSharedPointer<ControlNet> >    ControlNetList;

/** Functor for normalized 3D-to-2D Euclidean distances */
/** 
 * Functor for normalized 3D-to-2D Euclidean distances
 * 
 * @author 2015-03-14 Kris Becker
 * 
 * @internal
 *   @history 2015-03-14 Kris Becker - Original version.
 */
template <class T> class Dist3Dto2D {
public:
  enum { Dimension = 3 };  // Needs all three coordinates