pub struct Triangle {
    pub a: Point,
    pub b: Point,
    pub c: Point,
}
Expand description

A triangle

Fields

a: Pointb: Pointc: Point

Implementations

Construct a new triangle from three vertices

Trait Implementations

The closest point to another object

The closest point to another object

Whether this shape collides with the other, and where

Whether this shape collides with the other, and where

Whether this shape collides with the other, and where

Formats the value using the given formatter. Read more

Performs the conversion.

Whether this shape intersect with the other

Whether this shape intersect with the other

Whether this shape intersect with the other

Whether this shape intersect with the other

Whether this shape intersect with the other

Whether this shape intersect with the other

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.