|
ClanLib
2.3.7
|
Triangles. More...
#include <triangle_math.h>

Public Member Functions | |
| CL_Trianglex () | |
| CL_Trianglex (const CL_Trianglex< Type > ©) | |
| CL_Trianglex (const CL_Vec2< Type > &point_p, const CL_Vec2< Type > &point_q, const CL_Vec2< Type > &point_r) | |
Attributes | |
| bool | point_inside (const CL_Vec2< Type > &point) const |
| Return true if the point is inside the triangle. More... | |
Operators | |
| CL_Trianglex< Type > & | operator= (const CL_Trianglex< Type > ©) |
| = operator. More... | |
| bool | operator== (const CL_Trianglex< Type > &triangle) const |
| == operator. More... | |
| bool | operator!= (const CL_Trianglex< Type > &triangle) const |
| != operator. More... | |
Public Attributes | |
| CL_Vec2< Type > | p |
| First triangle point. More... | |
| CL_Vec2< Type > | q |
| CL_Vec2< Type > | r |
Triangles.
These triangle templates are defined for: int (CL_Triangle), float (CL_Trianglef), double (CL_Triangled)
|
inline |
|
inline |
|
inline |
|
inline |
!= operator.
|
inline |
= operator.
|
inline |
== operator.
| bool CL_Trianglex< Type >::point_inside | ( | const CL_Vec2< Type > & | point) | const |
Return true if the point is inside the triangle.
| point | = point to test. |
| CL_Vec2<Type> CL_Trianglex< Type >::p |
First triangle point.
Referenced by CL_Trianglex< int >::CL_Trianglex(), CL_Trianglex< int >::operator!=(), CL_Trianglex< int >::operator=(), and CL_Trianglex< int >::operator==().
| CL_Vec2<Type> CL_Trianglex< Type >::q |
| CL_Vec2<Type> CL_Trianglex< Type >::r |
1.8.4