All files / lib/services/shapes shapes.ts

100% Statements 8/8
100% Branches 0/0
100% Functions 1/1
100% Lines 8/8

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37                                                  2x 2x 2x 2x 2x 2x 2x 2x        
import { OpenCascadeInstance } from "../../../bitbybit-dev-occt/bitbybit-dev-occt";
import { OccHelper } from "../../occ-helper";
import { OCCTCompound } from "./compound";
import { OCCTVertex } from "./vertex";
import { OCCTEdge } from "./edge";
import { OCCTFace } from "./face";
import { OCCTShape } from "./shape";
import { OCCTShell } from "./shell";
import { OCCTSolid } from "./solid";
import { OCCTWire } from "./wire";
 
export class OCCTShapes {
    public readonly vertex: OCCTVertex;
    public readonly edge: OCCTEdge;
    public readonly wire: OCCTWire;
    public readonly face: OCCTFace;
    public readonly shell: OCCTShell;
    public readonly solid: OCCTSolid;
    public readonly compound: OCCTCompound;
    public readonly shape: OCCTShape;
 
    constructor(
        occ: OpenCascadeInstance,
        och: OccHelper,
    ) {
        this.vertex = new OCCTVertex(occ, och);
        this.edge = new OCCTEdge(occ, och);
        this.wire = new OCCTWire(occ, och);
        this.face = new OCCTFace(occ, och);
        this.shell = new OCCTShell(occ, och);
        this.solid = new OCCTSolid(occ, och);
        this.compound = new OCCTCompound(occ, och);
        this.shape = new OCCTShape(occ, och);
    }
 
}