42 #define VTK_CELL_SIZE 512
43 #define VTK_TOL 1.e-05 // Tolerance for geometric calculation
70 virtual void ShallowCopy(
vtkCell *c);
74 virtual void DeepCopy(
vtkCell *c);
77 virtual int GetCellType() = 0;
80 virtual int GetCellDimension() = 0;
116 virtual int GetNumberOfEdges() = 0;
119 virtual int GetNumberOfFaces() = 0;
128 virtual vtkCell *GetEdge(
int edgeId) = 0;
131 virtual vtkCell *GetFace(
int faceId) = 0;
138 virtual int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts) = 0;
156 virtual int EvaluatePosition(
double x[3],
double* closestPoint,
157 int& subId,
double pcoords[3],
158 double& dist2,
double *weights) = 0;
165 virtual void EvaluateLocation(
int& subId,
double pcoords[3],
166 double x[3],
double *weights) = 0;
212 virtual int IntersectWithLine(
double p1[3],
double p2[3],
213 double tol,
double& t,
double x[3],
214 double pcoords[3],
int& subId) = 0;
241 virtual void Derivatives(
int subId,
double pcoords[3],
double *values,
242 int dim,
double *derivs) = 0;
248 void GetBounds(
double bounds[6]);
265 virtual int GetParametricCenter(
double pcoords[3]);
273 virtual double GetParametricDistance(
double pcoords[3]);
291 virtual double *GetParametricCoords();
297 virtual void InterpolateFunctions(
double pcoords[3],
double weights[3])
302 virtual void InterpolateDerivs(
double pcoords[3],
double derivs[3])
321 void operator=(
const vtkCell&);