Last updated

API / geotoolkit / welllog / log2d / LocalExtremumDecimationStrategy / LocalExtremumDecimationStrategy

Class: LocalExtremumDecimationStrategy

log2d.LocalExtremumDecimationStrategy.LocalExtremumDecimationStrategy

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

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new LocalExtremumDecimationStrategy(isMinimum)

new LocalExtremumDecimationStrategy(isMinimum?)

Creates decimation strategy

Parameters

Name Type Description
Optional isMinimumbooleanif true, decimated row will be created as minimum values, else as maximum values

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