using LoaderCalculator.Data.Ndms;
using StructureHelperCommon.Infrastructures.Interfaces;
using StructureHelperCommon.Models.Forces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperLogics.NdmCalculations.Cracking
{
///
/// Logic for checking collection of ndms for appearance of crack
///
public interface IIsSectionCrackedByForceLogic : ILogic
{
///
/// Force tuple for checking of cracks appearence
///
IForceTuple Tuple { get; set; }
///
/// Collection of ndms which is checking for cracking
///
IEnumerable CheckedNdmCollection { get; set; }
///
/// Full ndms collection of cross-section
///
IEnumerable SectionNdmCollection { get; set; }
///
/// Returns result of checking of cracks appearence
///
/// True if Checked collectition contains cracked elements
bool IsSectionCracked();
}
}