Triangles - Integer. More...

#include <triangle_math.h>

+ Inheritance diagram for clan::Triangle:

Public Member Functions

 Triangle ()
 
 Triangle (const Trianglex< int > &copy)
 
 Triangle (const Vec2< int > &point_p, const Vec2< int > &point_q, const Vec2< int > &point_r)
 
- Public Member Functions inherited from clan::Trianglex< int >
 Trianglex ()
 
 Trianglex (const Trianglex< int > &copy)
 
 Trianglex (const Vec2< int > &point_p, const Vec2< int > &point_q, const Vec2< int > &point_r)
 
bool operator!= (const Trianglex< int > &triangle) const
 
Trianglex< int > & operator= (const Trianglex< int > &copy)
 
bool operator== (const Trianglex< int > &triangle) const
 
bool point_inside (const Vec2< int > &point) const
 Return true if the point is inside the triangle. More...
 

Additional Inherited Members

- Public Attributes inherited from clan::Trianglex< int >
Vec2< int > p
 First triangle point. More...
 
Vec2< int > q
 
Vec2< int > r
 

Detailed Description

Triangles - Integer.

Constructor & Destructor Documentation

clan::Triangle::Triangle ( )
inline
clan::Triangle::Triangle ( const Trianglex< int > &  copy)
inline
clan::Triangle::Triangle ( const Vec2< int > &  point_p,
const Vec2< int > &  point_q,
const Vec2< int > &  point_r 
)
inline

The documentation for this class was generated from the following file: