Trait libreda_db::layout::prelude::Area

source ·
pub trait Area<F> {
    // Required method
    fn area(&self) -> F;
}
Expand description

Calculate the area of a geometry.

Required Methods§

source

fn area(&self) -> F

Compute the area of a geometrical shape by first computing doubled oriented area and then taking absolute value of the half.

Implementors§