@webviz/subsurface-viewer
Version:
3D visualization component for subsurface reservoir data
13 lines (12 loc) • 661 B
TypeScript
import type { Color } from "@deck.gl/core";
import type { Position } from "geojson";
import type { StyleAccessorFunction } from "../../types";
import type { WellFeature } from "../types";
type ColorAccessor = Color | StyleAccessorFunction | undefined;
export declare function getColor(accessor: ColorAccessor): Color | ((object: WellFeature, objectInfo?: Record<string, unknown>) => Color | undefined);
/**
* Get trajectory data from LineString Geometry if it's visible (checking
* trajectory visiblity based on line color)
*/
export declare function getTrajectory(well_object: WellFeature, color_accessor: ColorAccessor): Position[] | undefined;
export {};