我可以在字段中添加点,但我不能删除它们。这是我目前使用的代码:
public class Vertex
{
public Point p { get; private set; }
public int ident {get; private set; }
public int dist { get; set; }
public Vertex(Point p, int ident)
{
this.p = p;
this.ident = ident;
}
}