Function lsst::afw::image::positionToIndex(double const, bool)

Function Documentation

std::pair<int, double> lsst::afw::image::positionToIndex(double const pos, bool)

Parameters
  • pos: image position

Convert image position to index (nearest integer and fractional parts)

Return

std::pair(nearest integer index, fractional part)