Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Entity Class / ThroughTriangleScreenPolygon Method / ThroughTriangleScreenPolygon(Point3D,Point3D,Point3D,ScreenPolygonParams) Method
The first triangle point
The second triangle point
The third triangle point

In This Topic
    ThroughTriangleScreenPolygon(Point3D,Point3D,Point3D,ScreenPolygonParams) Method
    In This Topic
    Checks whether a triangle intersects or is inside a 2D screen polygon.
    Syntax
    'Declaration
     
    Protected Overloads Shared Function ThroughTriangleScreenPolygon( _
       ByVal v1 As Point3D, _
       ByVal v2 As Point3D, _
       ByVal v3 As Point3D, _
       ByVal data As ScreenPolygonParams _
    ) As Boolean
    protected static bool ThroughTriangleScreenPolygon( 
       Point3D v1,
       Point3D v2,
       Point3D v3,
       ScreenPolygonParams data
    )

    Parameters

    v1
    The first triangle point
    v2
    The second triangle point
    v3
    The third triangle point
    data

    Return Value

    True if the triangle intersects or is inside the polygon
    See Also