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 { /// /// Check crack appearence beetwen start force tuple and end force tuple /// public interface IIsSectionCrackedByFactorLogic : ILogic { IIsSectionCrackedByForceLogic IsSectionCrackedByForceLogic { get; set; } /// /// Start force tupple /// IForceTuple StartTuple { get; set; } /// /// End force tuple /// IForceTuple EndTuple { get; set; } /// /// Returns result of checking of crack appearence /// /// factor beetwen start and end tuple, 0 is start tuple, 1 is end tuple /// true when section is cracked bool IsSectionCracked(double factor); } }