Add polygon shape
This commit is contained in:
19
StructureHelperCommon/Models/Shapes/Vertex.cs
Normal file
19
StructureHelperCommon/Models/Shapes/Vertex.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using StructureHelperCommon.Infrastructures.Exceptions;
|
||||
using System;
|
||||
|
||||
namespace StructureHelperCommon.Models.Shapes
|
||||
{
|
||||
public class Vertex : IVertex
|
||||
{
|
||||
public Guid Id { get; }
|
||||
|
||||
public Vertex(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public IPoint2D Point { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user