Value points were added

This commit is contained in:
Evgeny Redikultsev
2024-03-02 21:40:13 +05:00
parent 2e8ebccc13
commit 4359b2c49b
41 changed files with 1127 additions and 439 deletions

View File

@@ -3,6 +3,7 @@ using LoaderCalculator.Data.Ndms;
using StructureHelper.Models.Materials;
using StructureHelperCommon.Infrastructures.Interfaces;
using StructureHelperCommon.Models.Forces;
using StructureHelperCommon.Models.Parameters;
using StructureHelperCommon.Models.Shapes;
using StructureHelperLogics.Models.CrossSections;
using StructureHelperLogics.Models.Materials;
@@ -75,5 +76,18 @@ namespace StructureHelperLogics.NdmCalculations.Primitives
var logic = new RebarTriangulationLogic(options);
return logic.GetNdmCollection();
}
public List<NamedValue<IPoint2D>> GetValuePoints()
{
var points = new List<NamedValue<IPoint2D>>();
NamedValue<IPoint2D> newPoint;
newPoint = new NamedValue<IPoint2D>()
{
Name = "Center",
Value = Center.Clone() as Point2D
};
points.Add(newPoint);
return points;
}
}
}