@@ -361,7 +361,7 @@ export namespace OCCT {
361361 */
362362 radius = 0.3 ;
363363 }
364- export class CurveAndSurfaceDto < T , U > {
364+ export class CurveAndSurfaceDto < T , U > {
365365 constructor ( curve ?: T , surface ?: U ) {
366366 if ( curve !== undefined ) { this . curve = curve ; }
367367 if ( surface !== undefined ) { this . surface = surface ; }
@@ -437,7 +437,7 @@ export namespace OCCT {
437437 */
438438 points : Base . Point3 [ ] ;
439439 }
440- export class SplitWireOnPointsDto < T > {
440+ export class SplitWireOnPointsDto < T > {
441441 constructor ( shape ?: T , points ?: Base . Point3 [ ] ) {
442442 if ( shape !== undefined ) { this . shape = shape ; }
443443 if ( points !== undefined ) { this . points = points ; }
@@ -2408,6 +2408,28 @@ export namespace OCCT {
24082408 */
24092409 closed = false ;
24102410 }
2411+ export class BezierWeightsDto {
2412+ constructor ( points ?: Base . Point3 [ ] , weights ?: number [ ] , closed ?: boolean ) {
2413+ if ( points !== undefined ) { this . points = points ; }
2414+ if ( weights !== undefined ) { this . weights = weights ; }
2415+ if ( closed !== undefined ) { this . closed = closed ; }
2416+ }
2417+ /**
2418+ * Points through which the Bezier curve will be created
2419+ * @default undefined
2420+ */
2421+ points : Base . Point3 [ ] ;
2422+ /**
2423+ * Weights for beziers that will be used, values should be between 0 and 1
2424+ * @default undefined
2425+ */
2426+ weights : number [ ] ;
2427+ /**
2428+ * Indicates wether Bezier will be cloed
2429+ * @default false
2430+ */
2431+ closed = false ;
2432+ }
24112433 export class BezierWiresDto {
24122434 constructor ( bezierWires ?: BezierDto [ ] , returnCompound ?: boolean ) {
24132435 if ( bezierWires !== undefined ) { this . bezierWires = bezierWires ; }
@@ -3181,7 +3203,7 @@ export namespace OCCT {
31813203 */
31823204 otherShape : T ;
31833205 }
3184- export class FixSmallEdgesInWireDto < T > {
3206+ export class FixSmallEdgesInWireDto < T > {
31853207 constructor ( shape ?: T , lockvtx ?: boolean , precsmall ?: number ) {
31863208 if ( shape !== undefined ) { this . shape = shape ; }
31873209 if ( lockvtx !== undefined ) { this . lockvtx = lockvtx ; }
@@ -3248,7 +3270,7 @@ export namespace OCCT {
32483270 */
32493271 minTolerance = 0.0001 ;
32503272 }
3251- export class FixClosedDto < T > {
3273+ export class FixClosedDto < T > {
32523274 constructor ( shape ?: T , precision ?: number ) {
32533275 if ( shape !== undefined ) { this . shape = shape ; }
32543276 if ( precision !== undefined ) { this . precision = precision ; }
@@ -3540,7 +3562,7 @@ export namespace OCCT {
35403562 translations : Base . Vector3 [ ] = [ [ 0 , 0 , 0 ] ] ;
35413563 }
35423564
3543- export class AlignDto < T > {
3565+ export class AlignDto < T > {
35443566 constructor ( shape ?: T , fromOrigin ?: Base . Point3 , fromDirection ?: Base . Vector3 , toOrigin ?: Base . Point3 , toDirection ?: Base . Vector3 ) {
35453567 if ( shape !== undefined ) { this . shape = shape ; }
35463568 if ( fromOrigin !== undefined ) { this . fromOrigin = fromOrigin ; }
@@ -3697,7 +3719,7 @@ export namespace OCCT {
36973719 */
36983720 normals : Base . Vector3 [ ] = [ [ 0 , 0 , 1 ] ] ;
36993721 }
3700- export class AlignAndTranslateDto < T > {
3722+ export class AlignAndTranslateDto < T > {
37013723 constructor ( shape ?: T , direction ?: Base . Vector3 , center ?: Base . Vector3 ) {
37023724 if ( shape !== undefined ) { this . shape = shape ; }
37033725 if ( direction !== undefined ) { this . direction = direction ; }
@@ -3746,7 +3768,7 @@ export namespace OCCT {
37463768 */
37473769 concatBSplines = true ;
37483770 }
3749- export class FilterFacePointsDto < T > {
3771+ export class FilterFacePointsDto < T > {
37503772 constructor ( shape ?: T , points ?: Base . Point3 [ ] , tolerance ?: number , useBndBox ?: boolean , gapTolerance ?: number , keepIn ?: boolean , keepOn ?: boolean , keepOut ?: boolean , keepUnknown ?: boolean ) {
37513773 if ( shape !== undefined ) { this . shape = shape ; }
37523774 if ( points !== undefined ) { this . points = points ; }
@@ -3812,7 +3834,7 @@ export namespace OCCT {
38123834 */
38133835 keepUnknown = false ;
38143836 }
3815- export class FilterSolidPointsDto < T > {
3837+ export class FilterSolidPointsDto < T > {
38163838 constructor ( shape ?: T , points ?: Base . Point3 [ ] , tolerance ?: number , keepIn ?: boolean , keepOn ?: boolean , keepOut ?: boolean , keepUnknown ?: boolean ) {
38173839 if ( shape !== undefined ) { this . shape = shape ; }
38183840 if ( points !== undefined ) { this . points = points ; }
@@ -3861,7 +3883,7 @@ export namespace OCCT {
38613883 */
38623884 keepUnknown = false ;
38633885 }
3864- export class AlignAndTranslateShapesDto < T > {
3886+ export class AlignAndTranslateShapesDto < T > {
38653887 constructor ( shapes ?: T [ ] , directions ?: Base . Vector3 [ ] , centers ?: Base . Vector3 [ ] ) {
38663888 if ( shapes !== undefined ) { this . shapes = shapes ; }
38673889 if ( directions !== undefined ) { this . directions = directions ; }
@@ -4064,7 +4086,7 @@ export namespace OCCT {
40644086 */
40654087 centers : Base . Point3 [ ] = [ [ 0 , 0 , 0 ] ] ;
40664088 }
4067- export class ShapeToMeshDto < T > {
4089+ export class ShapeToMeshDto < T > {
40684090 constructor ( shape ?: T , precision ?: number , adjustYtoZ ?: boolean ) {
40694091 if ( shape !== undefined ) { this . shape = shape ; }
40704092 if ( precision !== undefined ) { this . precision = precision ; }
@@ -4089,7 +4111,7 @@ export namespace OCCT {
40894111 */
40904112 adjustYtoZ = false ;
40914113 }
4092- export class ShapesToMeshesDto < T > {
4114+ export class ShapesToMeshesDto < T > {
40934115 constructor ( shapes ?: T [ ] , precision ?: number , adjustYtoZ ?: boolean ) {
40944116 if ( shapes !== undefined ) { this . shapes = shapes ; }
40954117 if ( precision !== undefined ) { this . precision = precision ; }
@@ -4815,7 +4837,7 @@ export namespace OCCT {
48154837 */
48164838 direction : Base . Vector3 = [ 0 , 1 , 0 ] ;
48174839 }
4818- export class Geom2dTrimmedCurveDto < T > {
4840+ export class Geom2dTrimmedCurveDto < T > {
48194841 constructor ( shape ?: T , u1 ?: number , u2 ?: number , sense ?: boolean , adjustPeriodic ?: boolean ) {
48204842 if ( shape !== undefined ) { this . shape = shape ; }
48214843 if ( u1 !== undefined ) { this . u1 = u1 ; }
0 commit comments