well the CGeometryAccessor is a dump of everything too, but its just float/long data arrays instead of full fledged classes. at least i could cache this data easily without loops...
should be a fun exercise, which is available here for anyone who is interested... https://github.com/caron/SimpleBrush On Mon, Jul 30, 2012 at 2:58 PM, Brent McPherson < brent.mcpher...@autodesk.com> wrote: > I would say use the GeometryAccessor but I have probably used the SDK less > than most of you guys. ;-). > > One thing that always bugged me about GetPolygons and related geometry > calls is that they return an array of *all* the polygons in the object so > it is a really inefficient way to access a single polygon when you know its > index. > > l_polymesh.GetPolygons().GetItem(l_compIdx); > > GeometryAccessor seems designed to address this shortcoming.