cgma
GridSearchTree.cpp File Reference
#include <math.h>
#include "GridSearchTree.hpp"

Go to the source code of this file.

Functions

double dist (CubitPoint *a, CubitPoint *b)

Function Documentation

double dist ( CubitPoint a,
CubitPoint b 
)

Definition at line 4 of file GridSearchTree.cpp.

                                            {
  return sqrt((a->x() - b->x())*(a->x() - b->x()) + (a->y() - b->y())*(a->y() - b->y()) + (a->z() - b->z())*(a->z() - b->z()) );
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines