#include <triangle_math.h>
Inheritance diagram for CL_Triangle:

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) | |
| bool | point_inside (const CL_Vec2< int > &point) const |
| Return true if the point is inside the triangle. | |
| bool | operator== (const CL_Trianglex< int > &triangle) const |
| == operator. | |
| bool | operator!= (const CL_Trianglex< int > &triangle) const |
| != operator. | |
Public Attributes | |
| CL_Vec2< int > | p |
| First triangle point. | |
| CL_Vec2< int > | q |
| CL_Vec2< int > | r |
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
!= operator.
|
|
|
== operator.
|
|
|
Return true if the point is inside the triangle.
|
|
|
First triangle point.
|
|
|
|
|
|
|
1.4.6