Skip to content
fn

corner

int corner(const Geometry & g, int y, int x)

Where corner (y, x) reads in a plane, or -1 when it reads nothing (a zero-padded sample outside the map). A border-padded corner past the edge — the far neighbour of the last sample — reads the edge.