1- import { Inputs } from "../api" ;
21import initOpenCascade , { OpenCascadeInstance , TopoDS_Face , TopoDS_Shape , TopoDS_Wire } from "../../bitbybit-dev-occt/bitbybit-dev-occt" ;
3- import { Base } from "../api/inputs/base- inputs" ;
2+ import * as Inputs from "../api/inputs/inputs" ;
43import { ShapesHelperService } from "../api/shapes-helper.service" ;
54import { VectorHelperService } from "../api/vector-helper.service" ;
65import { OccHelper } from "../occ-helper" ;
@@ -49,7 +48,7 @@ describe("OCCT operations unit tests", () => {
4948 [ 2 , - 2 , 2 ] ,
5049 [ - 3 , 3 , 3 ] ,
5150 [ 4 , 4 , - 4 ] ,
52- ] as Base . Point3 [ ] ;
51+ ] as Inputs . Base . Point3 [ ] ;
5352 const sph = occHelper . entitiesService . bRepPrimAPIMakeSphere ( [ 0 , 0 , 0 ] , [ 0 , 1 , 0 ] , 1 ) ;
5453 const res = operations . closestPointsOnShapeFromPoints ( { shape : sph , points } ) ;
5554 expect ( res . length ) . toBe ( 5 ) ;
@@ -69,7 +68,7 @@ describe("OCCT operations unit tests", () => {
6968 [ 2 , - 2 , 2 ] ,
7069 [ - 3 , 3 , 3 ] ,
7170 [ 4 , 4 , - 4 ] ,
72- ] as Base . Point3 [ ] ;
71+ ] as Inputs . Base . Point3 [ ] ;
7372 const sph1 = occHelper . entitiesService . bRepPrimAPIMakeSphere ( [ 0 , 10 , 0 ] , [ 0 , 1 , 0 ] , 1 ) ;
7473 const sph2 = occHelper . entitiesService . bRepPrimAPIMakeSphere ( [ 0 , 0 , 10 ] , [ 0 , 1 , 0 ] , 2 ) ;
7574
0 commit comments