import type { Attribs } from "@thi.ng/geom-api" ; import { quadraticFromLine as _line } from "@thi.ng/geom-splines/quadratic-line" ; import type { Vec } from "@thi.ng/vectors" ; import { Quadratic } from "./api/quadratic.js" ; import { __pclike } from "./internal/pclike.js" ; export function quadratic ( a , b , c , attribs ? ) ; export function quadratic ( pts , attribs ? ) ; export function quadratic ( ... args ) { return __pclike ( Quadratic , args ) ; } export const quadraticFromLine = ( a , b , attribs ? ) => new Quadratic ( _line ( a , b ) , attribs ) ;