Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NPolyline Class / GetNearestIntersection Method

In This Topic
    GetNearestIntersection Method (NPolyline)
    In This Topic
    Gets the nearest intersection point to dirPoint out of all intersections between this geometry and the centerPoint:dirPoint vector. All points are in shape local coordinates.
    Public Function GetNearestIntersection( _
       ByVal dirPoint As NPoint, _
       ByVal centerPoint As NPoint, _
       ByRef pt As NPoint _
    ) As System.Boolean
    Dim instance As NPolyline
    Dim dirPoint As NPoint
    Dim centerPoint As NPoint
    Dim pt As NPoint
    Dim value As System.Boolean
    value = instance.GetNearestIntersection(dirPoint, centerPoint, pt)
    public System.bool GetNearestIntersection( 
       NPoint dirPoint,
       NPoint centerPoint,
       out NPoint pt



    Target Platforms: Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, 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), Windows Server 2003 SP2

    See Also