Don't know either what choice lead to indexing from one. It's the case for all (as far as I know) OCC arrays.
2011/7/19 István Csanády <istvancsan...@gmail.com> > pffff.... yes. thanks. i really do not understand why does this class > indexing from 1. > > On Tue, Jul 19, 2011 at 9:21 PM, jelle feringa <jelleferi...@gmail.com>wrote: > >> I try to access elements of Poly_Array1OfTriangle and TColgp_Array1OfPnt >>> arrays, but when I call the Value method it crashes. Any workaround ideas? >>> >> >> Perhaps you are indexing with 0, not 1? >> >> _______________________________________________ >> Pythonocc-users mailing list >> Pythonocc-users@gna.org >> https://mail.gna.org/listinfo/pythonocc-users >> >> > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users