[vtk-developers] vtkPolyData->IsEdge fix

lucantiga at softhome.net lucantiga at softhome.net
Tue Mar 11 11:31:34 EST 2003


Yes, sorry, I spoiled everything, I wasn't in shape yesterday..
Anyway it should be 
if ((pts[(j-1+npts)%npts]==p2)||(pts[(j+1)%npts]==p2))
and not
if ((pts[(j-1)%npts]==p2)||(pts[(j+1)%npts]==p2))
Thanks for pointing that out

luca


On Tue, 11 Mar 2003, Rasmus Reinhold Paulsen wrote:

> Hi Luca,
> 
> I am currently setting my system up so I can regression test the change. I
> hope that I can submit the change tomorrow.
> 
> I do not understand why you want this:
> 
> if (pts[(j+1)%npts]==p2)
> 
> instead of your original idea?
> 
> This means that ordering of points will determine if it is an edge or not?
> 
> Regards,
> Rasmus
> 
> On Tue, 11 Mar 2003 lucantiga at softhome.net wrote:
> 
> > Hi Rasmus, 
> >  good, we succeeded. May justice be made to topology. So, who of us is 
> > going to make that change? 
> > 
> > luca
> 
> 

-- 
Luca Antiga, PhD
--------------------------------------
Imaging Research Laboratories
Robarts Research Institute
P.O. Box 5015, 100 Perth Drive
London, Ontario, Canada N6A 5K8
--------------------------------------
phone: (001) (519) 663-5777 ext.34028
email: lantiga at imaging.robarts.ca
web:   www.imaging.robarts.ca/~lantiga
--------------------------------------




More information about the vtk-developers mailing list