UNPKG

ootk

Version:

Orbital Object Toolkit including Multiple Propagators, Initial Orbit Determination, and Maneuver Calculations.

9 lines (8 loc) 366 B
import { Vec3 } from '../types/types.js'; /** * Calculates the linear distance between two points in three-dimensional space. * @param pos1 The first position. * @param pos2 The second position. * @returns The linear distance between the two positions in kilometers. */ export declare function linearDistance<D extends number>(pos1: Vec3<D>, pos2: Vec3<D>): D;