Base class shared betewwn ZgyReader and ZgyWriter.
More...
|
| def | transform (A, B, data) |
| |
|
def | transform1 (A, B, point) |
| |
Base class shared betewwn ZgyReader and ZgyWriter.
Base class shared betewwn ZgyReader and ZgyWriter.
Adds coordinate conversion tools.
◆ annotToIndex()
| def openzgy.api.ZgyMetaAndTools.annotToIndex |
( |
|
self, |
|
|
|
point |
|
) |
| |
Convert inline, crossline to ordinal
◆ annotToWorld()
| def openzgy.api.ZgyMetaAndTools.annotToWorld |
( |
|
self, |
|
|
|
point |
|
) |
| |
Convert inline, crossline to world X,Y
◆ indexToAnnot()
| def openzgy.api.ZgyMetaAndTools.indexToAnnot |
( |
|
self, |
|
|
|
point |
|
) |
| |
Convert ordinal to inline, crossline
◆ indexToWorld()
| def openzgy.api.ZgyMetaAndTools.indexToWorld |
( |
|
self, |
|
|
|
point |
|
) |
| |
Convert ordinal to world X,Y
◆ transform()
| def openzgy.api.ZgyMetaAndTools.transform |
( |
|
A, |
|
|
|
B, |
|
|
|
data |
|
) |
| |
|
static |
Linear transformation of an array of double-precision coordinates.
The coordinate systems to convert between are defined by
three arbitrary points in the source system and the target.
Arguments: ((ax0,ay0), (ax1,ay1), (ax2,ay2)),
((bx0,by0), (bx1,by1), (bx2,by2)),
data
where data is a 2d array of size (length, 2)
◆ worldToAnnot()
| def openzgy.api.ZgyMetaAndTools.worldToAnnot |
( |
|
self, |
|
|
|
point |
|
) |
| |
Convert world X,Y to inline, crossline
◆ worldToIndex()
| def openzgy.api.ZgyMetaAndTools.worldToIndex |
( |
|
self, |
|
|
|
point |
|
) |
| |
Convert world X,Y to ordinal
The documentation for this class was generated from the following file: