Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPolygonF Class / IntersectWith Method / IntersectWith(NLineSegmentF,NPointFList) Method
Line segment with which to intersect.
Resulting intersection points (valid only if the method returned true.


In This Topic
    IntersectWith(NLineSegmentF,NPointFList) Method
    In This Topic
    Checks if this polygon intersect with the given line segment and returns the intersection points if it does.
    Syntax
    'Declaration
     
    
    Public Overloads Function IntersectWith( _
       ByVal line As NLineSegmentF, _
       ByRef intersectionPoints As NPointFList _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPolygonF
    Dim line As NLineSegmentF
    Dim intersectionPoints As NPointFList
    Dim value As System.Boolean
     
    value = instance.IntersectWith(line, intersectionPoints)
    public System.bool IntersectWith( 
       NLineSegmentF line,
       out NPointFList intersectionPoints
    )

    Parameters

    line
    Line segment with which to intersect.
    intersectionPoints
    Resulting intersection points (valid only if the method returned true.

    Return Value

    True if this polygon intersects with the line segment, otherwise false.
    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