LinePrimitive and RectanglePrimitive was added
This commit is contained in:
@@ -22,7 +22,7 @@ namespace StructureHelperTests.FunctionalTests.Ndms.SteelSections
|
||||
{
|
||||
//Arrange
|
||||
ICenter center = new Center { X = 0, Y = 0 };
|
||||
IRectangle rectangle = new Rectangle { Width = width, Height = height, Angle = 0 };
|
||||
IRectangleShape rectangle = new RectangleShape { Width = width, Height = height, Angle = 0 };
|
||||
IPrimitiveMaterial material = new PrimitiveMaterial { MaterialType = MaterialTypes.Reinforcement, ClassName = "S400", Strength = strength };
|
||||
ITriangulationOptions options = new TriangulationOptions { LimiteState = StructureHelperLogics.Infrastructures.CommonEnums.LimitStates.Collapse, CalcTerm = StructureHelperLogics.Infrastructures.CommonEnums.CalcTerms.ShortTerm };
|
||||
INdmPrimitive primitive = new NdmPrimitive { Center = center, Shape = rectangle, PrimitiveMaterial = material, NdmMaxSize = 1, NdmMinDivision = 100 };
|
||||
|
||||
Reference in New Issue
Block a user