FACT++  1.0
bool Interpolator2D::SetOutputGrid ( const std::vector< Interpolator2D::vec > &  v)
inline

Definition at line 450 of file Interpolator2D.h.

References CalculateWeights(), and i.

451  {
452  if (inputGrid.empty())
453  return false;
454 
455  weights.clear();
456 
457  outputGrid.clear();
458  outputGrid.reserve(v.size());
459  for (std::size_t i=0; i<v.size(); i++)
460  outputGrid.emplace_back(i, v[i]);
461 
462  return CalculateWeights();
463  }
int i
Definition: db_dim_client.c:21
std::vector< point > outputGrid
positions of the data points (e.g. sensors)
bool CalculateWeights()
std::vector< point > inputGrid
std::vector< weight > weights
the calculated circles/triangles

+ Here is the call graph for this function: