science-grid 0.1.1

科学网格数据结构
Documentation
1
2
3
4
5
6
7
8
use super::constant::INVALID;
pub trait Grid: Send + Sync {
    fn get_end_x(&self) -> f64;
    fn get_end_y(&self) -> f64;
    fn get_invalid(&self) -> f64 {
        INVALID
    }
}