Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _GRIDUTILS_H_20050126
00011 #define _GRIDUTILS_H_20050126
00012
00013 #include <vector>
00014
00015 namespace RDGeom {
00016 class UniformGrid3D;
00017 class Point3D;
00018
00019
00020
00021
00022
00023
00024
00025 template<class GRIDTYPE> double tanimotoDistance(const GRIDTYPE &grid1,
00026 const GRIDTYPE &grid2);
00027
00028
00029
00030
00031
00032
00033 template<class GRIDTYPE> double protrudeDistance(const GRIDTYPE &grid1,
00034 const GRIDTYPE &grid2);
00035
00036
00037
00038 Point3D computeGridCentroid(const UniformGrid3D &grid,
00039 const Point3D &pt,
00040 double windowRadius,
00041 double &weightSum);
00042
00043
00044
00045 std::vector<Point3D> findGridTerminalPoints(const UniformGrid3D &grid,
00046 double windowRadius,
00047 double inclusionFraction);
00048
00049
00050 }
00051
00052 #endif
00053