source: XIOS/dev/dev_olga/src/extern/remap/src/polyg.hpp @ 1022

Last change on this file since 1022 was 1022, checked in by mhnguyen, 7 years ago
File size: 730 bytes
Line 
1#include "elt.hpp"
2
3namespace sphereRemap {
4
5
6Coord barycentre(const Coord *x, int n);
7
8void orient(int n, Coord *vertex, Coord *edge, double *d, const Coord &g);
9
10void normals(Coord *x, int n, Coord *a);
11
12double alun(double b, double d);
13
14double airbar(int N, const Coord *x, const Coord *c, double *d, const Coord &pole, Coord &gg);
15
16double polygonarea(Coord *x, int n);
17Coord exact_barycentre(const Coord *x, int n) ;
18
19int packedPolygonSize(const Elt& e);
20void packPolygon(const Elt& e, char *buffer, int& pos);
21void unpackPolygon(Elt& e, const char *buffer, int& pos);
22void packIntersection(const Elt& e, char *buffer, int& pos);
23void unpackIntersection(Elt *e, const char *buffer);
24int packIntersectionSize(const Elt& e);
25
26}
Note: See TracBrowser for help on using the repository browser.