All files / lib/services dimensions.ts

100% Statements 3/3
100% Branches 0/0
100% Functions 4/4
100% Lines 3/3

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                          26x       17x       12x          
import { OpenCascadeInstance, TopoDS_Compound } from "../../bitbybit-dev-occt/bitbybit-dev-occt";
import { OccHelper } from "../occ-helper";
import * as Inputs from "../api/inputs/inputs";
 
export class OCCTDimensions {
 
    constructor(
        private readonly occ: OpenCascadeInstance,
        private readonly och: OccHelper
    ) {
    }
 
    simpleLinearLengthDimension(inputs: Inputs.OCCT.SimpleLinearLengthDimensionDto): TopoDS_Compound {
        return this.och.dimensionsService.simpleLinearLengthDimension(inputs);
    }
 
    simpleAngularDimension(inputs: Inputs.OCCT.SimpleAngularDimensionDto): TopoDS_Compound {
        return this.och.dimensionsService.simpleAngularDimension(inputs);
    }
 
    pinWithLabel(inputs: Inputs.OCCT.PinWithLabelDto): TopoDS_Compound {
        return this.och.dimensionsService.pinWithLabel(inputs);
    }
    
    
}