'Declaration 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
public static bool VertexInScreenPolygon( Point3D pt, IList<Point2D> screenPolygon, Point2D min, Point2D max, double[] modelViewProj, int[] viewFrame )
Parameters
- pt
- The 3D vertex
- screenPolygon
- The 2D screen polygon
- min
- The minimum value of the 2D polygon
- max
- The maximum value of the 2D polygon
- modelViewProj
- The modelview projection matrix
- viewFrame
- The viewport bounds
Return Value
True if the vertex is inside the polygon.