lenght
public cpp v1 · immutableclass math {public: double Distance(vector<Vertex> v1);};double math::Distance(vector<Vertex> v1) { float d1,d2; d1 = v1[0].x - v1[1].x; d2 = v1[0].x - v1[1].y; return abs(sqrt(d1*d1 + d2*d2));}class math {public: double Distance(vector<Vertex> v1);};double math::Distance(vector<Vertex> v1) { float d1,d2; d1 = v1[0].x - v1[1].x; d2 = v1[0].x - v1[1].y; return abs(sqrt(d1*d1 + d2*d2));}