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)
    struct Image
    pure ref
    T
    pixel
    (
    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"); }
  4. const(T) pixel(in Vector!(N, C) crd)

Meta