facet.hpp
Go to the documentation of this file.
1 
6 #ifndef FACET_HPP
7 #define FACET_HPP 1
8 
9 #include "geometry.hpp"
10 #include <boost/array.hpp>
11 #include "../misc/triplet.hpp"
12 
13 //using namespace boost;
14 
19 class facet
20 {
21 public:
22 
25 
28 
30  facet();
33  facet(const facet & other);
34 
39  facet(const TripleConstRef<int>& vertices_i,
40  const TripleConstRef<int>& neighbors_i);
41 
43  ~facet();
48  facet& operator=(const facet& other);
49 };
50 
51 #endif //FACET_HPP
Geometrical calculations.
Delanauy triangle data structure. Keeps the indexes of the vertices (right hand fashion) and the neig...
Definition: facet.hpp:19
Triplet< int > vertices
Indices of vertices.
Definition: facet.hpp:24
facet & operator=(const facet &other)
Copy operator.
Definition: facet.cpp:17
A collection of three identical references.
Definition: triplet.hpp:12
Triplet< int > neighbors
Indices of neighboring facets.
Definition: facet.hpp:27
facet()
Defualt constructor. Sets vertices and friends to zero.
Definition: facet.cpp:3
~facet()
Class destructor.
Definition: facet.cpp:24