19#ifndef vtkIntersectionCounter_h
20#define vtkIntersectionCounter_h
22#include "vtkCommonDataModelModule.h"
84 std::vector<double>::iterator i0 =
IntsArray.begin();
85 std::vector<double>::iterator i1 = i0 + 1;
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.