representation d'un triangle 'geometrique'. More...
#include <PNTriangle.h>
Public Member Functions | |
PNTriangle () | |
constructeur par defaut. | |
PNTriangle (const Point &_a, const Normal &_na, const Point &_b, const Normal &_nb, const Point &_c, const Normal &_nc) | |
construit un triangle connaissant ses 3 sommets. | |
~PNTriangle () | |
destructeur. | |
float | getBaseArea () const |
renvoie l'aire du triangle a, b, c. | |
Normal | getBaseNormal () const |
renvoie la normale geometrique du triangkle a, b, c. | |
BBox | getBaseBBox () const |
renvoie la bbox du triangle a, b, c. | |
PNTriangle | transform (const Transform &t) |
renvoie un pntriangle transforme par 't'. | |
Triangle | getBaseTriangle () |
renvoie le triangle geoemtrique | |
Public Attributes | |
Point | a |
Point | b |
Point | c |
Normal | na |
Normal | nb |
Normal | nc |
representation d'un triangle 'geometrique'.