'Declaration
Public Function IntersectWithRadianLine( _ ByVal pt As NPointD, _ ByRef intersectionPoint As NPointD, _ ByRef sideIndex As System.Integer _ ) As System.Boolean
'Usage
Dim instance As NRectangleD Dim pt As NPointD Dim intersectionPoint As NPointD Dim sideIndex As System.Integer Dim value As System.Boolean value = instance.IntersectWithRadianLine(pt, intersectionPoint, sideIndex)
public System.bool IntersectWithRadianLine( NPointD pt, out NPointD intersectionPoint, out System.int sideIndex )
Parameters
- pt
- point which forms a line with the rectangle center
- intersectionPoint
- resulting intersection point (if the method returned true)
- sideIndex
- resulting index of the crossed side (if the method returned true (enumeration is left, top, right, bottom)
Return Value
true if the intersection was successful, otherwise false