public RFMaterial(RFMaterial other) : this((Material)other) { if (other.ModelType == MaterialModelType.OrthotropicElastic2DType) { ElasticityModulusX = other.ElasticityModulusX; ElasticityModulusY = other.ElasticityModulusY; ElasticityModulusZ = other.ElasticityModulusZ; PoissonRatioXY = other.PoissonRatioXY; PoissonRatioXZ = other.PoissonRatioXZ; PoissonRatioYZ = other.PoissonRatioYZ; ShearModulusXY = other.ShearModulusXY; ShearModulusXZ = other.ShearModulusXZ; ShearModulusYZ = other.ShearModulusYZ; } ToModify = other.ToModify; ToDelete = other.ToDelete; }
public RFMaterial(RFMaterial other) : this((Material)other) { ToModify = other.ToModify; ToDelete = other.ToDelete; }