pub(crate) fn area(&self) -> f64 {
        self.sides()
            .map(|(curr, next)| (next.x() + curr.x()) * (next.y() - curr.y()))
            .sum::<f64>()
            .abs()
            / 2.
    }
/// Find the area of the cell
Find the area of the cell
Find the area of the cell
pub(crate) fn area(&self) -> f64 {
        self.sides()
            .map(|(curr, next)| (next.x() + curr.x()) * (next.y() - curr.y()))
            .sum::<f64>()
            .abs()
            / 2.
    }
pub ( crate ) fn area ( & self ) -> f64 { self . sides ( ) . map ( | ( curr , next ) | ( next . x ( ) + curr . x ( ) ) * ( next . y ( ) - curr . y ( ) ) ) . sum :: < f64 > ( ) . abs ( ) / 2. }
Find the area of the cell
Find the area of the cell
&self
&self