24 #ifndef vtkBilinearQuadIntersection_h
25 #define vtkBilinearQuadIntersection_h
27 #include "vtkCommonComputationalGeometryModule.h"
Class to perform non planar quad intersection.
bool RayIntersection(const vtkVector3d &r, const vtkVector3d &d, vtkVector3d &uv)
Compute the intersection between a ray r->d and the quad.
vtkVector3d ComputeCartesianCoordinates(double u, double v)
Compute cartesian coordinates of point in the quad using parameteric coordinates.
vtkBilinearQuadIntersection()=default
double * GetP00Data()
Get direct access to the underlying point data.
vtkBilinearQuadIntersection(const vtkVector3d &pt00, const vtkVector3d &Pt01, const vtkVector3d &Pt10, const vtkVector3d &Pt11)