class nape.geom.Winding

Available on all platforms

Enumeration represents the winding of a Polygon. *

* To appreciate what the winding of a polygon means, think of a polygon who's * vertices are the numbers on a clock face. * * If the vertices are ordered 12 -> 1 -> 2 ... -> 12 * then this polygon is clockwise wound. The reverse order would mean the * polygon is wound anticlockwise.

Class Fields

static var ANTICLOCKWISE:Winding

Value represents that the polygon is wound anticlockwise.

static var CLOCKWISE:Winding

Value represents that the polygon is wound clockwise.

static var UNDEFINED:Winding

Value represents that the polygon has no discernible, or ambiguous winding *

* This may be because the polygon is degenerate, or because it is self * intersecting. In either case it is not well defined to say that the winding * is either clockwise or anticlockwise.

Instance Fields

function new():Void

@private

function toString():String

@private