Haxe Iterator compatible iterator over Nape list.

Static variables

@:value(null)staticzpp_pool:GeomPolyIterator = null

@private

Static methods

staticget(list:GeomPolyList):GeomPolyIterator

Create iterator for Nape list.

There is no specific reason to use this over: list.iterator() especcialy since this requires writing the class name :) (This function is used internally)

Parameters:

list

The Nape list to create iterator for.

Returns:

An iterator over the Nape list.

Constructor

new()

@private

Variables

@:value(false)zpp_critical:Bool = false

@private

@:value(0)zpp_i:Int = 0

@private

@:value(null)zpp_inner:GeomPolyList = null

@private

@:value(null)zpp_next:GeomPolyIterator = null

@private

Methods

inlinehasNext():Bool

Check if there are any elements remaining.

Returns:

True if there are more elements to iterator over.

inlinenext():GeomPoly

Return next element in list.

Returns:

The next element in iteration.