private Point FindFirstPoint()
{
int width = this.Width;
int height = this.Width;
for (int x = 0; x < width; x++)
{
for (int y = 0; y < height; y++)
{
if (this.contourMap.IsSet(x, y))
{
return new Point(x, y, this.contourMap[x, y]);
}
}
}
throw new ArgumentException("Contour has no points");
}