isConvex

open fun isConvex(vertexData: IVertexData): Boolean(source)

Determines if the polygon defined by the given vertex data is convex.

Return

True if the polygon is convex, false otherwise.

Parameters

vertexData

The vertex data containing the positions of the polygon's vertices.