projective-grid 0.4.0

Generic 2D projective grid graph construction, traversal, and homography tools
Documentation
1
2
3
4
5
6
7
8
9
use serde::{Deserialize, Serialize};

/// Integer grid coordinates `(i, j)` identifying a corner intersection
/// in a 2D grid.
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash, Serialize, Deserialize)]
pub struct GridIndex {
    pub i: i32,
    pub j: i32,
}