@equinor/esv-intersection 3.1.2 → 3.1.3

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 (115) hide show
  1. package/package.json +7 -8
  2. package/dist/components/axis.d.ts +0 -47
  3. package/dist/components/axis.d.ts.map +0 -1
  4. package/dist/components/index.d.ts +0 -2
  5. package/dist/components/index.d.ts.map +0 -1
  6. package/dist/constants.d.ts +0 -12
  7. package/dist/constants.d.ts.map +0 -1
  8. package/dist/control/ExtendedCurveInterpolator.d.ts +0 -59
  9. package/dist/control/ExtendedCurveInterpolator.d.ts.map +0 -1
  10. package/dist/control/IntersectionReferenceSystem.d.ts +0 -93
  11. package/dist/control/IntersectionReferenceSystem.d.ts.map +0 -1
  12. package/dist/control/LayerManager.d.ts +0 -77
  13. package/dist/control/LayerManager.d.ts.map +0 -1
  14. package/dist/control/MainController.d.ts +0 -155
  15. package/dist/control/MainController.d.ts.map +0 -1
  16. package/dist/control/ZoomPanHandler.d.ts +0 -160
  17. package/dist/control/ZoomPanHandler.d.ts.map +0 -1
  18. package/dist/control/index.d.ts +0 -6
  19. package/dist/control/index.d.ts.map +0 -1
  20. package/dist/control/interfaces.d.ts +0 -37
  21. package/dist/control/interfaces.d.ts.map +0 -1
  22. package/dist/control/overlay.d.ts +0 -21
  23. package/dist/control/overlay.d.ts.map +0 -1
  24. package/dist/datautils/colortable.d.ts +0 -2
  25. package/dist/datautils/colortable.d.ts.map +0 -1
  26. package/dist/datautils/findsample.d.ts +0 -3
  27. package/dist/datautils/findsample.d.ts.map +0 -1
  28. package/dist/datautils/index.d.ts +0 -7
  29. package/dist/datautils/index.d.ts.map +0 -1
  30. package/dist/datautils/interfaces.d.ts +0 -64
  31. package/dist/datautils/interfaces.d.ts.map +0 -1
  32. package/dist/datautils/picks.d.ts +0 -75
  33. package/dist/datautils/picks.d.ts.map +0 -1
  34. package/dist/datautils/schematicShapeGenerator.d.ts +0 -60
  35. package/dist/datautils/schematicShapeGenerator.d.ts.map +0 -1
  36. package/dist/datautils/seismicimage.d.ts +0 -46
  37. package/dist/datautils/seismicimage.d.ts.map +0 -1
  38. package/dist/datautils/surfacedata.d.ts +0 -11
  39. package/dist/datautils/surfacedata.d.ts.map +0 -1
  40. package/dist/datautils/trajectory.d.ts +0 -15
  41. package/dist/datautils/trajectory.d.ts.map +0 -1
  42. package/dist/index.cjs +0 -15
  43. package/dist/index.cjs.map +0 -1
  44. package/dist/index.d.ts +0 -7
  45. package/dist/index.d.ts.map +0 -1
  46. package/dist/index.mjs +0 -8380
  47. package/dist/index.mjs.map +0 -1
  48. package/dist/index.umd.js +0 -15
  49. package/dist/index.umd.js.map +0 -1
  50. package/dist/interfaces.d.ts +0 -86
  51. package/dist/interfaces.d.ts.map +0 -1
  52. package/dist/layers/CalloutCanvasLayer.d.ts +0 -72
  53. package/dist/layers/CalloutCanvasLayer.d.ts.map +0 -1
  54. package/dist/layers/CustomDisplayObjects/ComplexRope.d.ts +0 -22
  55. package/dist/layers/CustomDisplayObjects/ComplexRope.d.ts.map +0 -1
  56. package/dist/layers/CustomDisplayObjects/ComplexRopeGeometry.d.ts +0 -24
  57. package/dist/layers/CustomDisplayObjects/ComplexRopeGeometry.d.ts.map +0 -1
  58. package/dist/layers/CustomDisplayObjects/FixedWidthSimpleRope.d.ts +0 -21
  59. package/dist/layers/CustomDisplayObjects/FixedWidthSimpleRope.d.ts.map +0 -1
  60. package/dist/layers/CustomDisplayObjects/FixedWidthSimpleRopeGeometry.d.ts +0 -27
  61. package/dist/layers/CustomDisplayObjects/FixedWidthSimpleRopeGeometry.d.ts.map +0 -1
  62. package/dist/layers/CustomDisplayObjects/UniformTextureStretchRope.d.ts +0 -18
  63. package/dist/layers/CustomDisplayObjects/UniformTextureStretchRope.d.ts.map +0 -1
  64. package/dist/layers/CustomDisplayObjects/UniformTextureStretchRopeGeometry.d.ts +0 -24
  65. package/dist/layers/CustomDisplayObjects/UniformTextureStretchRopeGeometry.d.ts.map +0 -1
  66. package/dist/layers/GeomodelCanvasLayer.d.ts +0 -29
  67. package/dist/layers/GeomodelCanvasLayer.d.ts.map +0 -1
  68. package/dist/layers/GeomodelLabelsLayer.d.ts +0 -50
  69. package/dist/layers/GeomodelLabelsLayer.d.ts.map +0 -1
  70. package/dist/layers/GeomodelLayerV2.d.ts +0 -13
  71. package/dist/layers/GeomodelLayerV2.d.ts.map +0 -1
  72. package/dist/layers/GridLayer.d.ts +0 -30
  73. package/dist/layers/GridLayer.d.ts.map +0 -1
  74. package/dist/layers/ImageCanvasLayer.d.ts +0 -21
  75. package/dist/layers/ImageCanvasLayer.d.ts.map +0 -1
  76. package/dist/layers/ReferenceLineLayer.d.ts +0 -29
  77. package/dist/layers/ReferenceLineLayer.d.ts.map +0 -1
  78. package/dist/layers/SchematicLayer.d.ts +0 -114
  79. package/dist/layers/SchematicLayer.d.ts.map +0 -1
  80. package/dist/layers/SeismicCanvasLayer.d.ts +0 -19
  81. package/dist/layers/SeismicCanvasLayer.d.ts.map +0 -1
  82. package/dist/layers/WellborePathLayer.d.ts +0 -18
  83. package/dist/layers/WellborePathLayer.d.ts.map +0 -1
  84. package/dist/layers/base/CanvasLayer.d.ts +0 -20
  85. package/dist/layers/base/CanvasLayer.d.ts.map +0 -1
  86. package/dist/layers/base/HTMLLayer.d.ts +0 -14
  87. package/dist/layers/base/HTMLLayer.d.ts.map +0 -1
  88. package/dist/layers/base/Layer.d.ts +0 -70
  89. package/dist/layers/base/Layer.d.ts.map +0 -1
  90. package/dist/layers/base/PixiLayer.d.ts +0 -33
  91. package/dist/layers/base/PixiLayer.d.ts.map +0 -1
  92. package/dist/layers/base/SVGLayer.d.ts +0 -14
  93. package/dist/layers/base/SVGLayer.d.ts.map +0 -1
  94. package/dist/layers/base/index.d.ts +0 -6
  95. package/dist/layers/base/index.d.ts.map +0 -1
  96. package/dist/layers/index.d.ts +0 -17
  97. package/dist/layers/index.d.ts.map +0 -1
  98. package/dist/layers/schematicInterfaces.d.ts +0 -210
  99. package/dist/layers/schematicInterfaces.d.ts.map +0 -1
  100. package/dist/utils/arc-length.d.ts +0 -24
  101. package/dist/utils/arc-length.d.ts.map +0 -1
  102. package/dist/utils/binary-search.d.ts +0 -9
  103. package/dist/utils/binary-search.d.ts.map +0 -1
  104. package/dist/utils/color.d.ts +0 -6
  105. package/dist/utils/color.d.ts.map +0 -1
  106. package/dist/utils/index.d.ts +0 -2
  107. package/dist/utils/index.d.ts.map +0 -1
  108. package/dist/utils/root-finder.d.ts +0 -35
  109. package/dist/utils/root-finder.d.ts.map +0 -1
  110. package/dist/utils/text.d.ts +0 -15
  111. package/dist/utils/text.d.ts.map +0 -1
  112. package/dist/utils/vectorUtils.d.ts +0 -16
  113. package/dist/utils/vectorUtils.d.ts.map +0 -1
  114. package/dist/vendor/pixi-dashed-line/index.d.ts +0 -57
  115. package/dist/vendor/pixi-dashed-line/index.d.ts.map +0 -1
