Trait fj_core::operations::BuildRegion
source · pub trait BuildRegion {
// Provided methods
fn empty(services: &mut Services) -> Region { ... }
fn circle(
center: impl Into<Point<2>>,
radius: impl Into<Scalar>,
services: &mut Services
) -> Region { ... }
fn polygon<P, Ps>(points: Ps, services: &mut Services) -> Region
where P: Into<Point<2>>,
Ps: IntoIterator<Item = P>,
Ps::IntoIter: Clone + ExactSizeIterator { ... }
}Expand description
Build a Region
Provided Methods§
sourcefn circle(
center: impl Into<Point<2>>,
radius: impl Into<Scalar>,
services: &mut Services
) -> Region
fn circle( center: impl Into<Point<2>>, radius: impl Into<Scalar>, services: &mut Services ) -> Region
Build a circle
sourcefn polygon<P, Ps>(points: Ps, services: &mut Services) -> Regionwhere
P: Into<Point<2>>,
Ps: IntoIterator<Item = P>,
Ps::IntoIter: Clone + ExactSizeIterator,
fn polygon<P, Ps>(points: Ps, services: &mut Services) -> Regionwhere P: Into<Point<2>>, Ps: IntoIterator<Item = P>, Ps::IntoIter: Clone + ExactSizeIterator,
Build a polygon