Trait libreda_db::layout::prelude::ToPolygon
source · pub trait ToPolygon<T> {
// Required method
fn to_polygon(&self) -> Polygon<T>;
}
Expand description
Trait for the conversion of a geometric shape to a polygon.
Required Methods§
sourcefn to_polygon(&self) -> Polygon<T>
fn to_polygon(&self) -> Polygon<T>
Convert the geometric object into a polygon.