35 #ifndef __vtkCubicLine_h
36 #define __vtkCubicLine_h
38 #include "vtkNonLinearCell.h"
48 void PrintSelf(ostream& os,
vtkIndent indent);
58 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
61 vtkCellArray *lines, vtkCellArray *polys,
62 vtkPointData *inPd, vtkPointData *outPd,
64 int EvaluatePosition(
double x[3],
double* closestPoint,
65 int& subId,
double pcoords[3],
66 double& dist2,
double *weights);
67 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
70 void Derivatives(
int subId,
double pcoords[3],
double *values,
71 int dim,
double *derivs);
72 virtual double *GetParametricCoords();
77 double GetParametricDistance(
double pcoords[3]);
84 vtkPointData *inPd, vtkPointData *outPd,
90 int GetParametricCenter(
double pcoords[3]);
95 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
96 double x[3],
double pcoords[3],
int& subId);
104 static void InterpolationFunctions(
double pcoords[3],
double weights[4]);
107 static void InterpolationDerivs(
double pcoords[3],
double derivs[4]);
137 pcoords[0]=pcoords[1] = pcoords[2] = 0.0;
virtual void InterpolateDerivs(double pcoords[3], double derivs[4])
int GetParametricCenter(double pcoords[3])
represent and manipulate cell attribute data
Abstract class in support of both point location and point insertion.
virtual void InterpolateFunctions(double pcoords[3], double weights[4])
dynamic, self-adjusting array of double
cell represents a cubic , isoparametric 1D line
cell represents a 1D line
static void InterpolationDerivs(double pcoords[3], double derivs[4])
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
static void InterpolationFunctions(double pcoords[3], double weights[4])
represent and manipulate 3D points