41 #ifndef __vtkPlanesIntersection_h
42 #define __vtkPlanesIntersection_h
44 #include "vtkCommonDataModelModule.h"
64 void SetRegionVertices(
double *v,
int nvertices);
65 int GetNumRegionVertices();
66 int GetRegionVertices(
double *v,
int nvertices);
77 static int PolygonIntersectsBBox(
double bounds[6],
vtkPoints *pts);
88 static void ComputeNormal(
double *p1,
double *p2,
double *p3,
double normal[3]);
89 static double EvaluatePlaneEquation(
double *x,
double *p);
90 static void PlaneEquation(
double *n,
double *x,
double *p);
91 static int GoodNormal(
double *n);
92 static int Invert3x3(
double M[3][3]);
101 int EvaluateFacePlane(
int plane,
vtkPoints *R);
104 void SetPlaneEquations();
105 void ComputeRegionVertices();
107 void planesMatrix(
int p1,
int p2,
int p3,
double M[3][3])
const;
108 int duplicate(
double testv[3])
const;
109 void planesRHS(
int p1,
int p2,
int p3,
double r[3])
const;
110 int outsideRegion(
double v[3]) ;