| CGAL 6.1 - 2D and 3D Linear Geometry Kernel
    | 
#include <CGAL/Triangle_3.h>
An object t of the class Triangle_3 is a triangle in the three-dimensional Euclidean space \( \E^3\). 
As the triangle is not a full-dimensional object there is only a test whether a point lies on the triangle or not.
Kernel::Triangle_3 | Creation | |
| Triangle_3 (const Point_3< Kernel > &p, const Point_3< Kernel > &q, const Point_3< Kernel > &r) | |
| introduces a triangle twith verticesp,qandr. | |
| Operations | |
| bool | operator== (const Triangle_3< Kernel > &t2) const | 
| Test for equality: two triangles t1andt2are equal, iff there exists a cyclic permutation of the vertices oft2, such that they are equal to the vertices oft1. | |
| bool | operator!= (const Triangle_3< Kernel > &t2) const | 
| Test for inequality. | |
| Point_3< Kernel > | vertex (int i) const | 
| returns the i-th vertex modulo 3 of t. | |
| Point_3< Kernel > | operator[] (int i) const | 
| returns vertex(int i). | |
| Plane_3< Kernel > | supporting_plane () | 
| returns the supporting plane of t, with same orientation. | |
| Predicates | |
| bool | is_degenerate () const | 
| tis degenerate if its vertices are collinear. | |
| bool | has_on (const Point_3< Kernel > &p) const | 
| A point is on t, if it is on a vertex, an edge or the face oft. | |
| Miscellaneous | |
| Kernel::FT | squared_area () const | 
| returns a square of the area of t. | |
| Bbox_3 | bbox () const | 
| returns a bounding box containing t. | |
| Triangle_3< Kernel > | transform (const Aff_transformation_3< Kernel > &at) const | 
| returns the triangle obtained by applying aton the three vertices oft. | |
| CGAL::Triangle_3< Kernel >::Triangle_3 | ( | const Point_3< Kernel > & | p, | 
| const Point_3< Kernel > & | q, | ||
| const Point_3< Kernel > & | r | ||
| ) | 
introduces a triangle t with vertices p, q and r. 
Exact_predicates_inexact_constructions_kernel.| Bbox_3 CGAL::Triangle_3< Kernel >::bbox | ( | ) | const | 
returns a bounding box containing t. 
Exact_predicates_inexact_constructions_kernel.| Point_3< Kernel > CGAL::Triangle_3< Kernel >::operator[] | ( | int | i | ) | const | 
returns vertex(int i). 
Exact_predicates_inexact_constructions_kernel.| Point_3< Kernel > CGAL::Triangle_3< Kernel >::vertex | ( | int | i | ) | const | 
returns the i-th vertex modulo 3 of t. 
Exact_predicates_inexact_constructions_kernel.