OpenZGY/C++ API and Internals (ALPHA)
Access seismic data stored in ZGY format.
transform.h
Go to the documentation of this file.
1 // Copyright 2017-2020, Schlumberger
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #pragma once
16 #include <cstdint>
17 #include <cstddef>
18 
23 namespace InternalZGY {
24 
28  extern bool generalTransform(
29  double AX0, double AY0,
30  double AX1, double AY1,
31  double AX2, double AY2,
32  double BX0, double BY0,
33  double BX1, double BY1,
34  double BX2, double BY2,
35  double *X, double* Y, std::size_t length);
36 
37 } // namespace
InternalZGY::generalTransform
bool generalTransform(double AX0, double AY0, double AX1, double AY1, double AX2, double AY2, double BX0, double BY0, double BX1, double BY1, double BX2, double BY2, double *X, double *Y, std::size_t length)
General coordinate conversion based on 3 control points.
Definition: transform.cpp:72
InternalZGY
Implementation not visible to clients.