Triangles - Double. More...
#include <triangle_math.h>
Public Member Functions | |
CL_Triangled () | |
CL_Triangled (const CL_Vec2< double > &point_p, const CL_Vec2< double > &point_q, const CL_Vec2< double > &point_r) | |
CL_Triangled (const CL_Trianglex< double > ©) | |
Attributes | |
bool | point_inside (const CL_Vec2< double > &point) const |
Return true if the point is inside the triangle. | |
Operators | |
bool | operator== (const CL_Trianglex< double > &triangle) const |
== operator. | |
bool | operator!= (const CL_Trianglex< double > &triangle) const |
!= operator. | |
Public Attributes | |
CL_Vec2< double > | p |
First triangle point. | |
CL_Vec2< double > | q |
CL_Vec2< double > | r |
Triangles - Double.
CL_Triangled::CL_Triangled | ( | ) | [inline] |
CL_Triangled::CL_Triangled | ( | const CL_Trianglex< double > & | copy | ) | [inline] |
CL_Triangled::CL_Triangled | ( | const CL_Vec2< double > & | point_p, | |
const CL_Vec2< double > & | point_q, | |||
const CL_Vec2< double > & | point_r | |||
) | [inline] |
bool CL_Trianglex< double >::operator!= | ( | const CL_Trianglex< double > & | triangle | ) | const [inline, inherited] |
!= operator.
bool CL_Trianglex< double >::operator== | ( | const CL_Trianglex< double > & | triangle | ) | const [inline, inherited] |
== operator.
bool CL_Trianglex< double >::point_inside | ( | const CL_Vec2< double > & | point | ) | const [inherited] |
Return true if the point is inside the triangle.
point | = point to test. |
CL_Vec2<double > CL_Trianglex< double >::p [inherited] |
First triangle point.
CL_Vec2<double > CL_Trianglex< double >::q [inherited] |
CL_Vec2<double > CL_Trianglex< double >::r [inherited] |