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
void Reset()
Reset the intersection process.
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...
Fast simple class for dealing with ray intersections.
vtkIntersectionCounter(double tol, double length)
This tolerance must be converted to parametric space.
void AddIntersection(double t)
Add an intersection given by parametric coordinate t.
void SetTolerance(double tol)
Set/Get the intersection tolerance.