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


In This Topic
    GetNearestIntersection Method (NPolygon)
    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.
    Syntax
    'Declaration
     
    
    Public Function GetNearestIntersection( _
       ByVal dirPoint As NPoint, _
       ByVal centerPoint As NPoint, _
       ByRef pt As NPoint _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NPolygon
    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
    )

    Parameters

    dirPoint
    centerPoint
    pt
    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