Constant Coordination Lattice

template<class PointCloud>
class ConstantCoordinationLattice
#include <constant_coordination.h>

Constant Coordination Lattice A class that can create a Constant Coordination lattice on a user defined point cloud.

Template Parameters
  • PointCloud: The Point Cloud that is used by the user.

Public Functions

ConstantCoordinationLattice(const int len, const int dim)
std::vector<int> nbrs(const int a, const int i) const
std::vector<double> crds(const int i) const
std::size_t size() const

Public Members

int npoints
int len
int dim
std::vector<std::vector<int>> neighbours

Private Members

PointCloud cloud