Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NLineSegment Structure / IntersectWith Method / IntersectWith(NLineSegment,NPoint) Method
The other line segment.
The resulting intersection point.


In This Topic
    IntersectWith(NLineSegment,NPoint) Method
    In This Topic
    Checks if this line segment intersects the given one and returns the intersection point as an out parameter if it does.
    Syntax
    'Declaration
     
    
    Public Overloads Function IntersectWith( _
       ByVal lineSegment As NLineSegment, _
       ByRef intersectionPoint As NPoint _
    ) As ENLineSegmentsRelation
    'Usage
     
    
    Dim instance As NLineSegment
    Dim lineSegment As NLineSegment
    Dim intersectionPoint As NPoint
    Dim value As ENLineSegmentsRelation
     
    value = instance.IntersectWith(lineSegment, intersectionPoint)

    Parameters

    lineSegment
    The other line segment.
    intersectionPoint
    The resulting intersection point.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also