GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoEllipse Class / NearestIntersectionOnArc Method
In This Topic
    NearestIntersectionOnArc Method
    In This Topic
    Find the intersection point of the elliptical path defined by rectangle rect and an infinite line p1-p2 that is closest to point p1 within the area from startAngle through the sweepAngle.
    Syntax
    public static bool NearestIntersectionOnArc( 
       RectangleF rect,
       PointF p1,
       PointF p2,
       out PointF result,
       float startAngle,
       float sweepAngle
    )

    Parameters

    rect
    p1
    p2
    result
    startAngle
    sweepAngle
    See Also