[vtkusers] How to use the method	"vtkCellLocator::IntersectWithLine()" ?
    Chavdar Papazov 
    chenkaz at yahoo.com
       
    Mon Nov 20 12:01:12 EST 2006
    
    
  
Dear VTK Users,
would you explain to me how to use the method 'IntersectWithLine()' of the class vtkCellLocator.
There are three versions of this method. The first one is:
virtual vtkCellLocator::IntersectWithLine(double a0[3], 
                                                          double a1[3],
                                                          double toi,
                                                          double& t,
                                                          double x[3],
                                                          double pcoords[3],
                                                          int& subid)
In the html-doc there is no explanation of the parameters of the method, so I don't know how to call it.
I have a vtkPolyData object and two points in 3D which define the line. And I want to check whether the line intersects the vtkPolyData object.
Do you have any ideas?
Thanks!
Che
 
---------------------------------
Sponsored Link
   Degrees for working adults in as fast as 1 year. Bachelors, Masters, Associates. Top schools
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20061120/a36057ee/attachment.htm>
    
    
More information about the vtkusers
mailing list