Trait libreda_db::prelude::Area

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

Calculate the area of a geometry.

Required Methods§

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§