Exemple #1
0
        public static IEnumerable <IMesh> Create(IUnitSize unit, IPolygon target)
        {
            var circle  = new CircleCalculator(target, unit);
            var normal  = new ZigZagPolygon(circle, target);
            var hole    = new HolePolygon(circle, target);
            var manager = new PolygonDrawerManager(target, normal, hole);

            return(manager.Draw());
        }
Exemple #2
0
 public HolePolygon(CircleCalculator cc, IPolygon target)
 {
     _circle = cc;
     _target = target;
 }