public Region(TexturePoint point, int id)
 {
     Points = new List <TexturePoint> {
         point
     };
     Id = id;
 }
 internal bool CompareProperties(TexturePoint point)
 {
     return(Math.Abs(point.Value - Value) < 0.001f);
 }
 internal void CopyProperties(TexturePoint point)
 {
     this.Value = point.Value;
 }
 public bool ComparePoint(TexturePoint target)
 {
     return(PointsArray[target.x, target.y].CompareProperties(target));
 }