Skip to content
Last updated

API / geotoolkit / seismic / data / snap / SnapPickingStrategy / SnapPickingStrategy

Class: SnapPickingStrategy

snap.SnapPickingStrategy.SnapPickingStrategy

Defines abstract picking strategy

Hierarchy

Table of contents

Constructors
  • [new SnapPickingStrategy(name)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.seismic.data-3.snap.snappickingstrategy.snappickingstrategy.md#new snappickingstrategy(name))
Methods

Contents

Constructors

new SnapPickingStrategy(name)

• Protected new SnapPickingStrategy(name)

Creates snap picking strategy

Parameters

Name Type Description
namestringstrategy name
Methods

getClassName

▸ getClassName(): string

Returns

string


getName

▸ getName(): string

Returns name of the strategy

Returns

string


pickSample

▸ pickSample(trace, index): number

Pick a sample in the trace

Parameters

Name Type Description
traceTraceseismic trace
indexnumberof the sample

Returns

number

Number.NaN


setName

▸ setName(name): SnapPickingStrategy

Sets strategy name

Parameters

Name Type Description
namestringstrategy name

Returns

SnapPickingStrategy

this


getClassName

▸ Static getClassName(): string

Returns

string