Triangle

Members

Aliases

PointType
alias PointType = Vector!(T, N)

Functions

area
T area()

Returns area of a 2D triangle.

computeNormal
Vector!(T, 3) computeNormal()

Returns triangle normal.

signedArea
T signedArea()

Returns signed area of a 2D triangle.

Variables

a
PointType a;
b
PointType b;
c
PointType c;

Meta