GetEdgeEndpointOnCircle ( Point oVertexALocation, Double dVertexARadius, Point oVertexBLocation, out Point oEdgeEndpoint ) { Debug.Assert(dVertexARadius >= 0); AssertValid(); Double dEdgeAngle = WpfGraphicsUtil.GetAngleBetweenPointsRadians( oVertexALocation, oVertexBLocation); oEdgeEndpoint = new Point( oVertexALocation.X + ( dVertexARadius * Math.Cos(dEdgeAngle) ), oVertexALocation.Y - ( dVertexARadius * Math.Sin(dEdgeAngle) ) ); }