Trait libreda_db::prelude::Mirror[][src]

pub trait Mirror<T> where
    T: CoordinateType
{ pub fn mirror_x(&self) -> Self;
pub fn mirror_y(&self) -> Self; }

Mirror at the x or y axis.

Required methods

pub fn mirror_x(&self) -> Self[src]

Mirror this shape at the x-axis.

pub fn mirror_y(&self) -> Self[src]

Mirror this shape at the y-axis.

Loading content...

Implementors

impl<S, T> Mirror<T> for S where
    S: MapPointwise<T>,
    T: CoordinateType
[src]

pub fn mirror_x(&self) -> S[src]

Return the geometrical object mirrored at the x axis.

pub fn mirror_y(&self) -> S[src]

Return the geometrical object mirrored at the y axis.

Loading content...