Last updated

API / geotoolkit3d / transformation / IndexCoordinates / IndexCoordinates

Class: IndexCoordinates

transformation.IndexCoordinates.IndexCoordinates

IndexCoordinates coordinates object.

This object holds the information about the index coordinates of a seismic volume.
It is used to compute the Index-to-XY transformation and provides some utility function to retrieve the index coordinates.

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new IndexCoordinates()

new IndexCoordinates()

Overrides

XYCoordinates.constructor

Methods

asBox3

asBox3(): Box3

Returns the bounding box

Returns

Box3

The xyz coordinates as a box 3d

Inherited from

XYCoordinates.asBox3


asElevationBox3

asElevationBox3(): Box3

Returns the bounding box with z being elevation

Returns

Box3

The xyz coordinates as a box 3d

Inherited from

XYCoordinates.asElevationBox3


fromJSONIndex

fromJSONIndex(index): IndexCoordinates

Initialize index using given json.

The third dimension (z) can be specified either using z0&z1&samplerate or z0&samplecount&samplerate

Parameters

Name Type Description
indexFromJSONIndexThe json

Returns

IndexCoordinates

this


fromJSONPoints

fromJSONPoints(xy): IndexCoordinates

Initialize XYCoordinates using given json.

Only 3 corners out of 4 are required.

Parameters

Name Type Description
xyPointsXYjson with points

Returns

IndexCoordinates

this

Inherited from

XYCoordinates.fromJSONPoints


fromJSONXY

fromJSONXY(xy): IndexCoordinates

Create a Seismic XYCoordinates system using the given corners.

Only 3 corners out of 4 are required. Coordinates do not need to be in a specific order.

Parameters

Name Type Description
xyXYThe xy json

Returns

IndexCoordinates

this

Inherited from

XYCoordinates.fromJSONXY


getClassName

getClassName(): string

Returns

string

Inherited from

XYCoordinates.getClassName


getIStep

getIStep(): number

Gets the I step

Returns

number

The sample rate


getJStep

getJStep(): number

Gets the J step

Returns

number

The sample rate


getSampleRate

getSampleRate(): number

Gets the sample rate

Returns

number

The sample rate


isPointInside

isPointInside(point): boolean

Returns if the given point is inside the XY limits defined by the given 4 corners.

Parameters

Name Type Description
pointVector3the point to check if it is inside the box

Returns

boolean

true if the point is inside the box

Inherited from

XYCoordinates.isPointInside


getClassName

Static getClassName(): string

Returns

string

Inherited from

XYCoordinates.getClassName