Triangles - Integer. More...
#include <triangle_math.h>
Inheritance diagram for clan::Triangle:Public Member Functions | |
| Triangle () | |
| Triangle (const Trianglex< int > ©) | |
| Triangle (const Vec2< int > &point_p, const Vec2< int > &point_q, const Vec2< int > &point_r) | |
Attributes | |
| bool | point_inside (const Vec2< int > &point) const |
| Return true if the point is inside the triangle. More... | |
Operators | |
| bool | operator== (const Trianglex< int > &triangle) const |
| == operator. More... | |
| bool | operator!= (const Trianglex< int > &triangle) const |
| != operator. More... | |
Public Attributes | |
| Vec2< int > | p |
| First triangle point. More... | |
| Vec2< int > | q |
| Vec2< int > | r |
Triangles - Integer.
|
inlineinherited |
!= operator.
References clan::Trianglex< Type >::p, clan::Trianglex< Type >::q, and clan::Trianglex< Type >::r.
|
inlineinherited |
== operator.
References clan::Trianglex< Type >::p, clan::Trianglex< Type >::q, and clan::Trianglex< Type >::r.
|
inherited |
Return true if the point is inside the triangle.
| point | = point to test. |
|
inherited |
First triangle point.
|
inherited |
|
inherited |