VAPOR3 3.9.4
vizutil.h
Go to the documentation of this file.
1#ifndef _vizutil_h_
2#define _vizutil_h_
3
4namespace VAPoR {
5
48//
49void HexahedronToTets(const int hexahedron[8], int tets[5 * 4]);
50
75//
76void QuadToTris(const int quad[4], int tris[2 * 3]);
77
91double SignedTriArea2D(const double a[2], const double b[2], const double c[2]);
92
104bool BarycentricCoordsTri(const double verts[], const double pt[], double lambda[]);
105
132//
133bool WachspressCoords2D(const double verts[], const double pt[], int n, double lambda[]);
134
141//
146//
147bool InsideConvexPolygon(const double verts[], const double pt[], int n);
148
149}; // namespace VAPoR
150
151#endif
bool BarycentricCoordsTri(const double verts[], const double pt[], double lambda[])
void QuadToTris(const int quad[4], int tris[2 *3])
void HexahedronToTets(const int hexahedron[8], int tets[5 *4])
bool WachspressCoords2D(const double verts[], const double pt[], int n, double lambda[])
double SignedTriArea2D(const double a[2], const double b[2], const double c[2])
bool InsideConvexPolygon(const double verts[], const double pt[], int n)