Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Geometry Namespace / UtilityEx Class / AllVerticesInScreenPolygon Method
The screen polygon params
The collection of vertices
The number of vertices to consider

In This Topic
    AllVerticesInScreenPolygon Method (UtilityEx)
    In This Topic
    Tells if a collection of vertices is fully contained inside a polygon defined in screen coordinates.
    Syntax
    'Declaration
     
    Public Shared Function AllVerticesInScreenPolygon( _
       ByVal data As ScreenPolygonParams, _
       ByVal vertices As IList(Of Point3D), _
       ByVal count As Integer _
    ) As Boolean
    public static bool AllVerticesInScreenPolygon( 
       ScreenPolygonParams data,
       IList<Point3D> vertices,
       int count
    )

    Parameters

    data
    The screen polygon params
    vertices
    The collection of vertices
    count
    The number of vertices to consider

    Return Value

    True if all the vertices are contained in the screen polygon.
    See Also