[API](/solutions/geotoolkit/geotoolkit_js/apis/readme) / [geotoolkit](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit) / [welllog](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.welllog) / [log2d](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.welllog#log2d) / [EmptyDecimationStrategy](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.welllog#emptydecimationstrategy) / EmptyDecimationStrategy

# Class: EmptyDecimationStrategy

[log2d](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.welllog#log2d).[EmptyDecimationStrategy](/solutions/geotoolkit/geotoolkit_js/apis/modules/geotoolkit.welllog#emptydecimationstrategy).EmptyDecimationStrategy

This decimation strategy implements default behavior of Log2DVisual

## Hierarchy

- [`AbstractDecimationStrategy`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy)
↳ **`EmptyDecimationStrategy`**


## Table of contents

Constructors
- [new EmptyDecimationStrategy()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.welllog.log2d.emptydecimationstrategy.emptydecimationstrategy.md#new emptydecimationstrategy())


Methods
| [addRow](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.emptydecimationstrategy.emptydecimationstrategy#addrow) | [getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.emptydecimationstrategy.emptydecimationstrategy#getclassname) | [getDecimatedRow](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.emptydecimationstrategy.emptydecimationstrategy#getdecimatedrow) |
|  --- | --- | --- |
| [reset](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.emptydecimationstrategy.emptydecimationstrategy#reset) | [getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.emptydecimationstrategy.emptydecimationstrategy#getclassname-1) |


## Contents

Constructors
#### new EmptyDecimationStrategy()

• **new EmptyDecimationStrategy**()

Creates decimation strategy

#### Overrides

AbstractDecimationStrategy.constructor

Methods
#### addRow

▸ **addRow**(`row`): `void`

This method need to be called for each row of dense area

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `row` | [`Log2DDataRow`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.data-4.log2ddatarow.log2ddatarow) | row of area |


#### Returns

`void`

#### Overrides

[AbstractDecimationStrategy](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy).[addRow](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy#addrow)

#### getClassName

▸ **getClassName**(): `string`

#### Returns

`string`

#### Inherited from

[AbstractDecimationStrategy](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy).[getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy#getclassname)

#### getDecimatedRow

▸ **getDecimatedRow**(): [`Log2DDataRow`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.data-4.log2ddatarow.log2ddatarow)

Get decimated row from previous added rows from beginning

#### Returns

[`Log2DDataRow`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.data-4.log2ddatarow.log2ddatarow)

#### Overrides

[AbstractDecimationStrategy](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy).[getDecimatedRow](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy#getdecimatedrow)

#### reset

▸ **reset**(`firstRow`): `void`

This method need to be called in the beginning of dense area

#### Parameters

| Name  | Type  | Description  |
|  --- | --- | --- |
| `firstRow` | [`Log2DDataRow`](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.data-4.log2ddatarow.log2ddatarow) | first row of area |


#### Returns

`void`

#### Overrides

[AbstractDecimationStrategy](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy).[reset](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy#reset)

#### getClassName

▸ `Static` **getClassName**(): `string`

#### Returns

`string`

#### Inherited from

[AbstractDecimationStrategy](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy).[getClassName](/solutions/geotoolkit/geotoolkit_js/apis/classes/geotoolkit.welllog.log2d.abstractdecimationstrategy.abstractdecimationstrategy#getclassname-1)