gdsdk 0.1.1

Gdsii file development kit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// mathmatic vector
#[derive(Default, Debug)]
pub struct Vector {
    pub x: f64,
    pub y: f64,
}

impl Vector {
    pub fn new(x: f64, y: f64) -> Self {
        Vector { x, y }
    }
}