Class lsst::afw::math::NearestWarpingKernel::NearestFunction1

class NearestFunction1 : public lsst::afw::math::Function1<Kernel::Pixel>

1-dimensional nearest neighbor interpolation function.

Optimized for nearest neighbor warping so only accepts two values: 0 and 1 (which is why it defined in the NearestWarpingKernel class instead of being made available as a standalone function).