pub fn new(boxsize: f64) -> Cell {
        Cell {
            boundary: vec![
                Point::new(0., 0.),
                Point::new(boxsize, 0.),
                Point::new(boxsize, boxsize),
                Point::new(0., boxsize),
            ],
        }
    }
/// Create a Cell from the size of a box
///
/// This creates a Cell instance which starts at the origin and extends `boxsize` units in the
/// positive x and y directions.
///
Create a Cell from the size of a box
This creates a Cell instance which starts at the origin and extends `boxsize` units in the
positive x and y directions.
Create a Cell from the size of a box This creates a Cell instance which starts at the origin and extends ` boxsize ` units in the positive x and y directions .
pub fn new(boxsize: f64) -> Cell {
        Cell {
            boundary: vec![
                Point::new(0., 0.),
                Point::new(boxsize, 0.),
                Point::new(boxsize, boxsize),
                Point::new(0., boxsize),
            ],
        }
    }
pub fn new ( boxsize : f64 ) -> Cell { Cell { boundary : vec ! [ Point new ( 0. 0. ) Point new ( boxsize 0. ) Point new ( boxsize boxsize ) Point new ( 0. boxsize ) ] , } }
Create a Cell from the size of a box
This creates a Cell instance which starts at the origin and extends `boxsize` units in the
positive x and y directions.
Create a Cell from the size of a box This creates a Cell instance which starts at the origin and extends ` boxsize ` units in the positive x and y directions .
boxsize
f64
boxsize
f64