Last updated

API / geotoolkit / seismic / data / SegyBinaryField / SegyBinaryField

Class: SegyBinaryField

data.SegyBinaryField.SegyBinaryField

Define binary header for SEG-Y format

Hierarchy

Table of contents

Constructors
Methods
Css Properties
Name Type Description
datatypeDataFormatTypeType of the data
fieldidstring | numberIdentifier (type)
namestringName of the field
offsetnumberOffset of the header
optionalbooleanOptional or mandatory
titlestringTitle of the field

Contents

Constructors

new SegyBinaryField(options)

new SegyBinaryField(options?)

Creates a new SegY BinaryField, optional by default

Parameters

Name Type Description
Optional optionsOptionsoptions

Overrides

BinaryField.constructor

Methods

clone

clone(): FieldDesc

Returns clone of the field descriptor

Returns

FieldDesc

clone

Inherited from

BinaryField.clone


equalsTo

equalsTo(header): boolean

Returns true if headers are identical

Parameters

Name Type Description
headerFieldDesc | { identifier?: string ; name?: string }header

Returns

boolean

Inherited from

BinaryField.equalsTo


getClassName

getClassName(): string

Returns

string

Inherited from

BinaryField.getClassName


getClone

getClone(): FieldDesc

Returns clone of the field descriptor

Deprecated

since 4.0 Use clone instead

Returns

FieldDesc

clone

Inherited from

BinaryField.getClone


getDataType

getDataType(): DataFormatType

Returns data type

Returns

DataFormatType

Inherited from

BinaryField.getDataType


getIdentifier

getIdentifier(): string | number

Returns identifier (type)

Returns

string | number

Inherited from

BinaryField.getIdentifier


getName

getName(): string

Returns name

Returns

string

Inherited from

BinaryField.getName


getOffset

getOffset(): number

Returns offset

Returns

number

Inherited from

BinaryField.getOffset


getProperties

getProperties(): Required<Options>

Returns properties

Returns

Required<Options>

properties

Overrides

BinaryField.getProperties


getTitle

getTitle(): string

Returns title

Returns

string

Inherited from

BinaryField.getTitle


interpret

interpret(val): string

Returns data type

Parameters

Name Type
valnumber

Returns

string


isOptional

isOptional(): boolean

Returns mandatory

Returns

boolean


setProperties

setProperties(properties?): SegyBinaryField

Sets properties

Parameters

Name Type Description
Optional propertiesOptionsproperties

Returns

SegyBinaryField

this

Overrides

BinaryField.setProperties


setTitle

setTitle(title): SegyBinaryField

Set title

Parameters

Name Type Description
titlestringtitle

Returns

SegyBinaryField

this

Inherited from

BinaryField.setTitle


toString

toString(): string

Returns string representation

Returns

string

Inherited from

BinaryField.toString


getClassName

Static getClassName(): string

Returns

string

Inherited from

BinaryField.getClassName