Exemplo n.º 1
0
 protected void AddNonIndexedPolygonCommand(AlgorithmStatusLayer layer, PolygonModel poly)
 {
     layer.AddCommand(new AddNonIndexedPolygonCommand
     {
         AssociatedAlgorithm = this,
         Polygon             = poly
     });
 }
Exemplo n.º 2
0
        public PolygonModel(PolygonModel source)
        {
            Lines = new List <LineModel>();

            foreach (var line in source.Lines)
            {
                Lines.Add(new LineModel(line));
            }

            Comments       = source.Comments;
            HighlightLevel = source.HighlightLevel;
            Color          = source.Color;
        }