API / geotoolkit3d / transformation / IndexCoordinates / 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.
↳
IndexCoordinates
Constructors
Methods
Methods
▸ asBox3(): Box3
Returns the bounding box
Box3
The xyz coordinates as a box 3d
▸ asElevationBox3(): Box3
Returns the bounding box with z being elevation
Box3
The xyz coordinates as a box 3d
▸ fromJSONIndex(index): IndexCoordinates
Initialize index using given json.
The third dimension (z) can be specified either using z0&z1&samplerate or z0&samplecount&samplerate
| Name | Type | Description |
|---|---|---|
index | FromJSONIndex | The json |
this
▸ fromJSONPoints(xy): IndexCoordinates
Initialize XYCoordinates using given json.
Only 3 corners out of 4 are required.
| Name | Type | Description |
|---|---|---|
xy | PointsXY | json with points |
this
▸ 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.
| Name | Type | Description |
|---|---|---|
xy | XY | The xy json |
this
▸ getClassName(): string
string
▸ getIStep(): number
Gets the I step
number
The sample rate
▸ getJStep(): number
Gets the J step
number
The sample rate
▸ getSampleRate(): number
Gets the sample rate
number
The sample rate
▸ isPointInside(point): boolean
Returns if the given point is inside the XY limits defined by the given 4 corners.
| Name | Type | Description |
|---|---|---|
point | Vector3 | the point to check if it is inside the box |
boolean
true if the point is inside the box
▸ Static getClassName(): string
string