Nevron .NET Vision
Nevron.GraphicsCore Namespace / NLineSegmentF Structure / IntersectWith Method / IntersectWith(NLineSegmentF,Single,NPointF) Method
The other line segment.
The tolerance to use when checking for intersection.
The resulting intersection point.


In This Topic
    IntersectWith(NLineSegmentF,Single,NPointF) Method
    In This Topic
    Checks if this line segment intersects the given one with a specified tolerance and returns the intersection point as an out parameter if it does.
    Syntax
    'Declaration
     
    
    Public Overloads Function IntersectWith( _
       ByVal lineSegment As NLineSegmentF, _
       ByVal tolerance As System.Single, _
       ByRef intersectionPoint As NPointF _
    ) As LineSegmentsRelation
    'Usage
     
    
    Dim instance As NLineSegmentF
    Dim lineSegment As NLineSegmentF
    Dim tolerance As System.Single
    Dim intersectionPoint As NPointF
    Dim value As LineSegmentsRelation
     
    value = instance.IntersectWith(lineSegment, tolerance, intersectionPoint)

    Parameters

    lineSegment
    The other line segment.
    tolerance
    The tolerance to use when checking for intersection.
    intersectionPoint
    The resulting intersection point.

    Return Value

    True if the current line segment intersects the given one with the specified tolerance, 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