GLVis  v4.2
Accurate and flexible finite element visualization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Functions
geom_utils.hpp File Reference

Go to the source code of this file.

Functions

void LinearCombination (const double a, const double x[], const double b, const double y[], double z[])
 
double InnerProd (const double a[], const double b[])
 
void CrossProd (const double a[], const double b[], double cp[])
 
int Normalize (double v[])
 
int Normalize (mfem::DenseMatrix &normals)
 
int UnitCrossProd (double v[][3], double nor[])
 
int Compute3DUnitNormal (const double p1[], const double p2[], const double p3[], double nor[])
 
int Compute3DUnitNormal (const double p1[], const double p2[], const double p3[], const double p4[], double nor[])
 
int ProjectVector (double v[], const double n[])
 

Function Documentation

int Compute3DUnitNormal ( const double  p1[],
const double  p2[],
const double  p3[],
double  nor[] 
)
inline

Definition at line 101 of file geom_utils.hpp.

int Compute3DUnitNormal ( const double  p1[],
const double  p2[],
const double  p3[],
const double  p4[],
double  nor[] 
)
inline

Definition at line 116 of file geom_utils.hpp.

void CrossProd ( const double  a[],
const double  b[],
double  cp[] 
)
inline

Definition at line 31 of file geom_utils.hpp.

double InnerProd ( const double  a[],
const double  b[] 
)
inline

Definition at line 26 of file geom_utils.hpp.

void LinearCombination ( const double  a,
const double  x[],
const double  b,
const double  y[],
double  z[] 
)
inline

Definition at line 18 of file geom_utils.hpp.

int Normalize ( double  v[])
inline

Definition at line 38 of file geom_utils.hpp.

int Normalize ( mfem::DenseMatrix &  normals)
inline

Definition at line 56 of file geom_utils.hpp.

int ProjectVector ( double  v[],
const double  n[] 
)
inline

Definition at line 141 of file geom_utils.hpp.

int UnitCrossProd ( double  v[][3],
double  nor[] 
)
inline

Definition at line 67 of file geom_utils.hpp.