You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
659 B

using MODELING_DEF_DES_MI_VI.Helpers;
using MODELING_DEF_DES_MI_VI.Interfaces;
using MODELING_DEF_DES_MI_VI.Models;
using System.Collections.Generic;
namespace MODELING_DEF_DES_MI_VI.Controllers
{
public class PoreGenerator : PropertyChangedClass, IPoreGenerator
{
public IPoreSpread PoresLocalization { get; set; }
public MaterialModel CurrentMaterial { get; set; }
public PoreGenerator(MaterialModel currentMaterial)
{
CurrentMaterial = currentMaterial;
}
public IList<Pore> Generate(IPoreSpread localization)
{
return localization.GetSpread();
}
}
}