예제 #1
0
 protected void AddNonIndexedPolygonCommand(AlgorithmStatusLayer layer, PolygonModel poly)
 {
     layer.AddCommand(new AddNonIndexedPolygonCommand
     {
         AssociatedAlgorithm = this,
         Polygon             = poly
     });
 }
예제 #2
0
파일: PolygonModel.cs 프로젝트: jsgmu/cs633
        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;
        }