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