37 #ifndef vtkHexagonalPrism_h
38 #define vtkHexagonalPrism_h
72 int& subId,
double pcoords[3],
73 double& dist2,
double *weights);
77 double x[3],
double pcoords[3],
int& subId);
79 void Derivatives(
int subId,
double pcoords[3],
double *values,
80 int dim,
double *derivs);
88 static void InterpolationFunctions(
double pcoords[3],
double weights[12]);
91 static void InterpolationDerivs(
double pcoords[3],
double derivs[36]);
108 static int *GetEdgeArray(
int edgeId);
109 static int *GetFaceArray(
int faceId);
115 void JacobianInverse(
double pcoords[3],
double **inverse,
double derivs[36]);
133 pcoords[0] = pcoords[1] = 0.5;
static void InterpolationDerivs(double pcoords[3], double derivs[36])
static void InterpolationFunctions(double pcoords[3], double weights[12])
virtual double * GetParametricCoords()
virtual int Triangulate(int index, vtkIdList *ptIds, vtkPoints *pts)=0
virtual void EvaluateLocation(int &subId, double pcoords[3], double x[3], double *weights)=0
virtual int EvaluatePosition(double x[3], double *closestPoint, int &subId, double pcoords[3], double &dist2, double *weights)=0
a cell that represents a 2D quadrilateral
abstract class to specify 3D cell interface
a 3D cell that represents a prism with hexagonal base
cell represents a 1D line
abstract class to specify cell behavior
a simple class to control print indentation
list of point or cell ids
virtual void Derivatives(int subId, double pcoords[3], double *values, int dim, double *derivs)=0
virtual int IntersectWithLine(double p1[3], double p2[3], double tol, double &t, double x[3], double pcoords[3], int &subId)=0
virtual void GetFacePoints(int faceId, int *&pts)=0
void PrintSelf(ostream &os, vtkIndent indent)
a cell that represents an n-sided polygon
virtual vtkCell * GetFace(int faceId)=0
virtual vtkCell * GetEdge(int edgeId)=0
virtual void InterpolateFunctions(double pcoords[3], double weights[12])
int GetParametricCenter(double pcoords[3])
virtual int CellBoundary(int subId, double pcoords[3], vtkIdList *pts)=0
virtual int GetParametricCenter(double pcoords[3])
virtual void InterpolateDerivs(double pcoords[3], double derivs[36])
virtual void GetEdgePoints(int edgeId, int *&pts)=0
#define VTKCOMMONDATAMODEL_EXPORT
represent and manipulate 3D points