UNPKG

@jscad/modeling

Version:

Constructive Solid Geometry (CSG) Library for JSCAD

7 lines (4 loc) 151 B
import Line3 from './type' import Vec3 from '../vec3/type' export default closestPoint declare function closestPoint(line: Line3, point: Vec3): Vec3