in IsometricPatternMatcher/HexGridFitting.cpp [100:118]
void HexGridFitting::setParams(const Eigen::Vector2d& centerXY,
double focalLength, bool ifDistort,
bool ifTwoShot, bool ifPoseMerge, double spacing,
int numNeighboursForPoseEst, int numberSegX,
int numberSegY, double perPointSearchRadius,
int numNeighbourLayer) {
spacing_ = spacing;
numNeighboursForPoseEst_ = numNeighboursForPoseEst;
numberSegX_ = numberSegX;
numberSegY_ = numberSegY;
perPointSearchRadius_ = perPointSearchRadius;
numNeighbourLayer_ = numNeighbourLayer;
focalLength_ = focalLength;
centerXY_ = centerXY;
ifDistort_ = ifDistort;
ifTwoShot_ = ifTwoShot;
ifPoseMerge_ = ifPoseMerge;
distortionParams_ = Eigen::Vector4d::Zero(4, 1);
}