On Mon, Jan 17, 2011 at 10:28 AM, Michael P. Gerlek <[email protected]> wrote: > Fellow liblas-devels: > > It would be Good Thing to have a ReadPoints function, which would have the > ability to return N points at once. For some workflows, this would be > arguably more efficient and cleaner than calling ReadPoint N times manually. > > Hobu suggests this should be called ReadPointsAt(), which first does a seek > for you to wherever you want to go today. That makes sense. > > A deeper question, though, is this: what does the function return? > > * Hobu suggests returning a const_iterator, to allow you to walk all the > points yourself without having to allocate a huge amount of memory.
What advantage does having an iterator have over the current interface? Does it address your original desire to retrieve N points at once? -- Andrew Bell [email protected] _______________________________________________ Liblas-devel mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/liblas-devel
