31 class vtkIncrementalPointLocator;
38 void PrintSelf(ostream& os,
vtkIndent indent);
48 int CellBoundary(
int subId,
double pcoords[3],
vtkIdList *pts);
50 vtkIncrementalPointLocator *locator,
vtkCellArray *verts,
53 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd);
54 int EvaluatePosition(
double x[3],
double* closestPoint,
55 int& subId,
double pcoords[3],
56 double& dist2,
double *weights);
57 void EvaluateLocation(
int& subId,
double pcoords[3],
double x[3],
60 void Derivatives(
int subId,
double pcoords[3],
double *values,
61 int dim,
double *derivs);
62 virtual double *GetParametricCoords();
69 vtkIncrementalPointLocator *locator,
vtkCellArray *lines,
71 vtkCellData *inCd,
vtkIdType cellId, vtkCellData *outCd,
76 int GetParametricCenter(
double pcoords[3]);
81 int IntersectWithLine(
double p1[3],
double p2[3],
double tol,
double& t,
82 double x[3],
double pcoords[3],
int& subId);
92 static int Intersection(
double p1[3],
double p2[3],
93 double x1[3],
double x2[3],
94 double& u,
double& v);
105 static double DistanceToLine(
double x[3],
double p1[3],
double p2[3],
106 double &t,
double closestPoint[3]);
113 static double DistanceToLine(
double x[3],
double p1[3],
double p2[3]);
122 static double DistanceBetweenLines(
123 double l0[3],
double l1[3],
124 double m0[3],
double m1[3],
125 double closestPt1[3],
double closestPt2[3],
126 double &t1,
double &t2 );
136 static double DistanceBetweenLineSegments(
137 double l0[3],
double l1[3],
138 double m0[3],
double m1[3],
139 double closestPt1[3],
double closestPt2[3],
140 double &t1,
double &t2 );
145 static void InterpolationFunctions(
double pcoords[3],
double weights[2]);
148 static void InterpolationDerivs(
double pcoords[3],
double derivs[2]);
168 void operator=(
const vtkLine&);
175 pcoords[1] = pcoords[2] = 0.0;
represent and manipulate point attribute data
virtual void InterpolateDerivs(double pcoords[3], double derivs[2])
static void InterpolationFunctions(double pcoords[3], double weights[2])
static void InterpolationDerivs(double pcoords[3], double derivs[2])
cell represents a 1D line
a simple class to control print indentation
list of point or cell ids
abstract superclass for arrays of numeric data
object to represent cell connectivity
virtual void InterpolateFunctions(double pcoords[3], double weights[2])
int GetParametricCenter(double pcoords[3])
represent and manipulate 3D points