Table of Contents

Class SpaceFillingCurveGenerator

Namespace
Gamelogic.Grids2.Examples
Assembly
Assembly-CSharp.dll
public static class SpaceFillingCurveGenerator
Inheritance
SpaceFillingCurveGenerator
Inherited Members

Methods

Gosper()

Returns a new generator that returns points of a Gosper curve approximation.

public static IGenerator<GridPoint2> Gosper()

Returns

IGenerator<GridPoint2>

IGenerator<GridPoint2>.

Hilbert()

Returns a new generator that returns points of a Hilbert curve approximation.

public static IGenerator<GridPoint2> Hilbert()

Returns

IGenerator<GridPoint2>

IGenerator<GridPoint2>.

HilbertIndex()

Returns a new generator that generates the sequence 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 1.

public static IGenerator<int> HilbertIndex()

Returns

IGenerator<int>

Peano()

Returns a new generator that returns points of a Peano curve approximation.

public static IGenerator<GridPoint2> Peano()

Returns

IGenerator<GridPoint2>

IGenerator<GridPoint2>.