Representation of a single small volume (voxel). More...
#include <PhotonVoxels.h>
Public Types | |
using | DefaultPoint = geo::Point_t |
Public Member Functions | |
PhotonVoxel ()=default | |
PhotonVoxel (geo::Point_t const &min, geo::Point_t const &max) | |
PhotonVoxel (double xMin, double xMax, double yMin, double yMax, double zMin, double zMax) | |
template<typename Point = DefaultPoint> | |
decltype(auto) | GetLowerCorner () const |
Returns the voxel vertex (type Point ) with the lowest coordinates. More... | |
template<typename Point = DefaultPoint> | |
decltype(auto) | GetUpperCorner () const |
Returns the voxel vertex (type Point ) with the highest coordinates. More... | |
template<typename Point = DefaultPoint> | |
Point | GetCenter () const |
Returns the center of the voxel (type Point ). More... | |
Private Attributes | |
geo::Point_t | fVoxelMin |
geo::Point_t | fVoxelMax |
Representation of a single small volume (voxel).
Definition at line 20 of file PhotonVoxels.h.
Definition at line 34 of file PhotonVoxels.h.
|
default |
|
inline |
Definition at line 23 of file PhotonVoxels.h.
|
inline |
Definition at line 25 of file PhotonVoxels.h.
Point sim::PhotonVoxel::GetCenter | ( | ) | const |
Returns the center of the voxel (type Point
).
Definition at line 199 of file PhotonVoxels.h.
decltype(auto) sim::PhotonVoxel::GetLowerCorner | ( | ) | const |
Returns the voxel vertex (type Point
) with the lowest coordinates.
decltype(auto) sim::PhotonVoxel::GetUpperCorner | ( | ) | const |
Returns the voxel vertex (type Point
) with the highest coordinates.
|
private |
Definition at line 31 of file PhotonVoxels.h.
|
private |
Definition at line 30 of file PhotonVoxels.h.