Example #1
0
        public Subfigure create_for_stencil_interface(Stencil_interface direction)
        {
            Subfigure subfigure = this.provide_new <Subfigure>();

            subfigure.id = Id_assigner.get_next_id();
            subfigure.init_for_stencil(direction);
            return(subfigure);
        }
Example #2
0
        public Subfigure create_for_figure(IFigure figure)
        {
            Subfigure subfigure = this.provide_new <Subfigure>();

            subfigure.id = Id_assigner.get_next_id();
            subfigure.referenced_figure = figure;
            subfigure.init_for_figure(figure);
            return(subfigure);
        }