Struct lyon_geom::Triangle [] [src]

pub struct Triangle<S> {
    pub a: Point<S>,
    pub b: Point<S>,
    pub c: Point<S>,
}

A 2D triangle defined by three points a, b and c.

Fields

Methods

impl<S: Scalar> Triangle<S>
[src]

[src]

[src]

Return the minimum bounding rectangle.

[src]

[src]

[src]

[src]

[src]

[src]

[src]

[Not implemented] Applies the transform to this triangle and returns the results.

[src]

Test for triangle-triangle intersection.

[src]

Test for triangle-segment intersection.

Trait Implementations

impl<S: Copy> Copy for Triangle<S>
[src]

impl<S: Clone> Clone for Triangle<S>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<S: Debug> Debug for Triangle<S>
[src]

[src]

Formats the value using the given formatter. Read more

impl<S: PartialEq> PartialEq for Triangle<S>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

Auto Trait Implementations

impl<S> Send for Triangle<S> where
    S: Send

impl<S> Sync for Triangle<S> where
    S: Sync