@thi.ng/geom
Version:
Functional, polymorphic API for 2D geometry types & SVG generation
14 lines • 525 B
TypeScript
import type { Vec } from "@thi.ng/vectors";
import type { Attribs, IHiccupShape3 } from "../api.js";
export declare class Plane implements IHiccupShape3<Plane> {
normal: Vec;
w: number;
attribs?: Attribs | undefined;
readonly type = "plane";
readonly dim = 3;
constructor(normal?: Vec, w?: number, attribs?: Attribs | undefined);
copy(): Plane;
withAttribs(attribs: Attribs): Plane;
toHiccup(): (string | number | Vec<number> | Attribs | undefined)[];
}
//# sourceMappingURL=plane.d.ts.map