2 #define PhotonVoxels_h 1 66 TVector3 GetRegionUpperCorner()
const;
67 TVector3 GetRegionLowerCorner()
const;
68 TVector3 GetSteps()
const;
71 TVector3 GetVoxelSize()
const;
73 int GetNVoxels()
const;
75 int GetVoxelID(
const TVector3&)
const;
76 int GetVoxelID(
double const*)
const;
77 bool IsLegalVoxelID(
int)
const;
87 void GetNeighboringVoxelIDs(
const TVector3& v,
88 std::vector<NeiInfo>& ret)
const;
91 std::vector<int> GetVoxelCoords(
int ID)
const;
96 {
return ! ((*this)==rhs); }
TVector3 GetCenter() const
TVector3 GetUpperCorner() const
TVector3 GetLowerCorner() const
bool operator!=(const PhotonVoxelDef &rhs) const
bool operator==(geometry_element_iterator< GEOIDITER > const &iter, GEOIDITER const &id_iter)
Comparison operator: geometry ID and element point to the same ID.