Hi,
I want to iterate thru all group points. And the iterate all the primitives using each point. And the back again thru all points in that primitive.
here is the code
GEO_Point *pt;
GA_PointGroup *grp;
GA_FOR_ALL_GROUP_POINTS(gdp, grp, pt)
{
cout<<endl;
}
I get expected unqualified-id or Operator '=' cannot be resolved for type
The code at header fie its:
/// @def GA_FOR_ALL_GROUP_POINTS(gdp, grp, point)
/// Iterate over all points in group. @see GA_RTIElementGroup
#define GA_FOR_ALL_GROUP_POINTS(gdp, grp, point) \
for (GA_GBPointIterator it(*(gdp), grp); \
(point = GA_Detail::GB_MACRO_CAST(gdp, it.getPoint())); ++it)
The error its at:
point = GA_Detail::GB_MACRO_CAST(gdp, it.getPoint()));
I can't figure out the error;
cheers!
-A