internal Point2DCollection Clip(Point2DCollection line)
{
Point2DCollection newLine = new Point2DCollection();
IList<Point2DCollection> list = this.ClipPointCollection(line, this.boundary);
if ((list != null) && (list.Count > 0))
{
foreach (Point2DCollection points in list)
{
foreach (Point2D item in points)
{
newLine.Add(item);
}
}
}
return newLine;
}