11#ifndef _GRID3D_H_20050124_1113
12#define _GRID3D_H_20050124_1113
18class DiscreteValueVect;
30 const char *
what() const noexcept
override {
return _msg.c_str(); }
46 virtual unsigned int getVal(
unsigned int pointId)
const = 0;
47 virtual void setVal(
unsigned int pointId,
unsigned int val) = 0;
Virtual base class for a grid object.
virtual Point3D getGridPointLoc(unsigned int pointId) const =0
virtual unsigned int getSize() const =0
virtual int getVal(const Point3D &point) const =0
virtual int getGridPointIndex(const Point3D &point) const =0
virtual void setVal(const Point3D &point, unsigned int val)=0
virtual const RDKit::DiscreteValueVect * getOccupancyVect() const =0
virtual unsigned int getVal(unsigned int pointId) const =0
virtual void setVal(unsigned int pointId, unsigned int val)=0
GridException(const char *msg)
construct with an error message
~GridException() noexcept override=default
const char * what() const noexcept override
get the error message
GridException(std::string msg)
construct with an error message
a class for efficiently storing vectors of discrete values
#define RDKIT_RDGEOMETRYLIB_EXPORT