public Edge(EdgeEndpoint start, EdgeEndpoint end, float weight) { Start = start; End = end; Weight = weight; }
public Edge(EdgeEndpoint start, EdgeEndpoint end) { Start = start; End = end; Weight = math.distance(V1, V2); }