More edge stuff and shape stuff in general. TODO: Adjacent edges and offsets/rotation.