'Declaration
Public Function IntersectWithRadianLine( _ ByVal pt As NPoint, _ ByRef intersectionPoint As NPoint, _ ByRef sideIndex As System.Integer _ ) As System.Boolean
'Usage
Dim instance As NRectangle Dim pt As NPoint Dim intersectionPoint As NPoint Dim sideIndex As System.Integer Dim value As System.Boolean value = instance.IntersectWithRadianLine(pt, intersectionPoint, sideIndex)
public System.bool IntersectWithRadianLine( NPoint pt, out NPoint 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