Function tryOffset

Returns the byte/element offset for a local coordinate, after bounds check.

bool tryOffset(
  imagery.analysis.execution.PlaneWindow p,
  ulong x,
  ulong y,
  out long offset
) pure nothrow @nogc @safe;