GetRegionPoints
Get Z values and indices of points inside polygonal region
int GetRegionPoints( const vector & vRegionX, const vector & vRegionY, vectorbase & vZ, vector<int> & vI = NULL, vector<int> & vJ = NULL )
Number of points in region
EX1
// Matrix should be the active window int MatrixObject_GetRegionPoints_Ex1(PolylineGraphObject& gr) { vector vX; vector vY; gr.GetPoints(vX, vY); vector<int> vZ; vector<int> vI; vector<int> vJ; MatrixObject mObj(Project.MatrixPages(0).GetName(), 0); return mObj.GetRegionPoints(vX, vY, vZ, vI, vJ); }
origin.h