public override ICollection <Beam> GetBeams()
 {
     return((ICollection <Beam>)materials.GetBeams());
 }
예제 #2
0
 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())));
 }