GoDiagram Web Reference
NearestIntersectionOnArc Method

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
'Declaration
 
Public Shared Function NearestIntersectionOnArc( _
   ByVal rect As RectangleF, _
   ByVal p1 As PointF, _
   ByVal p2 As PointF, _
   ByRef result As PointF, _
   ByVal startAngle As Single, _
   ByVal sweepAngle As Single _
) As Boolean
public static bool NearestIntersectionOnArc( 
   RectangleF rect,
   PointF p1,
   PointF p2,
   out PointF result,
   float startAngle,
   float sweepAngle
)

Parameters

rect
p1
p2
result
startAngle
sweepAngle
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoEllipse Class
GoEllipse Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback