public override ICollection <Beam> GetBeams() { return((ICollection <Beam>)materials.GetBeams()); }
public bool OccupiedPosition(ISinglePointComponent punctualComponent) { return(materials.GetOpenings().Any(op => op.GetPosition().Equals(punctualComponent.GetPosition())) || materials.GetBeams().Any(bm => bm.GetPosition().Equals(punctualComponent.GetPosition())) || materials.GetColumns().Any(cm => cm.GetPosition().Equals(punctualComponent.GetPosition()))); }