Last updated

API / geotoolkit / welllog / log2d / AverageDecimationStrategy / AverageDecimationStrategy

Class: AverageDecimationStrategy

log2d.AverageDecimationStrategy.AverageDecimationStrategy

This decimation strategy creates decimated row as average values of each internal rows

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new AverageDecimationStrategy(isRound)

new AverageDecimationStrategy(isRound?)

Creates decimation strategy

Parameters

Name Type Description
Optional isRoundbooleanif true, decimated row values will be rounded

Overrides

AbstractDecimationStrategy.constructor

Methods

addRow

addRow(row): void

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

Parameters

Name Type Description
rowLog2DDataRowrow of area

Returns

void

Overrides

AbstractDecimationStrategy.addRow


getClassName

getClassName(): string

Returns

string

Inherited from

AbstractDecimationStrategy.getClassName


getDecimatedRow

getDecimatedRow(): Log2DDataRow

Get decimated row from previous added rows from beginning

Returns

Log2DDataRow

Overrides

AbstractDecimationStrategy.getDecimatedRow


reset

reset(firstRow): void

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

Parameters

Name Type Description
firstRowLog2DDataRowfirst row of area

Returns

void

Overrides

AbstractDecimationStrategy.reset


getClassName

Static getClassName(): string

Returns

string

Inherited from

AbstractDecimationStrategy.getClassName