[][src]Struct nlsn_delaunay::Triangle

pub struct Triangle {
    pub v1: Rc<Vertex>,
    pub v2: Rc<Vertex>,
    pub v3: Rc<Vertex>,
}

Fields

v1: Rc<Vertex>v2: Rc<Vertex>v3: Rc<Vertex>

Methods

impl Triangle[src]

pub fn new(v1: &Rc<Vertex>, v2: &Rc<Vertex>, v3: &Rc<Vertex>) -> Triangle[src]

pub fn is_ghost(&self) -> bool[src]

pub fn area(&self) -> f64[src]

pub fn encircles(&self, vertex: &Vertex) -> Continence[src]

pub fn circumcenter(&self) -> Rc<Vertex>[src]

pub fn quality_ratio(&self) -> f64[src]

pub fn inner_edges(&self) -> (Rc<Edge>, Rc<Edge>, Rc<Edge>)[src]

pub fn outer_edges(&self) -> (Rc<Edge>, Rc<Edge>, Rc<Edge>)[src]

Trait Implementations

impl Display for Triangle[src]

impl Eq for Triangle[src]

impl Hash for Triangle[src]

impl PartialEq<Triangle> for Triangle[src]

Auto Trait Implementations

impl !RefUnwindSafe for Triangle

impl !Send for Triangle

impl !Sync for Triangle

impl Unpin for Triangle

impl UnwindSafe for Triangle

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,