Utility.IsPolygonConvex<T> Method

Returns true if the planar closed polygon is convex.
Public Shared Function IsPolygonConvex(Of  _ 
T As Point2D)( _ 
ByVal vertices As IList(Of T) _ 
) As Boolean
This language is not supported or no code example is available.
public static bool IsPolygonConvex<T>( 
IList<T> vertices 

where T : Point2D
This language is not supported or no code example is available.

Type Parameters

T

Parameters

vertices
IList<T>

The planar closed polygon vertices

Return Value

bool

True if the polygon is convex, false otherwise.

.NET Framework

Supported in: 4.8

In this article

Definition