UNPKG

@thi.ng/geom

Version:

Functional, polymorphic API for 2D geometry types & SVG generation

15 lines 746 B
import type { Fn } from "@thi.ng/api"; import type { ReadonlyVec, Vec } from "@thi.ng/vectors"; import type { Attribs, HiccupPathSegment, IHiccupPathSegment, IHiccupShape3 } from "../api.js"; import { APC } from "./apc.js"; export declare class Quadratic3 extends APC implements IHiccupShape3<Quadratic3>, IHiccupPathSegment { readonly type = "quadratic3"; readonly dim = 3; constructor(points: Iterable<Vec>, attribs?: Attribs); copy(): Quadratic3; copyTransformed(fn: Fn<ReadonlyVec[], Vec[]>): Quadratic3; withAttribs(attribs: Attribs): Quadratic3; toHiccup(): (string | Attribs | (string | Vec<number>)[][] | undefined)[]; toHiccupPathSegments(): HiccupPathSegment[]; } //# sourceMappingURL=quadratic3.d.ts.map