Trait ccgeom::Map [−][src]
pub trait Map<P, D = P>: Clone { fn identity() -> Self; fn apply_pos(&self, pos: P) -> P; fn apply_dir(&self, pos: P, dir: D) -> D; fn apply_normal(&self, pos: P, normal: D) -> D; fn chain(self, other: Self) -> Self; fn inv(self) -> Self; }
Required methods
fn identity() -> Self
[src]
fn apply_pos(&self, pos: P) -> P
[src]
fn apply_dir(&self, pos: P, dir: D) -> D
[src]
fn apply_normal(&self, pos: P, normal: D) -> D
[src]
fn chain(self, other: Self) -> Self
[src]
fn inv(self) -> Self
[src]
Implementors
impl<A, T> Map<T, T> for A where
A: Directional<T> + Clone,
T: Normalize,
[src]
impl<A, T> Map<T, T> for A where
A: Directional<T> + Clone,
T: Normalize,
[src]