Triangles. More...
#include <triangle_math.h>
Public Member Functions | |
Trianglex () | |
Trianglex (const Trianglex< Type > ©) | |
Trianglex (const Vec2< Type > &point_p, const Vec2< Type > &point_q, const Vec2< Type > &point_r) | |
Attributes | |
bool | point_inside (const Vec2< Type > &point) const |
Return true if the point is inside the triangle. More... | |
Operators | |
Trianglex< Type > & | operator= (const Trianglex< Type > ©) |
= operator. More... | |
bool | operator== (const Trianglex< Type > &triangle) const |
== operator. More... | |
bool | operator!= (const Trianglex< Type > &triangle) const |
!= operator. More... | |
Public Attributes | |
Vec2< Type > | p |
First triangle point. More... | |
Vec2< Type > | q |
Vec2< Type > | r |
Triangles.
These triangle templates are defined for: int (Triangle), float (Trianglef), double (Triangled)