Winding

nape.geom.Winding (final class)

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.

Static Members

nape
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.


nape
CLOCKWISE: Winding

Value represents that the polygon is wound clockwise.


nape
ANTICLOCKWISE: Winding

Value represents that the polygon is wound anticlockwise.

Instance Members

nape
toString(): String

@private

Returns
String

nape
new(): Void

@private

Private Members

Metadata

Name Parameters
:final -