[][src]Type Definition plexus::primitive::Trigon

type Trigon<T> = NGon<[T; 3]>;

Triangle.

Methods

impl<T> Trigon<T>[src]

pub fn new(a: T, b: T, c: T) -> Self[src]

pub fn plane(&self) -> Option<Plane<Position<T>>> where
    T: AsPosition,
    Position<T>: EuclideanSpace + FiniteDimensional<N = U3>,
    Vector<Position<T>>: Cross<Output = Vector<Position<T>>>, 
[src]

Trait Implementations

impl<T> IntoEdges for Trigon<T> where
    T: Clone
[src]

type Output = ArrayVec<[Edge<Self::Vertex>; 3]>

impl<T> IntoTrigons for Trigon<T>[src]

type Output = ArrayVec<[Trigon<Self::Vertex>; 1]>

impl<T> IntoSubdivisions for Trigon<T> where
    T: Clone + Interpolate<Output = T>, 
[src]

impl<T> Rotate for Trigon<T>[src]