isConvex MethodStatic

Determine whether the polygon is convex.

isConvex(polygon: IndexedXYZCollection | Point3d[]): boolean

@returns whether the polygon is convex.

Parameter Type Description
polygon IndexedXYZCollection | Point3d[] vertices, closure point optional

Returns - boolean

whether the polygon is convex.

Defined in

Last Updated: 21 November, 2024