Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members

gutk::Triangle Class Reference

#include <triangle.h>

List of all members.


Detailed Description

A class to encapsulate a triangle geometric structure.


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::PointgetPixels (void)
 Returns the array of pixels within or on boundary of the triangle.


Public Attributes

TNT::Array1D< gutk::Pointvertices
 A TNT::Array1D object of size 3 containing the vertices as gutk::Point objects.


Constructor & Destructor Documentation

gutk::Triangle::Triangle void   ) 
 

Default Constructor.

Does nothing.

gutk::Triangle::Triangle const Triangle  ) 
 

Copy constructor.

It creates another completely new Triangle object with different memory space.

virtual gutk::Triangle::~Triangle  )  [virtual]
 

Destructor.

Does nothing.


The documentation for this class was generated from the following file:
Generated on Mon Nov 22 11:12:41 2004 for ImprolaLib by doxygen 1.3.7