|
Last change
on this file since 21243 was 12934, checked in by Mathieu Morlighem, 13 years ago |
|
CHG: removed MaxICoor22, which was only used by CloseBoundaryEdgeV2, which is in turn never used
|
|
File size:
880 bytes
|
| Line | |
|---|
| 1 | #ifndef _BAMGMACROS_H
|
|---|
| 2 | #define _BAMGMACROS_H
|
|---|
| 3 |
|
|---|
| 4 | #include "./typedefs.h"
|
|---|
| 5 |
|
|---|
| 6 | namespace bamg {
|
|---|
| 7 |
|
|---|
| 8 | const double Pi =3.141592653589793238462643383279502884197169399375105820974944592308;
|
|---|
| 9 | const float fPi=3.141592653589793238462643383279502884197169399375105820974944592308;
|
|---|
| 10 | const int IsVertexOnGeom = 8;
|
|---|
| 11 | const int IsVertexOnVertex = 16;
|
|---|
| 12 | const int IsVertexOnEdge = 32;
|
|---|
| 13 | static const short VerticesOfTriangularEdge[3][2] = {{1,2},{2,0},{0,1}};
|
|---|
| 14 | static const short EdgesVertexTriangle[3][2] = {{1,2},{2,0},{0,1}};
|
|---|
| 15 | static const short OppositeVertex[3] = {0,1,2};
|
|---|
| 16 | static const short OppositeEdge[3] = {0,1,2};
|
|---|
| 17 | static const short NextEdge[3] = {1,2,0};
|
|---|
| 18 | static const short PreviousEdge[3] = {2,0,1};
|
|---|
| 19 | static const short NextVertex[3] = {1,2,0};
|
|---|
| 20 | static const short PreviousVertex[3] = {2,0,1};
|
|---|
| 21 | const Icoor1 MaxICoor = 1073741823; // 2^30-1 =111...111 (29 times one)
|
|---|
| 22 | }
|
|---|
| 23 |
|
|---|
| 24 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.