@equinor/esv-intersection 3.1.3 → 3.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/dist/components/axis.d.ts +47 -0
  2. package/dist/components/axis.d.ts.map +1 -0
  3. package/dist/components/index.d.ts +2 -0
  4. package/dist/components/index.d.ts.map +1 -0
  5. package/dist/constants.d.ts +12 -0
  6. package/dist/constants.d.ts.map +1 -0
  7. package/dist/control/ExtendedCurveInterpolator.d.ts +59 -0
  8. package/dist/control/ExtendedCurveInterpolator.d.ts.map +1 -0
  9. package/dist/control/IntersectionReferenceSystem.d.ts +93 -0
  10. package/dist/control/IntersectionReferenceSystem.d.ts.map +1 -0
  11. package/dist/control/LayerManager.d.ts +77 -0
  12. package/dist/control/LayerManager.d.ts.map +1 -0
  13. package/dist/control/MainController.d.ts +155 -0
  14. package/dist/control/MainController.d.ts.map +1 -0
  15. package/dist/control/ZoomPanHandler.d.ts +160 -0
  16. package/dist/control/ZoomPanHandler.d.ts.map +1 -0
  17. package/dist/control/index.d.ts +6 -0
  18. package/dist/control/index.d.ts.map +1 -0
  19. package/dist/control/interfaces.d.ts +37 -0
  20. package/dist/control/interfaces.d.ts.map +1 -0
  21. package/dist/control/overlay.d.ts +21 -0
  22. package/dist/control/overlay.d.ts.map +1 -0
  23. package/dist/datautils/colortable.d.ts +2 -0
  24. package/dist/datautils/colortable.d.ts.map +1 -0
  25. package/dist/datautils/findsample.d.ts +3 -0
  26. package/dist/datautils/findsample.d.ts.map +1 -0
  27. package/dist/datautils/index.d.ts +7 -0
  28. package/dist/datautils/index.d.ts.map +1 -0
  29. package/dist/datautils/interfaces.d.ts +64 -0
  30. package/dist/datautils/interfaces.d.ts.map +1 -0
  31. package/dist/datautils/picks.d.ts +75 -0
  32. package/dist/datautils/picks.d.ts.map +1 -0
  33. package/dist/datautils/schematicShapeGenerator.d.ts +60 -0
  34. package/dist/datautils/schematicShapeGenerator.d.ts.map +1 -0
  35. package/dist/datautils/seismicimage.d.ts +46 -0
  36. package/dist/datautils/seismicimage.d.ts.map +1 -0
  37. package/dist/datautils/surfacedata.d.ts +11 -0
  38. package/dist/datautils/surfacedata.d.ts.map +1 -0
  39. package/dist/datautils/trajectory.d.ts +15 -0
  40. package/dist/datautils/trajectory.d.ts.map +1 -0
  41. package/dist/index.cjs +15 -0
  42. package/dist/index.cjs.map +1 -0
  43. package/dist/index.d.ts +7 -0
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/index.mjs +8200 -0
  46. package/dist/index.mjs.map +1 -0
  47. package/dist/index.umd.js +15 -0
  48. package/dist/index.umd.js.map +1 -0
  49. package/dist/interfaces.d.ts +86 -0
  50. package/dist/interfaces.d.ts.map +1 -0
  51. package/dist/layers/CalloutCanvasLayer.d.ts +72 -0
  52. package/dist/layers/CalloutCanvasLayer.d.ts.map +1 -0
  53. package/dist/layers/CustomDisplayObjects/ComplexRope.d.ts +22 -0
  54. package/dist/layers/CustomDisplayObjects/ComplexRope.d.ts.map +1 -0
  55. package/dist/layers/CustomDisplayObjects/ComplexRopeGeometry.d.ts +24 -0
  56. package/dist/layers/CustomDisplayObjects/ComplexRopeGeometry.d.ts.map +1 -0
  57. package/dist/layers/CustomDisplayObjects/FixedWidthSimpleRope.d.ts +21 -0
  58. package/dist/layers/CustomDisplayObjects/FixedWidthSimpleRope.d.ts.map +1 -0
  59. package/dist/layers/CustomDisplayObjects/FixedWidthSimpleRopeGeometry.d.ts +27 -0
  60. package/dist/layers/CustomDisplayObjects/FixedWidthSimpleRopeGeometry.d.ts.map +1 -0
  61. package/dist/layers/CustomDisplayObjects/UniformTextureStretchRope.d.ts +18 -0
  62. package/dist/layers/CustomDisplayObjects/UniformTextureStretchRope.d.ts.map +1 -0
  63. package/dist/layers/CustomDisplayObjects/UniformTextureStretchRopeGeometry.d.ts +24 -0
  64. package/dist/layers/CustomDisplayObjects/UniformTextureStretchRopeGeometry.d.ts.map +1 -0
  65. package/dist/layers/GeomodelCanvasLayer.d.ts +29 -0
  66. package/dist/layers/GeomodelCanvasLayer.d.ts.map +1 -0
  67. package/dist/layers/GeomodelLabelsLayer.d.ts +50 -0
  68. package/dist/layers/GeomodelLabelsLayer.d.ts.map +1 -0
  69. package/dist/layers/GeomodelLayerV2.d.ts +13 -0
  70. package/dist/layers/GeomodelLayerV2.d.ts.map +1 -0
  71. package/dist/layers/GridLayer.d.ts +30 -0
  72. package/dist/layers/GridLayer.d.ts.map +1 -0
  73. package/dist/layers/ImageCanvasLayer.d.ts +21 -0
  74. package/dist/layers/ImageCanvasLayer.d.ts.map +1 -0
  75. package/dist/layers/ReferenceLineLayer.d.ts +29 -0
  76. package/dist/layers/ReferenceLineLayer.d.ts.map +1 -0
  77. package/dist/layers/SchematicLayer.d.ts +114 -0
  78. package/dist/layers/SchematicLayer.d.ts.map +1 -0
  79. package/dist/layers/SeismicCanvasLayer.d.ts +19 -0
  80. package/dist/layers/SeismicCanvasLayer.d.ts.map +1 -0
  81. package/dist/layers/WellborePathLayer.d.ts +18 -0
  82. package/dist/layers/WellborePathLayer.d.ts.map +1 -0
  83. package/dist/layers/base/CanvasLayer.d.ts +20 -0
  84. package/dist/layers/base/CanvasLayer.d.ts.map +1 -0
  85. package/dist/layers/base/HTMLLayer.d.ts +14 -0
  86. package/dist/layers/base/HTMLLayer.d.ts.map +1 -0
  87. package/dist/layers/base/Layer.d.ts +70 -0
  88. package/dist/layers/base/Layer.d.ts.map +1 -0
  89. package/dist/layers/base/PixiLayer.d.ts +33 -0
  90. package/dist/layers/base/PixiLayer.d.ts.map +1 -0
  91. package/dist/layers/base/SVGLayer.d.ts +14 -0
  92. package/dist/layers/base/SVGLayer.d.ts.map +1 -0
  93. package/dist/layers/base/index.d.ts +6 -0
  94. package/dist/layers/base/index.d.ts.map +1 -0
  95. package/dist/layers/index.d.ts +17 -0
  96. package/dist/layers/index.d.ts.map +1 -0
  97. package/dist/layers/schematicInterfaces.d.ts +210 -0
  98. package/dist/layers/schematicInterfaces.d.ts.map +1 -0
  99. package/dist/utils/arc-length.d.ts +24 -0
  100. package/dist/utils/arc-length.d.ts.map +1 -0
  101. package/dist/utils/binary-search.d.ts +9 -0
  102. package/dist/utils/binary-search.d.ts.map +1 -0
  103. package/dist/utils/color.d.ts +6 -0
  104. package/dist/utils/color.d.ts.map +1 -0
  105. package/dist/utils/index.d.ts +2 -0
  106. package/dist/utils/index.d.ts.map +1 -0
  107. package/dist/utils/root-finder.d.ts +35 -0
  108. package/dist/utils/root-finder.d.ts.map +1 -0
  109. package/dist/utils/text.d.ts +15 -0
  110. package/dist/utils/text.d.ts.map +1 -0
  111. package/dist/utils/vectorUtils.d.ts +16 -0
  112. package/dist/utils/vectorUtils.d.ts.map +1 -0
  113. package/dist/vendor/pixi-dashed-line/index.d.ts +57 -0
  114. package/dist/vendor/pixi-dashed-line/index.d.ts.map +1 -0
  115. package/package.json +23 -25
  116. package/src/datautils/schematicShapeGenerator.ts +6 -6
  117. package/src/datautils/surfacedata.ts +0 -1
  118. package/src/layers/CustomDisplayObjects/ComplexRopeGeometry.ts +5 -2
  119. package/src/layers/CustomDisplayObjects/FixedWidthSimpleRopeGeometry.ts +5 -2
  120. package/src/layers/CustomDisplayObjects/UniformTextureStretchRopeGeometry.ts +5 -2
  121. package/src/layers/SchematicLayer.ts +0 -1
  122. package/src/tsconfig.tsbuildinfo +1 -1
  123. package/src/vendor/pixi-dashed-line/index.ts +3 -2
