#include <triangle.h>
Public Member Functions | |
| Triangle (void) | |
| Default Constructor. | |
| Triangle (const Triangle &) | |
| Copy constructor. | |
| Triangle (TNT::Array1D< gutk::Point >) | |
| Initialises a Triangle object with the array of points as the vertices. | |
| virtual | ~Triangle () |
| Destructor. | |
| virtual TNT::Array1D< gutk::Point > | getPixels (void) |
| Returns the array of pixels within or on boundary of the triangle. | |
Public Attributes | |
| TNT::Array1D< gutk::Point > | vertices |
| A TNT::Array1D object of size 3 containing the vertices as gutk::Point objects. | |
|
|
Default Constructor. Does nothing. |
|
|
Copy constructor. It creates another completely new Triangle object with different memory space. |
|
|
Destructor. Does nothing. |
1.3.7