protected void AddNonIndexedPolygonCommand(AlgorithmStatusLayer layer, PolygonModel poly) { layer.AddCommand(new AddNonIndexedPolygonCommand { AssociatedAlgorithm = this, Polygon = poly }); }
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; }