#67 IPointList To FilteredPointList

open
nobody
General (28)
5
2012-09-19
2008-08-09
Timothy Marin
No

The ability to convert any IPointList To a FilteredPointList. Example:

    public FilteredPointList(IPointList rhs)
    {
        double[] CollectX = new double[rhs.Count];
        double[] CollectY = new double[rhs.Count];
        for (int i = 0; i < rhs.Count; i++)
        {
            CollectX[i] = rhs[i].X;
            CollectY[i] = rhs[i].Y;
        }
        _x = CollectX;
        _y = CollectY;
    }

Discussion