@@ -1,160 +0,0 @@
1
- import { Selection } from 'd3-selection';
2
- import { ScaleLinear } from 'd3-scale';
3
- import { ZoomBehavior, ZoomTransform } from 'd3-zoom';
4
- import { ZoomAndPanOptions, OnRescaleEvent } from '../interfaces';
5
- export type RescaleFunction = (event: OnRescaleEvent) => void;
6
- /**
7
- * Handle zoom and pan for intersection layers
8
- */
9
- export declare class ZoomPanHandler {
10
- zoom: ZoomBehavior<HTMLElement, unknown>;
11
- container: Selection<HTMLElement, unknown, null, undefined>;
12
- onRescale: RescaleFunction;
13
- options: ZoomAndPanOptions;
14
- xBounds: [number, number];
15
- yBounds: [number, number];
16
- translateBoundsX: [number, number];
17
- translateBoundsY: [number, number];
18
- scaleX: ScaleLinear<number, number>;
19
- scaleY: ScaleLinear<number, number>;
20
- _zFactor: number;
21
- _enableTranslateExtent: boolean;
22
- currentTransform: ZoomTransform | undefined;
23
- /**
24
- * Constructor
25
- * @param elm, -
26
- * @param options - options
27
- */
28
- constructor(elm: HTMLElement, onRescale: RescaleFunction, options?: ZoomAndPanOptions);
29
- /**
30
- * Getter returning width of target
31
- * @returns width
32
- */
33
- get width(): number;
34
- /**
35
- * Getter returning height of target
36
- * @returns height
37
- */
38
- get height(): number;
39
- /**
40
- * Getter which calculate span from x bounds
41
- * @returns x span
42
- */
43
- get xSpan(): number;
44
- /**
45
- * Calculate span from y bounds
46
- * @returns y span
47
- */
48
- get ySpan(): number;
49
- /**
50
- * Ratio between height and width
51
- * @returns ratio
52
- */
53
- get viewportRatio(): number;
54
- /**
55
- * x ratios screen to value ratio
56
- * @returns ratio
57
- */
58
- get xRatio(): number;
59
- /**
60
- * y scale screen to value ratio
61
- * @returns ratio
62
- */
63
- get yRatio(): number;
64
- /**
65
- * Get z-factor
66
- * @returns z-factor
67
- */
68
- get zFactor(): number;
69
- /**
70
- * Set z factor
71
- * @param factor
72
- */
73
- set zFactor(factor: number);
74
- /**
75
- * Check if x is inverted (right to left is positive) from x bounds
76
- * @returns true if inverted
77
- */
78
- get isXInverted(): boolean;
79
- /**
80
- * Check if y is inverted (bottom to top is positive) from y bounds
81
- * @returns true if inverted
82
- */
83
- get isYInverted(): boolean;
84
- /**
85
- * Get if enable translate extent (pan limit)
86
- * @returns true if enabled
87
- */
88
- get enableTranslateExtent(): boolean;
89
- /**
90
- * Set enable translate extent (pan limit)
91
- * @param enabled - If should be enabled
92
- */
93
- set enableTranslateExtent(enabled: boolean);
94
- /**
95
- * Update translate extent (pan limits)
96
- */
97
- updateTranslateExtent(): void;
98
- /**
99
- * Create an event object from current state
100
- */
101
- currentStateAsEvent(): OnRescaleEvent;
102
- /**
103
- * Update scale
104
- */
105
- rescale(): void;
106
- /**
107
- * Initialized handler
108
- */
109
- init(): void;
110
- /**
111
- * Handle zoom
112
- */
113
- onZoom(event: {
114
- transform: ZoomTransform;
115
- }): void;
116
- /**
117
- * Update scale
118
- */
119
- applyTransform(transform: ZoomTransform): void;
120
- /**
121
- * Set new viewport
122
- * @param cx - center X pos
123
- * @param cy - center Y pos
124
- * @param displ
125
- * @param duration - duration of transition
126
- * @returns a merge of filter and payload
127
- */
128
- setViewport(cx?: number, cy?: number, displ?: number, duration?: number): void;
129
- /**
130
- * Set bounds
131
- */
132
- setBounds(xBounds: [number, number], yBounds: [number, number]): void;
133
- /**
134
- * Set bounds
135
- */
136
- setTranslateBounds(xBounds: [number, number], yBounds: [number, number]): void;
137
- /**
138
- * Adjust zoom due to changes in size of target
139
- * @param force - force update even if size did not change
140
- */
141
- adjustToSize(): void;
142
- adjustToSize(autoAdjust: boolean): void;
143
- adjustToSize(width: number, height: number, force: boolean): void;
144
- /**
145
- * Calculate new transform
146
- * @param dx0
147
- * @param dx1
148
- * @param dy
149
- * @returns New transformation matrix
150
- */
151
- calculateTransform(dx0: number, dx1: number, dy: number): ZoomTransform;
152
- /**
153
- * Recalcualate the transform
154
- */
155
- recalculateZoomTransform(): void;
156
- setZoomLevelBoundary(zoomlevels: [number, number]): ZoomPanHandler;
157
- setMaxZoomLevel(zoomlevel: number): ZoomPanHandler;
158
- setMinZoomLevel(zoomlevel: number): ZoomPanHandler;
159
- }
160
- //# sourceMappingURL=ZoomPanHandler.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ZoomPanHandler.d.ts","sourceRoot":"","sources":["../../src/control/ZoomPanHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,SAAS,EAAE,MAAM,cAAc,CAAC;AACjD,OAAO,EAAe,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAsB,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE1E,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAKlE,MAAM,MAAM,eAAe,GAAG,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;AAC9D;;GAEG;AACH,qBAAa,cAAc;IACzB,IAAI,EAAG,YAAY,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;IAC1C,SAAS,EAAE,SAAS,CAAC,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,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,GAAG,cAAc;IAMlD,eAAe,CAAC,SAAS,EAAE,MAAM,GAAG,cAAc;CAKnD"}
@@ -1,6 +0,0 @@
1
- export * from './interfaces';
2
- export * from './IntersectionReferenceSystem';
3
- export * from './LayerManager';
4
- export * from './MainController';
5
- export * from './ZoomPanHandler';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/control/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC"}
@@ -1,37 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":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AAC,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"}
@@ -1,21 +0,0 @@
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
@@ -1 +0,0 @@
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,4BAA6B,WAAW,eAAkD,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare function createColorTable(colorMap: string[], size: number): [number, number, number][];
2
- //# sourceMappingURL=colortable.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,7 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,64 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"interf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H,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB"}
@@ -1,75 +0,0 @@
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
@@ -1 +0,0 @@
1
- {"version":3,"file":"picks.d.ts","source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B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC3C,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,WAAW,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,WAAW,CAAC;IACtB,eAAe,EAAE,MAAM,CAAC;IACxB,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AA0CF,eAAO,MAAM,YAAY,cAAe;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"}
@@ -1,60 +0,0 @@
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
@@ -1 +0,0 @@
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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L,WAAW,EAAE,aACrB,kBAAkB,sBACT,kBAAkB,KACrC,OAYF,CAAC"}
@@ -1,46 +0,0 @@
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
@@ -1 +0,0 @@
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,SAAU,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"}
@@ -1,11 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -1,15 +0,0 @@
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
@@ -1 +0,0 @@
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"}