@bitbybit-dev/occt
Version:
Bit By Bit Developers CAD algorithms using OpenCascade Technology kernel. Run in Node and in Browser.
17 lines (16 loc) • 896 B
JavaScript
import { TextBitByBit, Point, GeometryHelper, Transforms, Vector, MathBitByBit, MeshBitByBit, Polyline, Line, Lists, IoBitByBit } from "@bitbybit-dev/base";
export class BaseBitByBit {
constructor() {
this.geometryHelper = new GeometryHelper();
this.math = new MathBitByBit();
this.vector = new Vector(this.math, this.geometryHelper);
this.transforms = new Transforms(this.vector, this.math);
this.lists = new Lists();
this.point = new Point(this.geometryHelper, this.transforms, this.vector, this.lists);
this.line = new Line(this.vector, this.point, this.geometryHelper);
this.polyline = new Polyline(this.vector, this.point, this.line, this.geometryHelper);
this.textService = new TextBitByBit(this.point);
this.mesh = new MeshBitByBit(this.vector, this.polyline);
this.io = new IoBitByBit();
}
}