HilbertCurveBase | Image Quantization Library (image-q)

### Hierarchy

- HilbertCurveBase

## Index

### Properties

- _callback
- _d
- _height
- _level
- _width
- _x
- _y

### Methods

- _visit
- _walkHilbert
- walk

## Properties

### Private _callback

_callback: function

- Defined in image/spaceFillingCurves/hilbertCurve.ts:18

#### Type declaration

- - (x: number, y: number, d: number): void

  - #### Parameters

    - ##### x: number

    - ##### y: number

    - ##### d: number

    #### Returns void

### Private _d

_d: number

- Defined in image/spaceFillingCurves/hilbertCurve.ts:15

### Private _height

_height: number

- Defined in image/spaceFillingCurves/hilbertCurve.ts:17

### Private _level

_level: number

- Defined in image/spaceFillingCurves/hilbertCurve.ts:19

### Private _width

_width: number

- Defined in image/spaceFillingCurves/hilbertCurve.ts:16

### Private _x

_x: number

- Defined in image/spaceFillingCurves/hilbertCurve.ts:13

### Private _y

_y: number

- Defined in image/spaceFillingCurves/hilbertCurve.ts:14

## Methods

### Private _visit

- _visit(direction: Direction): void

- - Defined in image/spaceFillingCurves/hilbertCurve.ts:87

  #### Parameters

  - ##### direction: Direction

  #### Returns void

### _walkHilbert

- _walkHilbert(direction: any): void

- - Defined in image/spaceFillingCurves/hilbertCurve.ts:36

  #### Parameters

  - ##### direction: any

  #### Returns void

### walk

- walk(width: number, height: number, visitorCallback: function): void

- - Defined in image/spaceFillingCurves/hilbertCurve.ts:21

  #### Parameters

  - ##### width: number

  - ##### height: number

  - ##### visitorCallback: function

    - - (x: number, y: number, d: number): void

      - #### Parameters

        - ##### x: number

        - ##### y: number

        - ##### d: number

        #### Returns void

Generated using TypeDoc