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