private KeyValuePair <float, float> GetRectangleCenter(LineSegment a, LineSegment b) { float one = (float)(a.GetLenght(a) / 2); float two = (float)(b.GetLenght(b) / 2); KeyValuePair <float, float> kvp = new KeyValuePair <float, float>(one, two); return(kvp); }
private KeyValuePair<float, float> GetRectangleCenter(LineSegment a , LineSegment b) { float one = (float)(a.GetLenght(a) / 2); float two = (float)(b.GetLenght(b)/2); KeyValuePair<float, float> kvp = new KeyValuePair<float, float>(one,two); return kvp; }