@equinor/esv-intersection
Version:
Intersection component package with testing and automatic documentation.
64 lines • 1.34 kB
TypeScript
/**
* Survey data from SDMA
*/
export interface SurveySample {
md: number;
tvd: number;
easting: number;
northing: number;
}
/**
* Strat unit element as retrieved from SDMA
*/
export interface StratUnit {
identifier: string;
stratUnitParent: string;
colorR: null | number;
colorG: null | number;
colorB: null | number;
topAge: number;
baseAge: number;
stratUnitLevel: number;
}
/**
* Surfaces meta data as received from surface API with surface values injected
*/
export interface SurfaceMetaAndValues {
data: {
values: number[];
};
visualSettings: {
displayName: string;
crossSection: string;
colors: {
crossSection: string;
};
};
}
/**
* Surfaces lines ready for drawing by geomodel layer
*/
export interface SurfaceLine {
id?: string;
label: string;
color: number | string;
data: number[][];
}
/**
* Surfaces areas ready for drawing by geomodel layer
*/
export interface SurfaceArea {
id?: string;
label?: string;
color: number | string;
data: number[][];
exclude?: boolean;
}
/**
* Surfaces lines and areas ready for drawing by geomodel layer
*/
export interface SurfaceData {
lines: SurfaceLine[];
areas: SurfaceArea[];
}
//# sourceMappingURL=interfaces.d.ts.map