21 #ifndef vtkIntersectionCounter_h
22 #define vtkIntersectionCounter_h
24 #include "vtkCommonDataModelModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
87 std::vector<double>::iterator i0 =
IntsArray.begin();
88 std::vector<double>::iterator i1 = i0 + 1;
110 VTK_ABI_NAMESPACE_END
Fast simple class for dealing with ray intersections.
void AddIntersection(double t)
Add an intersection given by parametric coordinate t.
void Reset()
Reset the intersection process.
vtkIntersectionCounter(double tol, double length)
This tolerance must be converted to parametric space.
std::vector< double > IntsArray
vtkIntersectionCounter()
This tolerance must be converted to parametric space.
int CountIntersections()
Returns number of intersections (even number of intersections, outside or odd number of intersections...
void SetTolerance(double tol)
Set/Get the intersection tolerance.