/// <summary> /// Gets the end point. /// </summary> /// <param name="geometry">The end point of the geometry.</param> /// <returns>The end point of the geometry</returns> public static Point2d GetEndPoint(this Line geometry, PanelMeasure size) { Point2d start = geometry.StartPoint.ToPoint2d(), end = geometry.EndPoint.ToPoint2d(); Double angle = start.GetVectorTo(end).Angle; Double distance = size.Frente.Real; return start.ToPoint2dByPolar(distance, angle); }