facet.cpp
1 #include "facet.hpp"
2 
4  vertices(0,0,0),
5  neighbors(0,0,0) {}
6 
7 facet::facet(const facet & other):
8  vertices(other.vertices),
9  neighbors(other.neighbors)
10 {}
11 
13  const TripleConstRef<int>& neighbors_i):
14  vertices(vertices_i),
15  neighbors(neighbors_i) {}
16 
18 {
19  vertices = other.vertices;
20  neighbors = other.neighbors;
21  return *this;
22 }
23 
25 {
26 }
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
Triangulation data.
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