Castle Game Engine: CastleSpaceFillingCurves: Class TPrecalcCurve

# Class TPrecalcCurve
Description | Hierarchy | Fields | Methods | Properties
## Unit CastleSpaceFillingCurves ## Declaration `type TPrecalcCurve = class(TSpaceFillingCurve)` ## Description Abstract space-filling curve class, helping implementing curves that precalculate points at construction. In descendants, you only need to override GeneratePoints. ## Hierarchy TObject TSpaceFillingCurve TPrecalcCurve ## Overview ### Methods
| `procedure GeneratePixels(APixels: PArray_Vector2Cardinal); virtual; abstract;`
| `constructor Create(ASizeX, ASizeY: Cardinal); override;`
| `destructor Destroy; override;`
| `function EndOfPixels: boolean; override;`
| `function NextPixel: TVector2Cardinal; override;`
| `procedure SkipPixels(SkipCount: Cardinal); override;`
| `procedure Reset; override;`
| `function PixelsDone: Cardinal; override;`
## Description ### Methods
| `procedure GeneratePixels(APixels: PArray_Vector2Cardinal); virtual; abstract;`
Generate next PixelsCount points. You should generate next PixelsCount points to the Pixels table (it's guaranteed that PixelsCount > 0).
| `constructor Create(ASizeX, ASizeY: Cardinal); override;`
| `destructor Destroy; override;`
| `function EndOfPixels: boolean; override;`
| `function NextPixel: TVector2Cardinal; override;`
| `procedure SkipPixels(SkipCount: Cardinal); override;`
| `procedure Reset; override;`
| `function PixelsDone: Cardinal; override;`
Generated by PasDoc 0.13.0 on 2015-06-15 04:43:12