@webviz/subsurface-viewer
Version:
3D visualization component for subsurface reservoir data
12 lines (11 loc) • 295 B
TypeScript
/**
* 3D point defined as [x, y, z].
*/
export type Point3D = [number, number, number];
/**
* Adds two 3D points (vectors) component-wise.
* @param a First point
* @param b Second point
* @returns The sum of the two points
*/
export declare function add(a: Point3D, b: Point3D): Point3D;