clan::Triangle Class Reference - ClanLib SDK
Description: clan::Triangle Class Reference

Public Member Functions | List of all members
clan::Triangle Class Reference
clanCore Math

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.

## Additional Inherited Members
Public Attributes inherited from clan::Trianglex< int >
Vec2< int > | p
| First triangle point.
Vec2< int > | q
Vec2< int > | r

## Detailed Description

Triangles - Integer.

## Constructor & Destructor Documentation

## ◆ Triangle() [1/3]

clan::Triangle::Triangle | ( |  | ) |
| inline

## ◆ Triangle() [2/3]

clan::Triangle::Triangle | ( | const Trianglex< int > & | copy | ) |
| inline

## ◆ Triangle() [3/3]

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:

- triangle_math.h