UNPKG

@thi.ng/geom

Version:

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

13 lines 545 B
import type { Fn } from "@thi.ng/api"; import type { ReadonlyVec, Vec } from "@thi.ng/vectors"; import type { Attribs, IHiccupShape3 } from "../api.js"; import { APC } from "./apc.js"; export declare class Points3 extends APC implements IHiccupShape3<Points3> { readonly type = "points3"; readonly dim = 3; copy(): Points3; copyTransformed(fn: Fn<ReadonlyVec[], Vec[]>): Points3; withAttribs(attribs: Attribs): Points3; toHiccup(): (string | Vec<number>[] | Attribs | undefined)[]; } //# sourceMappingURL=points3.d.ts.map