RemoveUnderlying property for primitives was added

This commit is contained in:
Evgeny Redikultsev
2023-03-05 19:50:24 +05:00
parent b29d7bfd58
commit edb8afe321
41 changed files with 693 additions and 160 deletions

View File

@@ -16,7 +16,7 @@ namespace StructureHelperLogics.Models.Primitives
public class PointPrimitive : IPointPrimitive
{
public int Id { get; set; }
public string Name { get; set; }
public string? Name { get; set; }
public double CenterX { get; set; }
public double CenterY { get; set; }
public IHeadMaterial HeadMaterial { get; set; }
@@ -27,8 +27,7 @@ namespace StructureHelperLogics.Models.Primitives
public double Area { get; set; }
public IVisualProperty VisualProperty { get; }
public bool Triangulate { get; set; }
public PointPrimitive()
{
@@ -37,6 +36,7 @@ namespace StructureHelperLogics.Models.Primitives
VisualProperty = new VisualProperty();
UsersPrestrain = new StrainTuple();
AutoPrestrain = new StrainTuple();
Triangulate = true;
}
public PointPrimitive(IHeadMaterial material) : this() { HeadMaterial = material; }