UNPKG

@jscad/modeling

Version:

Constructive Solid Geometry (CSG) Library for JSCAD

11 lines (7 loc) 239 B
import Path2 from './type' import Vec2 from '../../maths/vec2/type' export default fromPoints export interface FromPointsOptions { closed?: boolean } declare function fromPoints(options: FromPointsOptions, points: Array<Vec2>): Path2