11 #ifndef _RD_SHAPE_UTILS_H_20050128_ 12 #define _RD_SHAPE_UTILS_H_20050128_ 33 double padding = 2.5);
65 bool ignoreHs =
true);
98 int confId2 = -1,
double gridSpacing = 0.5,
99 DiscreteValueVect::DiscreteValueType bitsPerPoint =
100 DiscreteValueVect::TWOBITVALUE,
101 double vdwScale = 0.8,
double stepSize = 0.25,
102 int maxLayers = -1,
bool ignoreHs =
true);
131 double gridSpacing = 0.5,
132 DiscreteValueVect::DiscreteValueType bitsPerPoint =
133 DiscreteValueVect::TWOBITVALUE,
134 double vdwScale = 0.8,
double stepSize = 0.25,
135 int maxLayers = -1,
bool ignoreHs =
true);
167 int confId2 = -1,
double gridSpacing = 0.5,
168 DiscreteValueVect::DiscreteValueType bitsPerPoint =
169 DiscreteValueVect::TWOBITVALUE,
170 double vdwScale = 0.8,
double stepSize = 0.25,
171 int maxLayers = -1,
bool ignoreHs =
true);
197 double gridSpacing = 0.5,
198 DiscreteValueVect::DiscreteValueType bitsPerPoint =
199 DiscreteValueVect::TWOBITVALUE,
200 double vdwScale = 0.8,
double stepSize = 0.25,
201 int maxLayers = -1,
bool ignoreHs =
true);
236 int confId2 = -1,
double gridSpacing = 0.5,
237 DiscreteValueVect::DiscreteValueType bitsPerPoint =
238 DiscreteValueVect::TWOBITVALUE,
239 double vdwScale = 0.8,
double stepSize = 0.25,
240 int maxLayers = -1,
bool ignoreHs =
true,
241 bool allowReordering =
true);
271 double gridSpacing = 0.5,
272 DiscreteValueVect::DiscreteValueType bitsPerPoint =
273 DiscreteValueVect::TWOBITVALUE,
274 double vdwScale = 0.8,
double stepSize = 0.25,
275 int maxLayers = -1,
bool ignoreHs =
true,
276 bool allowReordering =
true);
RDKIT_SHAPEHELPERS_EXPORT void computeUnionBox(const RDGeom::Point3D &leftBottom1, const RDGeom::Point3D &rightTop1, const RDGeom::Point3D &leftBottom2, const RDGeom::Point3D &rightTop2, RDGeom::Point3D &uLeftBottom, RDGeom::Point3D &uRightTop)
Compute the union of two boxes.
#define RDKIT_SHAPEHELPERS_EXPORT
RDKIT_RDGEOMETRYLIB_EXPORT double tverskyIndex(const GRIDTYPE &grid1, const GRIDTYPE &grid2, double alpha, double beta)
calculate the tversky index between the shapes encoded on two grids
RDKIT_SHAPEHELPERS_EXPORT void computeConfDimsAndOffset(const Conformer &conf, RDGeom::Point3D &dims, RDGeom::Point3D &offSet, const RDGeom::Transform3D *trans=0, double padding=2.5)
Compute the size of the box that can fit the conformation, and offset of the.
RDKIT_SHAPEHELPERS_EXPORT void computeConfBox(const Conformer &conf, RDGeom::Point3D &leftBottom, RDGeom::Point3D &rightTop, const RDGeom::Transform3D *trans=0, double padding=2.5)
Compute the a box that will fit the confomer.
RDKIT_RDGEOMETRYLIB_EXPORT double protrudeDistance(const GRIDTYPE &grid1, const GRIDTYPE &grid2)
calculate the protrude distance between the shapes encoded on two grids
RDKIT_SHAPEHELPERS_EXPORT std::vector< double > getConfDimensions(const Conformer &conf, double padding=2.5, const RDGeom::Point3D *center=0, bool ignoreHs=true)
Compute dimensions of a conformer.
RDKIT_RDGEOMETRYLIB_EXPORT double tanimotoDistance(const GRIDTYPE &grid1, const GRIDTYPE &grid2)
calculate the tanimoto distance between the shapes encoded on two grids