コード例 #1
0
 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())));
 }