chrono::utils::ChPDGrid< Point > Class Template Reference

Description

template<typename Point = ChVector3d>
class chrono::utils::ChPDGrid< Point >

Simple 3D grid utility class for use by the Poisson Disk sampler.

#include <ChUtilsSamplers.h>

Public Types

typedef std::pair< Point, bool > Content
 

Public Member Functions

int GetDimX () const
 
int GetDimY () const
 
int GetDimZ () const
 
void Resize (int dimX, int dimY, int dimZ)
 
void SetCellPoint (int i, int j, int k, const Point &p)
 
const Point & GetCellPoint (int i, int j, int k) const
 
bool IsCellEmpty (int i, int j, int k) const
 
Content & operator() (int i, int j, int k)
 
const Content & operator() (int i, int j, int k) const
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/utils/ChUtilsSamplers.h