Add polygon to DTO convert strategy
This commit is contained in:
22
StructureHelperCommon/Models/Shapes/PolygonLineSegment.cs
Normal file
22
StructureHelperCommon/Models/Shapes/PolygonLineSegment.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
|
||||
namespace StructureHelperCommon.Models.Shapes
|
||||
{
|
||||
public class PolygonLineSegment : IPolygonLineSegment
|
||||
{
|
||||
public Guid Id { get; }
|
||||
public IVertex StartVertex { get; }
|
||||
public IVertex EndVertex { get; }
|
||||
|
||||
|
||||
public PolygonLineSegment(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public void UpdateEndFromParameters()
|
||||
{
|
||||
//nothing to do
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user