View on GitHub

Vistle

Distributed Data-parallel Scientific Visualization in VR

Namespaces | Functions | Variables
cellalgorithm.cpp File Reference
#include "cellalgorithm.h"
#include "unstr.h"
#include "celltypes.h"
#include <vistle/util/math.h>
Include dependency graph for cellalgorithm.cpp:

Namespaces

namespace  vistle
 

Functions

Vector vistle::trilinearInverse (const Vector &pp0, const Vector pp[8])
 
bool vistle::insideConvexPolygon (const Vector &point, const Vector *corners, Index nCorners, const Vector &normal)
 
static Scalar vistle::originSideOfLineZ2D (const Vector3 &p0, const Vector3 &p1)
 
bool vistle::originInsidePolygonZ2D (const Vector3 *corners, Index nCorners)
 
bool vistle::insidePolygon (const Vector &point, const Vector *corners, Index nCorners, const Vector &normal)
 
std::pair< Vector, Vector > vistle::faceNormalAndCenter (Byte type, Index f, const Index *cl, const Scalar *x, const Scalar *y, const Scalar *z)
 
std::pair< Vector, Vector > vistle::faceNormalAndCenter (Index nVert, const Index *verts, const Scalar *x, const Scalar *y, const Scalar *z)
 
std::pair< Vector, Vector > vistle::faceNormalAndCenter (Index nVert, const Vector *corners)
 
bool vistle::insideCell (const Vector &point, Byte type, Index nverts, const Index *cl, const Scalar *x, const Scalar *y, const Scalar *z)
 

Variables

static const Scalar vistle::Epsilon = 1e-7