UtilityEx.VertexInScreenPolygon Method
Public Shared Function VertexInScreenPolygon( _
ByVal pt As Point3D, _
ByVal screenPolygon As IList(Of Point2D), _
ByVal min As Point2D, _
ByVal max As Point2D, _
ByVal modelViewProj As Double(), _
ByVal viewFrame As Integer() _
) As Boolean
This language is not supported or no code example is available.
Parameters
- pt
- Point3D
The 3D vertex
The 2D screen polygon
- min
- Point2D
The minimum value of the 2D polygon
- max
- Point2D
The maximum value of the 2D polygon
- modelViewProj
- double[]
The modelview projection matrix
- viewFrame
- int[]
The viewport bounds
Return Value
boolTrue if the vertex is inside the polygon.