AlpacaLibary
1.63
A closed source C++ bot for OSRS
|
#include <Triangle.hpp>
Public Member Functions | |
Triangle () | |
Triangle (const Point &A, const Point &B, const Point &C) | |
Point | GetCentroid () const |
float | GetCentroidX () const |
float | GetCentroidY () const |
bool | Contains (const Point &P) const |
bool | Contains (float X, float Y) const |
~Triangle () | |
Public Attributes | |
Point | A |
Point | B |
Point | C |
double | Area |
Definition at line 6 of file Triangle.hpp.
Triangle::Triangle | ( | ) |
Triangle::~Triangle | ( | ) |
bool Triangle::Contains | ( | const Point & | P | ) | const |
bool Triangle::Contains | ( | float | X, |
float | Y | ||
) | const |
Point Triangle::GetCentroid | ( | ) | const |
float Triangle::GetCentroidX | ( | ) | const |
float Triangle::GetCentroidY | ( | ) | const |
Point Triangle::A |
Definition at line 9 of file Triangle.hpp.
double Triangle::Area |
Definition at line 12 of file Triangle.hpp.
Point Triangle::B |
Definition at line 10 of file Triangle.hpp.
Point Triangle::C |
Definition at line 11 of file Triangle.hpp.