Arthur~Chiu Posted January 16, 2015 Share Posted January 16, 2015 i have a pointgroup like this,4 points in one group the point offset data is (2,3,5,6) how to get it in pointgroup index ,such as i can use offset data "3" to get index "1" i use GA_Offset findOffsetAtGroupIndex (GA_Size i) const but this return value "GA_Offset" data is not what i want Quote Link to comment Share on other sites More sharing options...
edward Posted January 16, 2015 Share Posted January 16, 2015 GA_Index pt_idx = gdp->pointIndex(pt_off); 1 Quote Link to comment Share on other sites More sharing options...
Arthur~Chiu Posted January 19, 2015 Author Share Posted January 19, 2015 i want to get the value is Points in the group of index ,not the point index Quote Link to comment Share on other sites More sharing options...
edward Posted January 19, 2015 Share Posted January 19, 2015 Then you will need to search through all the elements. Note that this only makes sense for ordered groups. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.