API / geotoolkit / welllog / log2d / AverageDecimationStrategy / AverageDecimationStrategy
log2d.AverageDecimationStrategy.AverageDecimationStrategy
This decimation strategy creates decimated row as average values of each internal rows
↳
AverageDecimationStrategy
Constructors
Constructors
• new AverageDecimationStrategy(isRound?)
Creates decimation strategy
| Name | Type | Description |
|---|---|---|
Optional isRound | boolean | if true, decimated row values will be rounded |
AbstractDecimationStrategy.constructor
Methods
▸ addRow(row): void
This method need to be called for each row of dense area
| Name | Type | Description |
|---|---|---|
row | Log2DDataRow | row of area |
void
AbstractDecimationStrategy.addRow
▸ getClassName(): string
string
AbstractDecimationStrategy.getClassName
▸ getDecimatedRow(): Log2DDataRow
Get decimated row from previous added rows from beginning
AbstractDecimationStrategy.getDecimatedRow
▸ reset(firstRow): void
This method need to be called in the beginning of dense area
| Name | Type | Description |
|---|---|---|
firstRow | Log2DDataRow | first row of area |
void
AbstractDecimationStrategy.reset
▸ Static getClassName(): string
string