Method GetColor
GetColor(ColorFunction)
Gets the color index for this point for the given color function.
[Obsolete("Use the overload the ColorFunction2 parameter instead")]
public int GetColor(ColorFunction colorFunction)Parameters
- colorFunctionColorFunction
- The color function used to partition points. 
Returns
- int
- An integer that represents this points "color". 
GetColor(int, int, int)
Gets the color index for this point for the given coloring parameters.
public int GetColor(int x0, int x1, int y1)Parameters
Returns
Remarks
Gives a coloring of the grid such that if a point p has color k, then all points p + m[ux, 0] + n[vx, vy] have the same color for any integers a and b.More information about grid colorings: http://gamelogic.co.za/2013/12/18/what-are-grid-colorings/
GetColor(int, int, int, int, int, int)
Gets the color index for this point for the given color function.
public int GetColor(int x0, int x1, int y1, int x2, int y2, int z2)Parameters
Returns
- int
- An integer that represents this points "color". 
GetColor(ColorFunction3)
public int GetColor(ColorFunction3 colorFunction)Parameters
- colorFunctionColorFunction3