//but its giving problem
( as in the above scenario i.e m_Points.SetAtGrow(2, MtPoint2d(7, 8));)
if i do the above code the value will be replace at the 2 position but 3rd position will be repalced with 0,0
instead of 6,0 ) its happening in array but not with this logic
if i do this alone
m_PointVectors[ptNum] = point;
its crash in m_Points.SetAtGrow(7, MtPoint2d(7, 8));