Force crack calculator was fixed

This commit is contained in:
RedikultsevEvg
2024-08-04 23:01:10 +05:00
parent e7c7211f54
commit 3eb5aa2b96
54 changed files with 1031 additions and 300 deletions

View File

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