@@ -0,0 +1,37 @@
1
+ import { IntersectionReferenceSystem } from './IntersectionReferenceSystem';
2
+ import { ScaleOptions } from '../interfaces';
3
+ import { Layer } from '../layers';
4
+ export interface AxisOptions {
5
+ xLabel: string;
6
+ yLabel: string;
7
+ unitOfMeasure: string;
8
+ }
9
+ export interface ControllerOptions {
10
+ container: HTMLElement;
11
+ axisOptions?: AxisOptions;
12
+ scaleOptions?: ScaleOptions;
13
+ referenceSystem?: IntersectionReferenceSystem;
14
+ layers?: Layer<unknown>[];
15
+ path?: number[][];
16
+ }
17
+ interface OverlayEvent<T> {
18
+ target: Element | undefined;
19
+ source: Element | undefined;
20
+ caller: T;
21
+ }
22
+ export interface OverlayResizeEvent<T> extends OverlayEvent<T> {
23
+ width: number;
24
+ height: number;
25
+ }
26
+ export interface OverlayMouseMoveEvent<T> extends OverlayEvent<T> {
27
+ x: number;
28
+ y: number;
29
+ }
30
+ export type OverlayMouseExitEvent<T> = OverlayEvent<T>;
31
+ export interface OverlayCallbacks<T> {
32
+ onMouseMove?(event: OverlayMouseMoveEvent<T>): void;
33
+ onMouseExit?(event: OverlayMouseExitEvent<T>): void;
34
+ onResize?(event: OverlayResizeEvent<T>): void;
35
+ }
36
+ export {};
37
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/control/interfaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,+BAA+B,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,KAAK,EAAE,MAAM,WAAW,CAAC;AAElC,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,EAAE,WAAW,CAAC;IACvB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,2BAA2B,CAAC;IAC9C,MAAM,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,EAAE,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;CACnB;AAED,UAAU,YAAY,CAAC,CAAC;IACtB,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,MAAM,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,MAAM,EAAE,CAAC,CAAC;CACX;AAED,MAAM,WAAW,kBAAkB,CAAC,CAAC,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB,CAAC,CAAC,CAAE,SAAQ,YAAY,CAAC,CAAC,CAAC;IAC/D,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;CACX;AAED,MAAM,MAAM,qBAAqB,CAAC,CAAC,IAAI,YAAY,CAAC,CAAC,CAAC,CAAC;AAEvD,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,WAAW,CAAC,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IACpD,WAAW,CAAC,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;IACpD,QAAQ,CAAC,CAAC,KAAK,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,IAAI,CAAC;CAC/C"}
@@ -0,0 +1,21 @@
1
+ import { Selection } from 'd3-selection';
2
+ import { OverlayCallbacks } from './interfaces';
3
+ export declare class Overlay<T> {
4
+ elm: Selection<HTMLDivElement, unknown, null, undefined>;
5
+ source: HTMLDivElement | undefined;
6
+ elements: {
7
+ [propName: string]: Element;
8
+ };
9
+ listeners: {
10
+ [propName: string]: OverlayCallbacks<T>;
11
+ };
12
+ enabled: boolean;
13
+ constructor(caller: T, container: HTMLElement);
14
+ create(key: string, callbacks?: OverlayCallbacks<T>): HTMLElement | undefined;
15
+ register(key: string, callbacks: OverlayCallbacks<T>): void;
16
+ remove(key: string): void;
17
+ setZIndex(zIndex: number): void;
18
+ destroy(): void;
19
+ }
20
+ export declare const overlay: <T>(caller: T, container: HTMLElement) => Overlay<T>;
21
+ //# sourceMappingURL=overlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../src/control/overlay.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,SAAS,EAA6B,MAAM,cAAc,CAAC;AAC5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEhD,qBAAa,OAAO,CAAC,CAAC;IACpB,GAAG,EAAE,SAAS,CAAC,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,CAAC,CAAC;IACzD,MAAM,EAAE,cAAc,GAAG,SAAS,CAAC;IACnC,QAAQ,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,CAAM;IAC/C,SAAS,EAAE;QAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAA;KAAE,CAAM;IAC5D,OAAO,UAAQ;gBAEH,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,WAAW;IA2E7C,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,WAAW,GAAG,SAAS;IAc7E,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,IAAI;IAI3D,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IASzB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAI/B,OAAO,IAAI,IAAI;CAGhB;AAED,eAAO,MAAM,OAAO,GAAI,CAAC,EAAE,QAAQ,CAAC,EAAE,WAAW,WAAW,KAAG,OAAO,CAAC,CAAC,CAAsC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function createColorTable(colorMap: string[], size: number): [number, number, number][];
2
+ //# sourceMappingURL=colortable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"colortable.d.ts","sourceRoot":"","sources":["../../src/datautils/colortable.ts"],"names":[],"mappings":"AAGA,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAU7F"}
@@ -0,0 +1,3 @@
1
+ export declare function findIndexOfSample(data: number[][], pos: number): number;
2
+ export declare function findSampleAtPos(data: number[][], pos: number, topLimit?: number, bottomLimit?: number): number;
3
+ //# sourceMappingURL=findsample.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findsample.d.ts","sourceRoot":"","sources":["../../src/datautils/findsample.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CA+CvE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,SAAI,EAAE,WAAW,SAAI,GAAG,MAAM,CAuBpG"}
@@ -0,0 +1,7 @@
1
+ export * from './findsample';
2
+ export * from './interfaces';
3
+ export * from './picks';
4
+ export * from './seismicimage';
5
+ export * from './surfacedata';
6
+ export * from './trajectory';
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/datautils/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,64 @@
1
+ /**
2
+ * Survey data from SDMA
3
+ */
4
+ export interface SurveySample {
5
+ md: number;
6
+ tvd: number;
7
+ easting: number;
8
+ northing: number;
9
+ }
10
+ /**
11
+ * Strat unit element as retrieved from SDMA
12
+ */
13
+ export interface StratUnit {
14
+ identifier: string;
15
+ stratUnitParent: string;
16
+ colorR: null | number;
17
+ colorG: null | number;
18
+ colorB: null | number;
19
+ topAge: number;
20
+ baseAge: number;
21
+ stratUnitLevel: number;
22
+ }
23
+ /**
24
+ * Surfaces meta data as received from surface API with surface values injected
25
+ */
26
+ export interface SurfaceMetaAndValues {
27
+ data: {
28
+ values: number[];
29
+ };
30
+ visualSettings: {
31
+ displayName: string;
32
+ crossSection: string;
33
+ colors: {
34
+ crossSection: string;
35
+ };
36
+ };
37
+ }
38
+ /**
39
+ * Surfaces lines ready for drawing by geomodel layer
40
+ */
41
+ export interface SurfaceLine {
42
+ id?: string;
43
+ label: string;
44
+ color: number | string;
45
+ data: number[][];
46
+ }
47
+ /**
48
+ * Surfaces areas ready for drawing by geomodel layer
49
+ */
50
+ export interface SurfaceArea {
51
+ id?: string;
52
+ label?: string;
53
+ color: number | string;
54
+ data: number[][];
55
+ exclude?: boolean;
56
+ }
57
+ /**
58
+ * Surfaces lines and areas ready for drawing by geomodel layer
59
+ */
60
+ export interface SurfaceData {
61
+ lines: SurfaceLine[];
62
+ areas: SurfaceArea[];
63
+ }
64
+ //# sourceMappingURL=interfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/datautils/interfaces.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;IACtB,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;IACtB,MAAM,EAAE,IAAI,GAAG,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE;QACJ,MAAM,EAAE,MAAM,EAAE,CAAC;KAClB,CAAC;IACF,cAAc,EAAE;QACd,WAAW,EAAE,MAAM,CAAC;QACpB,YAAY,EAAE,MAAM,CAAC;QACrB,MAAM,EAAE;YACN,YAAY,EAAE,MAAM,CAAC;SACtB,CAAC;KACH,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB"}
@@ -0,0 +1,75 @@
1
+ import { Annotation } from '../interfaces';
2
+ type Pick = {
3
+ pickIdentifier?: string;
4
+ confidence: string | null;
5
+ depthReferencePoint: string;
6
+ md: number;
7
+ mdUnit: string;
8
+ tvd: number;
9
+ };
10
+ type PickWithId = {
11
+ identifier: string;
12
+ } & Pick;
13
+ type Unit = {
14
+ identifier: string;
15
+ top: string;
16
+ base: string;
17
+ baseAge: number;
18
+ topAge: number;
19
+ colorR: number;
20
+ colorG: number;
21
+ colorB: number;
22
+ stratUnitLevel: number;
23
+ lithologyType: number;
24
+ stratUnitParent: number;
25
+ };
26
+ type UnitDto = {
27
+ unitName: string;
28
+ topSurface: string;
29
+ baseSurface: string;
30
+ ageBase: number;
31
+ ageTop: number;
32
+ color: {
33
+ r: number;
34
+ g: number;
35
+ b: number;
36
+ };
37
+ level: number;
38
+ lithType: number;
39
+ parent: number;
40
+ };
41
+ type PickAndUnit = PickWithId & UnitDto;
42
+ type PairedPickAndUnit = {
43
+ name: string;
44
+ mdEntry: number;
45
+ tvdEntry: number;
46
+ color: {
47
+ r: number;
48
+ g: number;
49
+ b: number;
50
+ };
51
+ level: number;
52
+ entryPick: PickAndUnit;
53
+ mdExit: number;
54
+ tvdExit: number;
55
+ exitPick: PickAndUnit;
56
+ confidenceEntry: string;
57
+ confidenceExit: string;
58
+ from?: number;
59
+ to?: number;
60
+ };
61
+ export declare const getPicksData: (picksData: {
62
+ unitPicks: PairedPickAndUnit[];
63
+ nonUnitPicks: PickWithId[];
64
+ }) => Annotation[];
65
+ /**
66
+ * Transform data for formation track
67
+ * @param {Pick[]} picks picks
68
+ * @param {Unit[]} stratColumn strat column
69
+ */
70
+ export declare function transformFormationData(picks: Pick[], stratColumn: Unit[]): {
71
+ unitPicks: PairedPickAndUnit[];
72
+ nonUnitPicks: PickWithId[];
73
+ };
74
+ export {};
75
+ //# sourceMappingURL=picks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"picks.d.ts","sourceRoot":"","sources":["../../src/datautils/picks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C,KAAK,IAAI,GAAG;IACV,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,KAAK,UAAU,GAAG;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC;AAET,KAAK,IAAI,GAAG;IACV,UAAU,EAAE,MAAM,CAAC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d,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AA0CF,eAAO,MAAM,YAAY,GAAI,WAAW;IAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAAC,YAAY,EAAE,UAAU,EAAE,CAAA;CAAE,KAAG,UAAU,EAGhH,CAAC;AAqLJ;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,GAAG;IAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAAC,YAAY,EAAE,UAAU,EAAE,CAAA;CAAE,CAmCzI"}
@@ -0,0 +1,60 @@
1
+ import { IPoint, Point, Texture } from 'pixi.js';
2
+ import { Casing, Cement, CementOptions, CementPlug, CementPlugOptions, CementSqueeze, CementSqueezeOptions, Completion, HoleOptions, HoleSize, ScreenOptions, TubingOptions, Perforation, PerforationOptions, PerforationSubKind } from '../layers/schematicInterfaces';
3
+ import { ComplexRopeSegment } from '../layers/CustomDisplayObjects/ComplexRope';
4
+ export type PerforationShape = ComplexRopeSegment;
5
+ export interface TubularRenderingObject {
6
+ leftPath: Point[];
7
+ rightPath: Point[];
8
+ }
9
+ export interface CasingRenderObject {
10
+ id: string;
11
+ kind: 'casing';
12
+ referenceDiameter: number;
13
+ referenceRadius: number;
14
+ casingWallWidth: number;
15
+ hasShoe: boolean;
16
+ bottom: number;
17
+ zIndex?: number;
18
+ sections: {
19
+ kind: 'casing' | 'casing-window';
20
+ leftPath: Point[];
21
+ rightPath: Point[];
22
+ pathPoints: Point[];
23
+ }[];
24
+ }
25
+ export declare const getEndLines: (rightPath: [IPoint, IPoint, ...IPoint[]], leftPath: [IPoint, IPoint, ...IPoint[]]) => {
26
+ top: [IPoint, IPoint];
27
+ bottom: [IPoint, IPoint];
28
+ };
29
+ export declare const overlaps: (top1: number, bottom1: number, top2: number, bottom2: number) => boolean;
30
+ export declare const strictlyOverlaps: (top1: number, bottom1: number, top2: number, bottom2: number) => boolean;
31
+ export declare const uniq: <T>(arr: T[]) => T[];
32
+ export declare const getUniqueDiameterChangeDepths: ([intervalStart, intervalEnd]: [number, number], diameterIntervals: {
33
+ start: number;
34
+ end: number;
35
+ }[]) => number[];
36
+ export declare const findCementOuterDiameterAtDepth: (attachedStrings: (Casing | Completion)[], nonAttachedStrings: (Casing | Completion)[], holes: HoleSize[], depth: number) => number;
37
+ export declare const findPerforationOuterDiameterAtDepth: (nonAttachedStrings: (Casing | Completion)[], holes: HoleSize[], depth: number, perforationSubKind: PerforationSubKind) => number;
38
+ export declare const findCementPlugInnerDiameterAtDepth: (attachedStrings: (Casing | Completion)[], nonAttachedStrings: (Casing | Completion)[], holes: HoleSize[], depth: number) => number;
39
+ export declare const createComplexRopeSegmentsForCement: (cement: Cement, casings: Casing[], completion: Completion[], holes: HoleSize[], exaggerationFactor: number, getPoints: (start: number, end: number) => Point[]) => ComplexRopeSegment[];
40
+ export declare const createComplexRopeSegmentsForCementSqueeze: (squeeze: CementSqueeze, casings: Casing[], completion: Completion[], holes: HoleSize[], exaggerationFactor: number, getPoints: (start: number, end: number) => Point[]) => ComplexRopeSegment[];
41
+ export declare const createComplexRopeSegmentsForCementPlug: (plug: CementPlug, casings: Casing[], completion: Completion[], holes: HoleSize[], exaggerationFactor: number, getPoints: (start: number, end: number) => Point[]) => ComplexRopeSegment[];
42
+ export declare const createHoleBaseTexture: ({ firstColor, secondColor }: HoleOptions, width: number, height: number) => Texture;
43
+ export declare const createScreenTexture: ({ scalingFactor }: ScreenOptions) => Texture;
44
+ export declare const createTubingTexture: ({ innerColor, outerColor, scalingFactor }: TubingOptions) => Texture;
45
+ export declare const createCementTexture: ({ firstColor, secondColor, scalingFactor }: CementOptions) => Texture;
46
+ export declare const createCementPlugTexture: ({ firstColor, secondColor, scalingFactor }: CementPlugOptions) => Texture;
47
+ export declare const createCementSqueezeTexture: ({ firstColor, secondColor, scalingFactor }: CementSqueezeOptions) => Texture;
48
+ export declare const createTubularRenderingObject: (radius: number, pathPoints: IPoint[]) => TubularRenderingObject;
49
+ export type CasingInterval = {
50
+ kind: 'casing' | 'casing-window';
51
+ start: number;
52
+ end: number;
53
+ };
54
+ export declare const getCasingIntervalsWithWindows: (casing: Casing) => CasingInterval[];
55
+ export declare const prepareCasingRenderObject: (exaggerationFactor: number, casing: Casing, getPathPoints: (start: number, end: number) => Point[]) => CasingRenderObject;
56
+ export declare const createComplexRopeSegmentsForPerforation: (perforation: Perforation, casings: Casing[], holes: HoleSize[], exaggerationFactor: number, getPoints: (start: number, end: number) => Point[]) => ComplexRopeSegment[];
57
+ export declare const createPerforationPackingTexture: (perforation: Perforation, perfShape: ComplexRopeSegment, perforationOptions: PerforationOptions) => Texture;
58
+ export declare const createPerforationFracLineTexture: (perforation: Perforation, perfShape: ComplexRopeSegment, perforationOptions: PerforationOptions) => Texture;
59
+ export declare const createPerforationSpikeTexture: (perforation: Perforation, otherPerforations: Perforation[], perfShape: ComplexRopeSegment, perforationOptions: PerforationOptions) => Texture;
60
+ //# sourceMappingURL=schematicShapeGenerator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schematicShapeGenerator.d.ts","sourceRoot":"","sources":["../../src/datautils/schematicShapeGenerator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,MAAM,EAAE,KAAK,EAAa,OAAO,EAAc,MAAM,SAAS,CAAC;AAEjF,OAAO,EACL,MAAM,EAEN,MAAM,EACN,aAAa,EACb,UAAU,EACV,iBAAiB,EACjB,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,aAAa,EACb,aAAa,EACb,WAAW,EACX,kBAAkB,EAKlB,kBAAkB,EAEnB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAGhF,MAAM,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AAElD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,KAAK,EAAE,CAAC;IAClB,SAAS,EA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kB,EAkCpB,CAAC;AAqVF,eAAO,MAAM,+BAA+B,GAC1C,aAAa,WAAW,EACxB,WAAW,kBAAkB,EAC7B,oBAAoB,kBAAkB,KACrC,OAYF,CAAC;AAEF,eAAO,MAAM,gCAAgC,GAC3C,aAAa,WAAW,EACxB,WAAW,kBAAkB,EAC7B,oBAAoB,kBAAkB,KACrC,OAYF,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,aAAa,WAAW,EACxB,mBAAmB,WAAW,EAAE,EAChC,WAAW,kBAAkB,EAC7B,oBAAoB,kBAAkB,KACrC,OAYF,CAAC"}
@@ -0,0 +1,46 @@
1
+ import { SeismicCanvasDataOptions } from '../layers/SeismicCanvasLayer';
2
+ export type SeismicInfo = {
3
+ minX: number;
4
+ maxX: number;
5
+ minTvdMsl: number;
6
+ maxTvdMsl: number;
7
+ domain: {
8
+ min: number;
9
+ max: number;
10
+ difference: number;
11
+ };
12
+ };
13
+ export declare const getSeismicOptions: (info: SeismicInfo | null) => SeismicCanvasDataOptions;
14
+ /**
15
+ * Get key information about the seismic data
16
+ * Code originally developed for the REP project
17
+ * @param data Seismic data
18
+ * @param trajectory Wellbore or freehand trajectory
19
+ * @return Key domain and depth information for seismic data
20
+ */
21
+ export declare function getSeismicInfo(data: {
22
+ datapoints: number[][];
23
+ yAxisValues: number[];
24
+ }, trajectory: number[][]): SeismicInfo | null;
25
+ /**
26
+ * Generate seismic
27
+ * Code originally developed for the REP project
28
+ * @param data Seismic data
29
+ * @param trajectory Wellbore or freehand trajectory
30
+ * @param colormap Color map for rendering
31
+ * @param options.isLeftToRight (optional) draw left to right
32
+ * @param options.seismicRange (optional) Range for mapping seimic values to color map
33
+ * @param options.seismicMin (optional) Min seismic value for mapping seimic values to color map
34
+ * @param options.seismicMax (optional) Max seismic value for mapping seimic values to color map
35
+ * @return Key domain and depth information for seismic data
36
+ */
37
+ export declare function generateSeismicSliceImage(data: {
38
+ datapoints: number[][];
39
+ yAxisValues: number[];
40
+ }, trajectory: number[][], colormap: string[], options?: {
41
+ isLeftToRight: boolean;
42
+ seismicRange?: number;
43
+ seismicMin?: number;
44
+ seismicMax?: number;
45
+ }): Promise<ImageBitmap | undefined>;
46
+ //# sourceMappingURL=seismicimage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seismicimage.d.ts","sourceRoot":"","sources":["../../src/datautils/seismicimage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAKxE,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;QACZ,UAAU,EAAE,MAAM,CAAC;KACpB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,MAAM,WAAW,GAAG,IAAI,KAAG,wBAe5D,CAAC;AAEF;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,EAAE,EAAE,CAAC;IAAC,WAAW,EAAE,MAAM,EAAE,CAAA;CAAE,EAAE,UAAU,EAAE,MAAM,EAAE,EAAE,GAAG,WAAW,GAAG,IAAI,CAiClI;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,yBAAyB,CAC7C,IAAI,EAAE;IAAE,UAAU,EAAE,MAAM,EAAE,EAAE,CAAC;IAAC,WAAW,EAAE,MAAM,EAAE,CAAA;CAAE,EACvD,UAAU,EAAE,MAAM,EAAE,EAAE,EACtB,QAAQ,EAAE,MAAM,EAAE,EAClB,OAAO,GAAE;IACP,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACK,GAC1B,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC,CA+ElC"}
@@ -0,0 +1,11 @@
1
+ import { StratUnit, SurfaceMetaAndValues, SurfaceData } from './interfaces';
2
+ /**
3
+ * Generate surface data from trajectory, stratcolum and surface data
4
+ * Code originally developed for the REP project
5
+ * @param trajectory Projected trajectory generated from the poslog used when retrieving surface data from surface API
6
+ * @param stratColumn Strat columnd from SMDA
7
+ * @param surfaceData - Surfaces meta data with surface values in data section
8
+ * @return Surface areas ready for rendering in geolayer
9
+ */
10
+ export declare function generateSurfaceData(trajectory: number[][], stratColumn: StratUnit[], surfaceData: SurfaceMetaAndValues[]): SurfaceData;
11
+ //# sourceMappingURL=surfacedata.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surfacedata.d.ts","sourceRoot":"","sources":["../../src/datautils/surfacedata.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,oBAAoB,EAA4B,WAAW,EAAE,MAAM,cAAc,CAAC;AAuCtG;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,WAAW,EAAE,oBAAoB,EAAE,GAAG,WAAW,CA4BtI"}
@@ -0,0 +1,15 @@
1
+ import { SurveySample } from './interfaces';
2
+ /**
3
+ * Generate projected wellbore path for drawing using wellbore path layer
4
+ * Code originally developed for REP
5
+ * @param {[]} poslog Position log from SMDA
6
+ */
7
+ export declare function generateProjectedWellborePath(poslog: SurveySample[]): [number, number][];
8
+ /**
9
+ * Generate Trajectory
10
+ * Code originally developed for REP
11
+ * @param {[]} poslog Position log from SMDA
12
+ * @param {number} defaultIntersectionAngle Default intersection angle for the field
13
+ */
14
+ export declare function generateProjectedTrajectory(poslog: SurveySample[], defaultIntersectionAngle: number): number[][];
15
+ //# sourceMappingURL=trajectory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"trajectory.d.ts","sourceRoot":"","sources":["../../src/datautils/trajectory.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAS5C;;;;GAIG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAiBxF;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,YAAY,EAAE,EAAE,wBAAwB,EAAE,MAAM,GAAG,MAAM,EAAE,EAAE,CAsEhH"}