Ice Sheet System Model  4.18
Code documentation
GeomVertex.cpp
Go to the documentation of this file.
1 #include <cstdio>
2 #include <cstring>
3 #include <cmath>
4 #include <ctime>
5 
6 #include "GeomVertex.h"
7 #include "../shared/shared.h"
8 
9 namespace bamg {
10 
11  /*Constructors/Destructors*/
12  //See header file
13 
14  /*Methods*/
15  int GeomVertex::Corner() const {/*{{{*/
16  return type & 4;
17  }
18  /*}}}*/
19  int GeomVertex::Required()const {/*{{{*/
20  // a corner is required
21  return type & 6;
22  }
23  /*}}}*/
24  void GeomVertex::SetCorner(){/*{{{*/
25  type |= 4;
26  }
27  /*}}}*/
28  void GeomVertex::SetRequired(){/*{{{*/
29  type |= 2;
30  }
31  /*}}}*/
32 
33 }
bamg
Definition: AdjacentTriangle.cpp:9
bamg::GeomVertex::SetCorner
void SetCorner()
Definition: GeomVertex.cpp:24
GeomVertex.h
bamg::GeomVertex::Corner
int Corner() const
Definition: GeomVertex.cpp:15
bamg::GeomVertex::Required
int Required() const
Definition: GeomVertex.cpp:19
bamg::GeomVertex::type
int type
Definition: GeomVertex.h:16
bamg::GeomVertex::SetRequired
void SetRequired()
Definition: GeomVertex.cpp:28