Image.pixel

access to pixel

  1. T pixel(in C[] crd...)
  2. const(T) pixel(in C[] crd...)
  3. T pixel(in Vector!(N, C) crd)
  4. const(T) pixel(in Vector!(N, C) crd)
    struct Image
    pure ref
    const(T)
    pixel
    const
    (
    T
    C
    size_t N
    )
    (
    in Vector!(N, C) crd
    )
    if (
    isIntegral!C
    )
    in { assert (isAllCompPositive(crd), "negative coordinate"); assert (crd.length == size.length); assert (all!"a[0]>a[1]"(zip(size.data, crd.data.dup)), "range violation"); }

Meta