Table of Contents

Enum PolygonError

Namespace
Alis.Core.Physic.Common
Assembly
Alis.dll

The polygon error enum

public enum PolygonError

Fields

NoError = 0

There were no errors in the polygon

InvalidAmountOfVertices = 1

Polygon must have between 3 and Settings.MaxPolygonVertices vertices.

NotSimple = 2

Polygon must be simple. This means no overlapping edges.

NotCounterClockWise = 3

Polygon must have a counter clockwise winding.

NotConvex = 4

The polygon is concave, it needs to be convex.

AreaTooSmall = 5

Polygon area is too small.

SideTooSmall = 6

The polygon has a side that is too short.