[−][src]Trait maker_panel::features::Feature
A top-level unit that makes up the geometry of the panel.
Required methods
pub fn name(&self) -> &'static str[src]
Human-readable name describing the construction.
pub fn translate(&mut self, v: Coordinate<f64>)[src]
Adjust all coordinates by the specified amount. Should
affect all geometries returned from Feature::edge_union,
Feature::edge_subtract, and Feature::interior.
pub fn edge_union(&self) -> Option<MultiPolygon<f64>>[src]
Returns the outer geometry describing the boundaries of the panel, which should be unioned with the outer geometry of all other features.
pub fn interior(&self) -> Vec<InnerAtom>[src]
Returns the inner geometry describing features on the panel, within the bounds of the computed edge geometry.
Provided methods
pub fn edge_subtract(&self) -> Option<MultiPolygon<f64>>[src]
Returns the outer geometry describing the boundaries of the panel, which should be subtracted from the outer geometry of all other features.
Implementations on Foreign Types
impl<'a> Feature for Box<dyn Feature + 'a>[src]
pub fn name(&self) -> &'static str[src]
pub fn translate(&mut self, v: Coordinate<f64>)[src]
pub fn edge_union(&self) -> Option<MultiPolygon<f64>>[src]
pub fn interior(&self) -> Vec<InnerAtom>[src]
pub fn edge_subtract(&self) -> Option<MultiPolygon<f64>>[src]
Implementors
impl Feature for Unit[src]
pub fn name(&self) -> &'static str[src]
pub fn edge_union(&self) -> Option<MultiPolygon<f64>>[src]
pub fn translate(&mut self, _v: Coordinate<f64>)[src]
pub fn interior(&self) -> Vec<InnerAtom>[src]
impl<U, S> Feature for AtPos<U, S> where
U: Feature + Debug + Clone,
S: Feature + Debug + Clone, [src]
U: Feature + Debug + Clone,
S: Feature + Debug + Clone,