10 #ifndef _GRIDUTILS_H_20050126 11 #define _GRIDUTILS_H_20050126 25 template <
class GRIDTYPE>
33 template <
class GRIDTYPE>
38 double windowRadius,
double &weightSum);
44 double inclusionFraction);
std::vector< Point3D > findGridTerminalPoints(const UniformGrid3D &grid, double windowRadius, double inclusionFraction)
double tanimotoDistance(const GRIDTYPE &grid1, const GRIDTYPE &grid2)
calculate the tanimoto distance between the shapes encoded on two grids
Point3D computeGridCentroid(const UniformGrid3D &grid, const Point3D &pt, double windowRadius, double &weightSum)
calculate the grid centroid within a window of a point
double protrudeDistance(const GRIDTYPE &grid1, const GRIDTYPE &grid2)
calculate the protrude distance between the shapes encoded on two grids