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

Description

template<typename Point = ChVector<double>>
class chrono::utils::PDGrid< 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