lsst::afw::image::
::
positionToIndex
pos: image position
pos
Convert image position to index (nearest integer and fractional parts)
std::pair(nearest integer index, fractional part)