mxcad 1.0.83 → 1.0.85
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mxcad.d.ts +715 -570
- package/dist/mxcad.es.js +2146 -6020
- package/dist/mxcad.umd.js +46 -46
- package/dist/wasm/2d/mxdrawassembly_min.js +768 -751
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +764 -746
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/package.json +2 -2
package/dist/mxcad.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare class McGePoint3d {
|
|
|
41
41
|
*/
|
|
42
42
|
constructor(dX?: number | object, dY?: number, dZ?: number);
|
|
43
43
|
toVector3(): THREE.Vector3;
|
|
44
|
+
setFromVector3(val: THREE.Vector3): this;
|
|
44
45
|
/**
|
|
45
46
|
* 复制对象的值
|
|
46
47
|
*/
|
|
@@ -125,6 +126,7 @@ export declare class McGeVector3d {
|
|
|
125
126
|
dotProduct(vec: McGeVector3d): number;
|
|
126
127
|
crossProduct(vec: McGeVector3d): McGeVector3d;
|
|
127
128
|
isEqualTo(vec: McGeVector3d): boolean;
|
|
129
|
+
mult(val: number): this;
|
|
128
130
|
/**
|
|
129
131
|
* X 坐标。
|
|
130
132
|
*/
|
|
@@ -256,6 +258,7 @@ export declare class McGeLongArray {
|
|
|
256
258
|
* 复制对象的值
|
|
257
259
|
*/
|
|
258
260
|
copy(val: McGeLongArray): this;
|
|
261
|
+
copyFormAryId(aryId: McObjectId[]): this;
|
|
259
262
|
/**
|
|
260
263
|
* 添加一个值
|
|
261
264
|
*/
|
|
@@ -272,6 +275,7 @@ export declare class McGeLongArray {
|
|
|
272
275
|
* 设置数据元素的值
|
|
273
276
|
*/
|
|
274
277
|
setAt(index: number, val: number): void;
|
|
278
|
+
clear(): void;
|
|
275
279
|
}
|
|
276
280
|
/**
|
|
277
281
|
* 表示字符串的数组
|
|
@@ -306,6 +310,7 @@ export declare class McGeStringArray {
|
|
|
306
310
|
* 遍历数组
|
|
307
311
|
*/
|
|
308
312
|
forEach(call: (val: string, index: number) => void, decodeFromGb2312?: boolean): void;
|
|
313
|
+
clear(): void;
|
|
309
314
|
}
|
|
310
315
|
/**
|
|
311
316
|
* 表示三维点的数组
|
|
@@ -336,6 +341,38 @@ export declare class McGePoint3dArray {
|
|
|
336
341
|
* 设置数据元素的值
|
|
337
342
|
*/
|
|
338
343
|
setAt(index: number, val: McGePoint3d): void;
|
|
344
|
+
clear(): void;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* 整数数组
|
|
348
|
+
*/
|
|
349
|
+
export declare class MdGeDoubleArray {
|
|
350
|
+
imp: any;
|
|
351
|
+
/**
|
|
352
|
+
* 构造函数。
|
|
353
|
+
*/
|
|
354
|
+
constructor(imp?: object);
|
|
355
|
+
/**
|
|
356
|
+
* 复制对象的值
|
|
357
|
+
*/
|
|
358
|
+
copy(val: MdGeDoubleArray): this;
|
|
359
|
+
/**
|
|
360
|
+
* 添加一个值
|
|
361
|
+
*/
|
|
362
|
+
append(val: number): void;
|
|
363
|
+
/**
|
|
364
|
+
* 返回数组长度
|
|
365
|
+
*/
|
|
366
|
+
length(): number;
|
|
367
|
+
/**
|
|
368
|
+
* 得到数据元素的值
|
|
369
|
+
*/
|
|
370
|
+
at(index: number): number;
|
|
371
|
+
/**
|
|
372
|
+
* 设置数据元素的值
|
|
373
|
+
*/
|
|
374
|
+
setAt(index: number, val: number): void;
|
|
375
|
+
clear(): void;
|
|
339
376
|
}
|
|
340
377
|
/**
|
|
341
378
|
* 表示一个 Rx 对象的基类。
|
|
@@ -476,7 +513,7 @@ export declare class McDbObject extends McRxObject {
|
|
|
476
513
|
export declare class McDbObjectArray {
|
|
477
514
|
aryVal: McDbObject[];
|
|
478
515
|
constructor(imp?: any);
|
|
479
|
-
forEach(call: (val: McDbObject) => void): void;
|
|
516
|
+
forEach(call: (val: McDbObject, index: number) => void): void;
|
|
480
517
|
length(): number;
|
|
481
518
|
empty(): boolean;
|
|
482
519
|
}
|
|
@@ -671,7 +708,15 @@ export declare enum MxCADSelectionSetStatus {
|
|
|
671
708
|
kKeyword = 4
|
|
672
709
|
}
|
|
673
710
|
export declare class MxCADSelectionSet extends McRxObject {
|
|
711
|
+
isWhileSelect: boolean;
|
|
712
|
+
isSelectHighlight: boolean;
|
|
713
|
+
private selectPt1;
|
|
714
|
+
private selectPt2;
|
|
674
715
|
constructor();
|
|
716
|
+
getSelectPoint(): {
|
|
717
|
+
pt1: McGePoint3d;
|
|
718
|
+
pt2: McGePoint3d;
|
|
719
|
+
};
|
|
675
720
|
allSelect(filter?: MxCADResbuf | null): number;
|
|
676
721
|
pointSelect(dX: number, dY: number, filter?: MxCADResbuf | null, dTol?: number): number;
|
|
677
722
|
crossingSelect(dX1: number, dY1: number, dX2: number, dY2: number, filter?: MxCADResbuf | null): number;
|
|
@@ -1124,14 +1169,14 @@ export declare class McDbCurve extends McDbEntity {
|
|
|
1124
1169
|
/**
|
|
1125
1170
|
* 通过曲线参数得到曲线的一阶导数
|
|
1126
1171
|
*/
|
|
1127
|
-
|
|
1172
|
+
getFirstDerivFromParam(param: number): {
|
|
1128
1173
|
val: McGeVector3d;
|
|
1129
1174
|
ret: number;
|
|
1130
1175
|
};
|
|
1131
1176
|
/**
|
|
1132
1177
|
* 通过曲线上某点得到曲线的一阶导数
|
|
1133
1178
|
*/
|
|
1134
|
-
|
|
1179
|
+
getFirstDeriv(pt: McGePoint3d): {
|
|
1135
1180
|
val: McGeVector3d;
|
|
1136
1181
|
ret: number;
|
|
1137
1182
|
};
|
|
@@ -1149,7 +1194,8 @@ export declare class McDbCurve extends McDbEntity {
|
|
|
1149
1194
|
/**
|
|
1150
1195
|
* 打断曲线
|
|
1151
1196
|
*/
|
|
1152
|
-
splitCurves(
|
|
1197
|
+
splitCurves(pts: McGePoint3d[]): McDbObjectArray;
|
|
1198
|
+
splitCurvesFromParam(params: number[]): McDbObjectArray;
|
|
1153
1199
|
/**
|
|
1154
1200
|
* 计算面积
|
|
1155
1201
|
*/
|
|
@@ -2748,9 +2794,13 @@ export declare class McObject {
|
|
|
2748
2794
|
*/
|
|
2749
2795
|
GetMxCpp(): any;
|
|
2750
2796
|
/**
|
|
2751
|
-
* 当前绘图坐标到CAD
|
|
2797
|
+
* 当前绘图坐标到CAD图纸坐标.
|
|
2752
2798
|
*/
|
|
2753
|
-
|
|
2799
|
+
DocCoord2Cad(pt: McGePoint3d): McGePoint3d;
|
|
2800
|
+
/**
|
|
2801
|
+
* CAD图纸坐标到当前绘图坐标
|
|
2802
|
+
*/
|
|
2803
|
+
CadCoord2Doc(pt: McGePoint3d): McGePoint3d;
|
|
2754
2804
|
}
|
|
2755
2805
|
/**
|
|
2756
2806
|
* McAppType 类,提供了 MxCAD 的一些基本操作。
|
|
@@ -2846,10 +2896,9 @@ export declare class MxCppType {
|
|
|
2846
2896
|
/**
|
|
2847
2897
|
* 创建新的 McGePoint3d 实例
|
|
2848
2898
|
* @param {any} pt 点坐标
|
|
2849
|
-
* @param {boolean} isDoc 是否为文档坐标
|
|
2850
2899
|
* @returns {McGePoint3d} McGePoint3d 实例
|
|
2851
2900
|
*/
|
|
2852
|
-
NewMcGePoint3d(pt?: any
|
|
2901
|
+
NewMcGePoint3d(pt?: any): McGePoint3d;
|
|
2853
2902
|
/**
|
|
2854
2903
|
* 返回当前活动的CAD对象
|
|
2855
2904
|
*/
|
|
@@ -3002,8 +3051,6 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
3002
3051
|
* @param fileUrl 文件路径
|
|
3003
3052
|
* */
|
|
3004
3053
|
openFromUrl: (name: string, fileUrl: string) => void;
|
|
3005
|
-
/** 垃圾回收初始化 */
|
|
3006
|
-
InitGC(): void;
|
|
3007
3054
|
/** 设置多维数据集贴图背景 */
|
|
3008
3055
|
setCubemapBackground(url: string): void;
|
|
3009
3056
|
/** 完成初始化 */
|
|
@@ -3096,17 +3143,17 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
3096
3143
|
MdGeDiameterDim: typeof MdGeDiameterDim;
|
|
3097
3144
|
/** 表示一个椭圆 */
|
|
3098
3145
|
MdGeEllipse: typeof MdGeEllipse;
|
|
3099
|
-
MxShapeEnum: typeof
|
|
3100
|
-
MxHorizontalTextAlignment: typeof
|
|
3101
|
-
MxVerticalTextAlignment: typeof
|
|
3102
|
-
MxFontAspect: typeof
|
|
3103
|
-
MxTypeOfDisplayText: typeof
|
|
3104
|
-
MxCF3dFilletShapeEnum: typeof
|
|
3105
|
-
MxCFDSChamfMode: typeof
|
|
3106
|
-
MxGFTrihedron: typeof
|
|
3107
|
-
MxGAShapeEnum: typeof
|
|
3108
|
-
MxOffsetModeEnum: typeof
|
|
3109
|
-
MxGAJoinTypeEnum: typeof
|
|
3146
|
+
MxShapeEnum: typeof MxShapeEnum;
|
|
3147
|
+
MxHorizontalTextAlignment: typeof MxHorizontalTextAlignment;
|
|
3148
|
+
MxVerticalTextAlignment: typeof MxVerticalTextAlignment;
|
|
3149
|
+
MxFontAspect: typeof MxFontAspect;
|
|
3150
|
+
MxTypeOfDisplayText: typeof MxTypeOfDisplayText;
|
|
3151
|
+
MxCF3dFilletShapeEnum: typeof MxCF3dFilletShapeEnum;
|
|
3152
|
+
MxCFDSChamfMode: typeof MxCFDSChamfMode;
|
|
3153
|
+
MxGFTrihedron: typeof MxGFTrihedron;
|
|
3154
|
+
MxGAShapeEnum: typeof MxGAShapeEnum;
|
|
3155
|
+
MxOffsetModeEnum: typeof MxOffsetModeEnum;
|
|
3156
|
+
MxGAJoinTypeEnum: typeof MxGAJoinTypeEnum;
|
|
3110
3157
|
/** 表示拓扑元素遍历 */
|
|
3111
3158
|
MdGeExplorer: typeof MdGeExplorer;
|
|
3112
3159
|
/** 表示倒圆角 */
|
|
@@ -3157,115 +3204,54 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
3157
3204
|
MdGeTextLabel: typeof MdGeTextLabel;
|
|
3158
3205
|
/** 拓扑转换类 */
|
|
3159
3206
|
MdGeTopo: typeof MdGeTopo;
|
|
3160
|
-
mdGeTopo: MdGeTopo;
|
|
3161
3207
|
/** 表示圆环 */
|
|
3162
3208
|
MdGeTorus: typeof MdGeTorus;
|
|
3163
3209
|
/** 形状变换类 */
|
|
3164
3210
|
MdGeTransform: typeof MdGeTransform;
|
|
3165
3211
|
/** 表示一个楔形 */
|
|
3166
3212
|
MdGeWedge: typeof MdGeWedge;
|
|
3167
|
-
/** 表示BRep工具 */
|
|
3168
|
-
MdGeBRep: typeof MdGeBRep;
|
|
3169
|
-
mdGeBRep: MdGeBRep;
|
|
3170
|
-
/** 表示几何平面句柄 */
|
|
3171
|
-
MdGeHGeomPlane: typeof MdGeHGeomPlane;
|
|
3172
|
-
/** 表示几何曲面句柄 */
|
|
3173
|
-
MdGeHGeomSurface: typeof MdGeHGeomSurface;
|
|
3174
|
-
/** 所有类的父类,除MdGeTopo,MdGeBRep */
|
|
3175
|
-
MdGeObject: typeof MdGeObject;
|
|
3176
|
-
}
|
|
3177
|
-
/**
|
|
3178
|
-
* 所有类的父类, 除去MdGeTopo以及MdGeBrep
|
|
3179
|
-
*/
|
|
3180
|
-
export declare class MdGeObject {
|
|
3181
|
-
protected imp: any;
|
|
3182
|
-
constructor(imp?: any);
|
|
3183
|
-
getImp(): any;
|
|
3184
|
-
protected initTempObject(imp: any): void;
|
|
3185
3213
|
}
|
|
3186
3214
|
/**
|
|
3187
3215
|
* 表示一个形状。
|
|
3188
3216
|
*/
|
|
3189
|
-
|
|
3190
|
-
|
|
3191
|
-
|
|
3192
|
-
|
|
3193
|
-
|
|
3217
|
+
export declare class MdGeShape {
|
|
3218
|
+
/**
|
|
3219
|
+
* 求合并后的形状。
|
|
3220
|
+
* @param other 另一个形状。
|
|
3221
|
+
* @returns 合并后的形状。
|
|
3222
|
+
*/
|
|
3194
3223
|
Fuse(other: MdGeShape): MdGeShape;
|
|
3224
|
+
/**
|
|
3225
|
+
* 求裁剪后的形状。
|
|
3226
|
+
* @param remove 被裁剪掉的部分形状。
|
|
3227
|
+
* @returns 裁剪后的形状。
|
|
3228
|
+
*/
|
|
3195
3229
|
Cut(remove: MdGeShape): MdGeShape;
|
|
3230
|
+
/**
|
|
3231
|
+
* 求形状相交的部分。
|
|
3232
|
+
* @param other 另一个形状。
|
|
3233
|
+
* @returns 相交部分的形状。
|
|
3234
|
+
*/
|
|
3196
3235
|
Common(other: MdGeShape): MdGeShape;
|
|
3236
|
+
/**
|
|
3237
|
+
* 求相交部分的外轮廓。
|
|
3238
|
+
* @param other 另一个形状。
|
|
3239
|
+
* @returns 相交部分的外轮廓的形状。
|
|
3240
|
+
*/
|
|
3197
3241
|
Section(other: MdGeShape): MdGeShape;
|
|
3198
|
-
|
|
3199
|
-
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
*/
|
|
3203
|
-
export declare class MdGeVertex extends MdGeShape {
|
|
3204
|
-
constructor(p1?: object | number, p2?: number, p3?: number);
|
|
3205
|
-
Draw(): void;
|
|
3206
|
-
}
|
|
3207
|
-
/**
|
|
3208
|
-
* 表示一个Edge形状
|
|
3209
|
-
*/
|
|
3210
|
-
export declare class MdGeEdge extends MdGeShape {
|
|
3211
|
-
constructor(p1?: MdGePoint | object, p2?: MdGePoint);
|
|
3212
|
-
Wire(): MdGeWire;
|
|
3213
|
-
AddedEdge(edge: MdGeEdge): MdGeWire;
|
|
3214
|
-
AddedWire(wire: MdGeWire): MdGeWire;
|
|
3215
|
-
Draw(): void;
|
|
3216
|
-
}
|
|
3217
|
-
/**
|
|
3218
|
-
* 表示一个Wire形状
|
|
3219
|
-
*/
|
|
3220
|
-
export declare class MdGeWire extends MdGeShape {
|
|
3221
|
-
constructor(p?: object);
|
|
3222
|
-
AddedEdge(edge: MdGeEdge): MdGeWire;
|
|
3223
|
-
AddedWire(wire: MdGeWire): MdGeWire;
|
|
3224
|
-
Draw(): void;
|
|
3225
|
-
}
|
|
3226
|
-
/**
|
|
3227
|
-
* 表示一个Face形状
|
|
3228
|
-
*/
|
|
3229
|
-
export declare class MdGeFace extends MdGeShape {
|
|
3230
|
-
constructor(p?: object);
|
|
3231
|
-
Draw(): void;
|
|
3232
|
-
}
|
|
3233
|
-
/**
|
|
3234
|
-
* 表示一个Shell形状
|
|
3235
|
-
*/
|
|
3236
|
-
export declare class MdGeShell extends MdGeShape {
|
|
3237
|
-
constructor(p?: object);
|
|
3238
|
-
Draw(): void;
|
|
3239
|
-
}
|
|
3240
|
-
/**
|
|
3241
|
-
* 表示一个Solid形状
|
|
3242
|
-
*/
|
|
3243
|
-
export declare class MdGeSolid extends MdGeShape {
|
|
3244
|
-
constructor(p?: object);
|
|
3245
|
-
Draw(): void;
|
|
3246
|
-
}
|
|
3247
|
-
/**
|
|
3248
|
-
* 表示一个CompSolid形状
|
|
3249
|
-
*/
|
|
3250
|
-
export declare class MdGeCompSolid extends MdGeShape {
|
|
3251
|
-
constructor(p?: object);
|
|
3252
|
-
Draw(): void;
|
|
3253
|
-
}
|
|
3254
|
-
/**
|
|
3255
|
-
* 表示一个Compound形状
|
|
3256
|
-
*/
|
|
3257
|
-
export declare class MdGeCompound extends MdGeShape {
|
|
3258
|
-
constructor(p?: object);
|
|
3242
|
+
IsNull(): boolean;
|
|
3243
|
+
/**
|
|
3244
|
+
* 绘制形状。
|
|
3245
|
+
*/
|
|
3259
3246
|
Draw(): void;
|
|
3260
3247
|
}
|
|
3261
3248
|
/**
|
|
3262
3249
|
* 表示一个矩阵。
|
|
3263
3250
|
*/
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
constructor(p1?: MdGeXYZ | number | object, p2?: MdGeXYZ | number, p3?: MdGeXYZ | number, p4?: number, p5?: number, p6?: number, p7?: number, p8?: number, p9?: number);
|
|
3251
|
+
export declare class MdGeMat {
|
|
3252
|
+
constructor();
|
|
3253
|
+
constructor(a11: number, a12: number, a13: number, a21: number, a22: number, a23: number, a31: number, a32: number, a33: number);
|
|
3254
|
+
constructor(col1: MdGeXYZ, col2: MdGeXYZ, col3: MdGeXYZ);
|
|
3269
3255
|
SetCol(col: number, value: MdGeXYZ): void;
|
|
3270
3256
|
SetCols(col1: MdGeXYZ, col2: MdGeXYZ, col3: MdGeXYZ): void;
|
|
3271
3257
|
SetCross(ref: MdGeXYZ): void;
|
|
@@ -3305,12 +3291,11 @@ export declare class MdGeMat extends MdGeObject {
|
|
|
3305
3291
|
/**
|
|
3306
3292
|
* 表示一个坐标。
|
|
3307
3293
|
*/
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
SetCoord(x: number, y: number, z?: number): void;
|
|
3294
|
+
export declare class MdGeXYZ {
|
|
3295
|
+
constructor();
|
|
3296
|
+
constructor(x: number, y: number, z: number);
|
|
3297
|
+
SetCoord(x: number, y: number, z: number): void;
|
|
3298
|
+
SetCoord(index: number, value: number): void;
|
|
3314
3299
|
SetX(x: number): void;
|
|
3315
3300
|
SetY(y: number): void;
|
|
3316
3301
|
SetZ(z: number): void;
|
|
@@ -3346,15 +3331,18 @@ export declare class MdGeXYZ extends MdGeObject {
|
|
|
3346
3331
|
Reversed(): MdGeXYZ;
|
|
3347
3332
|
Subtract(other: MdGeXYZ): void;
|
|
3348
3333
|
Subtracted(other: MdGeXYZ): MdGeXYZ;
|
|
3334
|
+
SetLinearForm(a1: number, xyz1: MdGeXYZ, a2: number, xyz2: MdGeXYZ, a3: number, xyz3: MdGeXYZ, xyz4: MdGeXYZ): void;
|
|
3335
|
+
SetLinearForm(a1: number, xyz1: MdGeXYZ, a2: number, xyz2: MdGeXYZ, a3: number, xyz3: MdGeXYZ): void;
|
|
3336
|
+
SetLinearForm(a1: number, xyz1: MdGeXYZ, a2: number, xyz2: MdGeXYZ, xyz3: MdGeXYZ): void;
|
|
3337
|
+
SetLinearForm(a1: number, xyz1: MdGeXYZ, a2: number, xyz2: MdGeXYZ): void;
|
|
3338
|
+
SetLinearForm(a1: number, xyz1: MdGeXYZ, xyz2: MdGeXYZ): void;
|
|
3339
|
+
SetLinearForm(xyz1: MdGeXYZ, xyz2: MdGeXYZ): void;
|
|
3349
3340
|
}
|
|
3350
3341
|
/**
|
|
3351
3342
|
* 表示一个变换。
|
|
3352
3343
|
*/
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
*/
|
|
3356
|
-
export declare class MdGeTrsf extends MdGeObject {
|
|
3357
|
-
constructor(p?: object);
|
|
3344
|
+
export declare class MdGeTrsf {
|
|
3345
|
+
constructor();
|
|
3358
3346
|
SetMirrorByPoint(point: MdGePoint): void;
|
|
3359
3347
|
SetMirrorByAxis(axis: MdGeAxis): void;
|
|
3360
3348
|
SetMirrorByCSYSR(csysr: MdGeCSYSR): void;
|
|
@@ -3380,12 +3368,12 @@ export declare class MdGeTrsf extends MdGeObject {
|
|
|
3380
3368
|
/**
|
|
3381
3369
|
* 表示一个方向。
|
|
3382
3370
|
*/
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
SetCoord(
|
|
3371
|
+
export declare class MdGeDir {
|
|
3372
|
+
constructor();
|
|
3373
|
+
constructor(theV: MdGeVec);
|
|
3374
|
+
constructor(theXv: number, theYv: number, theZv: number);
|
|
3375
|
+
SetCoord(): void;
|
|
3376
|
+
SetCoord(theXv: number, theYv: number, theZv: number): void;
|
|
3389
3377
|
SetX(theXv: number): void;
|
|
3390
3378
|
SetY(theYv: number): void;
|
|
3391
3379
|
SetZ(theZv: number): void;
|
|
@@ -3423,29 +3411,50 @@ export declare class MdGeDir extends MdGeObject {
|
|
|
3423
3411
|
/**
|
|
3424
3412
|
* 表示一个轴。
|
|
3425
3413
|
*/
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
constructor(
|
|
3414
|
+
export declare class MdGeAxis {
|
|
3415
|
+
/**
|
|
3416
|
+
* 构造函数。
|
|
3417
|
+
*/
|
|
3418
|
+
constructor();
|
|
3419
|
+
/**
|
|
3420
|
+
* 构造函数。
|
|
3421
|
+
* @param loc 轴的位置点。
|
|
3422
|
+
* @param dir 轴的方向。
|
|
3423
|
+
*/
|
|
3424
|
+
constructor(loc: MdGePoint, dir: MdGeDir);
|
|
3425
|
+
/**
|
|
3426
|
+
* 获得轴的方向。
|
|
3427
|
+
* @returns 轴的方向。
|
|
3428
|
+
*/
|
|
3431
3429
|
Direction(): MdGeDir;
|
|
3430
|
+
/**
|
|
3431
|
+
* 获得轴的位置点。
|
|
3432
|
+
* @returns 轴的位置点。
|
|
3433
|
+
*/
|
|
3432
3434
|
Location(): MdGePoint;
|
|
3435
|
+
/**
|
|
3436
|
+
* 设置轴的方向。
|
|
3437
|
+
* @param dir 要设置的方向。
|
|
3438
|
+
*/
|
|
3433
3439
|
SetDirection(dir: MdGeDir): void;
|
|
3440
|
+
/**
|
|
3441
|
+
* 设置轴的位置点。
|
|
3442
|
+
* @param loc 要设置的位置点。
|
|
3443
|
+
*/
|
|
3434
3444
|
SetLocation(loc: MdGePoint): void;
|
|
3435
3445
|
}
|
|
3436
3446
|
/**
|
|
3437
3447
|
* 表示右手坐标系。
|
|
3438
3448
|
*/
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
export declare class MdGeCSYSR extends MdGeObject {
|
|
3443
|
-
constructor(p1?: MdGePoint | object, p2?: MdGeDir, p3?: MdGeDir);
|
|
3449
|
+
export declare class MdGeCSYSR {
|
|
3450
|
+
constructor();
|
|
3451
|
+
constructor(origin: MdGePoint, z_aixs: MdGeDir, x_vec: MdGeDir);
|
|
3444
3452
|
Origin(): MdGePoint;
|
|
3445
3453
|
XDirection(): MdGeDir;
|
|
3446
3454
|
YDirection(): MdGeDir;
|
|
3447
3455
|
ZDirection(): MdGeDir;
|
|
3448
|
-
SetOrigin(
|
|
3456
|
+
SetOrigin(origin: MdGePoint): void;
|
|
3457
|
+
SetOrigin(theX: number, theY: number, theZ: number): void;
|
|
3449
3458
|
SetXDirection(x_dir: MdGeDir): void;
|
|
3450
3459
|
SetYDirection(y_dir: MdGeDir): void;
|
|
3451
3460
|
SetZDirection(z_dir: MdGeDir): void;
|
|
@@ -3473,23 +3482,91 @@ export declare class MdGeCSYSR extends MdGeObject {
|
|
|
3473
3482
|
/**
|
|
3474
3483
|
* 表示一个点。
|
|
3475
3484
|
*/
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
constructor(
|
|
3485
|
+
export declare class MdGePoint {
|
|
3486
|
+
/**
|
|
3487
|
+
* 构造函数。
|
|
3488
|
+
*/
|
|
3489
|
+
constructor();
|
|
3490
|
+
/**
|
|
3491
|
+
* 构造函数。
|
|
3492
|
+
* @param x
|
|
3493
|
+
* @param y
|
|
3494
|
+
* @param z
|
|
3495
|
+
*/
|
|
3496
|
+
constructor(x: number, y: number, z: number);
|
|
3497
|
+
/**
|
|
3498
|
+
* 获取x坐标值。
|
|
3499
|
+
* @returns x坐标值。
|
|
3500
|
+
*/
|
|
3481
3501
|
X(): number;
|
|
3502
|
+
/**
|
|
3503
|
+
* 获取y坐标值。
|
|
3504
|
+
* @returns y坐标值。
|
|
3505
|
+
*/
|
|
3482
3506
|
Y(): number;
|
|
3507
|
+
/**
|
|
3508
|
+
* 获取z坐标值。
|
|
3509
|
+
* @returns z坐标值。
|
|
3510
|
+
*/
|
|
3483
3511
|
Z(): number;
|
|
3512
|
+
/**
|
|
3513
|
+
* 设置x坐标。
|
|
3514
|
+
* @param x x 坐标。
|
|
3515
|
+
*/
|
|
3484
3516
|
SetX(x: number): void;
|
|
3517
|
+
/**
|
|
3518
|
+
* 设置y坐标。
|
|
3519
|
+
* @param y y 坐标。
|
|
3520
|
+
*/
|
|
3485
3521
|
SetY(y: number): void;
|
|
3522
|
+
/**
|
|
3523
|
+
* 设置z坐标。
|
|
3524
|
+
* @param z z 坐标。
|
|
3525
|
+
*/
|
|
3486
3526
|
SetZ(z: number): void;
|
|
3527
|
+
/**
|
|
3528
|
+
* 设置x y z坐标值。
|
|
3529
|
+
* @param x 要设置的x坐标值。
|
|
3530
|
+
* @param y 要设置的y坐标值。
|
|
3531
|
+
* @param z 要设置的z坐标值。
|
|
3532
|
+
*/
|
|
3487
3533
|
SetXYZ(x: number, y: number, z: number): void;
|
|
3534
|
+
/**
|
|
3535
|
+
* 获取质心。
|
|
3536
|
+
* @param alpha 参数alpha。
|
|
3537
|
+
* @param point 三维点。
|
|
3538
|
+
* @param beta 参数beta
|
|
3539
|
+
*/
|
|
3488
3540
|
BaryCenter(alpha: number, point: MdGePoint, beta: number): void;
|
|
3541
|
+
/**
|
|
3542
|
+
* 判断两个点是否相等。
|
|
3543
|
+
* @param other 另一个点。
|
|
3544
|
+
* @param linearTolerance 精度。
|
|
3545
|
+
* @returns 是否相等,相等为true,不相等为false。
|
|
3546
|
+
*/
|
|
3489
3547
|
IsEqual(other: MdGePoint, linearTolerance: number): boolean;
|
|
3548
|
+
/**
|
|
3549
|
+
* 获取到另一点的距离。
|
|
3550
|
+
* @param other 另一个点。
|
|
3551
|
+
* @returns 到指定点的距离。
|
|
3552
|
+
*/
|
|
3490
3553
|
Distance(other: MdGePoint): number;
|
|
3554
|
+
/**
|
|
3555
|
+
* 获取到另一点的距离的平方。
|
|
3556
|
+
* @param other 另一个点。
|
|
3557
|
+
* @returns 到指定点的距离的平方。
|
|
3558
|
+
*/
|
|
3491
3559
|
SquareDistance(other: MdGePoint): number;
|
|
3560
|
+
/**
|
|
3561
|
+
* 将点按某一点进行镜像变换。
|
|
3562
|
+
* @param point 镜像点。
|
|
3563
|
+
*/
|
|
3492
3564
|
MirrorByPoint(point: MdGePoint): void;
|
|
3565
|
+
/**
|
|
3566
|
+
* 将点按某一点进行镜像变换后的镜像点。
|
|
3567
|
+
* @param point 镜像点。
|
|
3568
|
+
* @returns 变换后的镜像点。
|
|
3569
|
+
*/
|
|
3493
3570
|
MirroredByPoint(point: MdGePoint): MdGePoint;
|
|
3494
3571
|
MirrorByAxis(axis: MdGeAxis): void;
|
|
3495
3572
|
MirroredByAxis(axis: MdGeAxis): MdGePoint;
|
|
@@ -3505,24 +3582,83 @@ export declare class MdGePoint extends MdGeObject {
|
|
|
3505
3582
|
TranslatedByVec(vec: MdGeVec): MdGePoint;
|
|
3506
3583
|
TranslateBy2Points(point1: MdGePoint, point2: MdGePoint): void;
|
|
3507
3584
|
TranslatedBy2Points(point1: MdGePoint, point2: MdGePoint): MdGePoint;
|
|
3585
|
+
/**
|
|
3586
|
+
* 求点的形状。
|
|
3587
|
+
* @returns 点的形状。
|
|
3588
|
+
*/
|
|
3508
3589
|
Shape(): MdGeShape;
|
|
3509
3590
|
Vertex(): MdGeVertex;
|
|
3510
3591
|
}
|
|
3511
3592
|
/**
|
|
3512
3593
|
* 表示一个向量。
|
|
3513
3594
|
*/
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
constructor(
|
|
3519
|
-
|
|
3595
|
+
export declare class MdGeVec {
|
|
3596
|
+
/**
|
|
3597
|
+
* 构造函数。
|
|
3598
|
+
*/
|
|
3599
|
+
constructor();
|
|
3600
|
+
/**
|
|
3601
|
+
* 构造函数。
|
|
3602
|
+
* @param x x 坐标。
|
|
3603
|
+
* @param y y 坐标。
|
|
3604
|
+
* @param z z 坐标。
|
|
3605
|
+
*/
|
|
3606
|
+
constructor(x: number, y: number, z: number);
|
|
3607
|
+
/**
|
|
3608
|
+
* 构造函数。
|
|
3609
|
+
* @param theP1 第一个点。
|
|
3610
|
+
* @param theP2 第二个点。
|
|
3611
|
+
*/
|
|
3612
|
+
constructor(theP1: MdGePoint, theP2: MdGePoint);
|
|
3613
|
+
/**
|
|
3614
|
+
* 设置某个坐标值。
|
|
3615
|
+
* @param theIndex 要设置的坐标,取值1,2,3。
|
|
3616
|
+
* @param theXi 要设置的坐标值。
|
|
3617
|
+
*/
|
|
3618
|
+
SetCoord(theIndex: number, theXi: number): void;
|
|
3619
|
+
/**
|
|
3620
|
+
* 设置x y z坐标值。
|
|
3621
|
+
* @param theXv 要设置的x坐标值。
|
|
3622
|
+
* @param theYv 要设置的y坐标值。
|
|
3623
|
+
* @param theZv 要设置的z坐标值。
|
|
3624
|
+
*/
|
|
3625
|
+
SetCoord(theXv: number, theYv: number, theZv: number): void;
|
|
3626
|
+
/**
|
|
3627
|
+
* 获取x坐标值。
|
|
3628
|
+
* @returns x坐标值。
|
|
3629
|
+
*/
|
|
3520
3630
|
X(): number;
|
|
3631
|
+
/**
|
|
3632
|
+
* 获取y坐标值。
|
|
3633
|
+
* @returns y坐标值。
|
|
3634
|
+
*/
|
|
3521
3635
|
Y(): number;
|
|
3636
|
+
/**
|
|
3637
|
+
* 获取z坐标值。
|
|
3638
|
+
* @returns z坐标值。
|
|
3639
|
+
*/
|
|
3522
3640
|
Z(): number;
|
|
3641
|
+
/**
|
|
3642
|
+
* 设置x坐标。
|
|
3643
|
+
* @param x x 坐标。
|
|
3644
|
+
*/
|
|
3523
3645
|
SetX(x: number): void;
|
|
3646
|
+
/**
|
|
3647
|
+
* 设置y坐标。
|
|
3648
|
+
* @param y y 坐标。
|
|
3649
|
+
*/
|
|
3524
3650
|
SetY(y: number): void;
|
|
3651
|
+
/**
|
|
3652
|
+
* 设置z坐标。
|
|
3653
|
+
* @param z z 坐标。
|
|
3654
|
+
*/
|
|
3525
3655
|
SetZ(z: number): void;
|
|
3656
|
+
/**
|
|
3657
|
+
* 设置x y z坐标值。
|
|
3658
|
+
* @param x 要设置的x坐标值。
|
|
3659
|
+
* @param y 要设置的y坐标值。
|
|
3660
|
+
* @param z 要设置的z坐标值。
|
|
3661
|
+
*/
|
|
3526
3662
|
SetXYZ(x: number, y: number, z: number): void;
|
|
3527
3663
|
Coord(theIndex: number): number;
|
|
3528
3664
|
IsEqual(other: MdGeVec, linearTolerance: number, angularTolerance: number): boolean;
|
|
@@ -3553,7 +3689,12 @@ export declare class MdGeVec extends MdGeObject {
|
|
|
3553
3689
|
Normalized(): MdGeVec;
|
|
3554
3690
|
Reverse(): void;
|
|
3555
3691
|
Reversed(): MdGeVec;
|
|
3556
|
-
SetLinearForm(
|
|
3692
|
+
SetLinearForm(a1: number, v1: MdGeVec, a2: number, v2: MdGeVec, a3: number, v3: MdGeVec, v4: MdGeVec): void;
|
|
3693
|
+
SetLinearForm(a1: number, v1: MdGeVec, a2: number, v2: MdGeVec, a3: number, v3: MdGeVec): void;
|
|
3694
|
+
SetLinearForm(a1: number, v1: MdGeVec, a2: number, v2: MdGeVec, v3: MdGeVec): void;
|
|
3695
|
+
SetLinearForm(a1: number, v1: MdGeVec, a2: number, v2: MdGeVec): void;
|
|
3696
|
+
SetLinearForm(a1: number, v1: MdGeVec, v2: MdGeVec): void;
|
|
3697
|
+
SetLinearForm(v1: MdGeVec, v2: MdGeVec): void;
|
|
3557
3698
|
MirrorByVec(vec: MdGeVec): void;
|
|
3558
3699
|
MirroredByVec(vec: MdGeVec): MdGeVec;
|
|
3559
3700
|
MirrorByAxis(axis: MdGeAxis): void;
|
|
@@ -3570,42 +3711,123 @@ export declare class MdGeVec extends MdGeObject {
|
|
|
3570
3711
|
/**
|
|
3571
3712
|
* 表示一个Wire形状。
|
|
3572
3713
|
*/
|
|
3714
|
+
export declare class MdGeWire extends MdGeShape {
|
|
3715
|
+
/**
|
|
3716
|
+
* 构造函数。
|
|
3717
|
+
*/
|
|
3718
|
+
constructor();
|
|
3719
|
+
/**
|
|
3720
|
+
* 添加Edge,形成Wire。
|
|
3721
|
+
* @param edge 要添加的Edge。
|
|
3722
|
+
* @returns 最终的Wire。
|
|
3723
|
+
*/
|
|
3724
|
+
AddedEdge(edge: MdGeEdge): MdGeWire;
|
|
3725
|
+
/**
|
|
3726
|
+
* 添加Wire,形成Wire。
|
|
3727
|
+
* @param wire 要添加的Wire。
|
|
3728
|
+
* @returns 最终的Wire。
|
|
3729
|
+
*/
|
|
3730
|
+
AddedWire(wire: MdGeWire): MdGeWire;
|
|
3731
|
+
/**
|
|
3732
|
+
* 绘制Wire。
|
|
3733
|
+
*/
|
|
3734
|
+
Draw(): void;
|
|
3735
|
+
}
|
|
3573
3736
|
/**
|
|
3574
3737
|
* 表示一个Edge形状。
|
|
3575
3738
|
*/
|
|
3739
|
+
export declare class MdGeEdge extends MdGeShape {
|
|
3740
|
+
/**
|
|
3741
|
+
* 构造函数。
|
|
3742
|
+
*/
|
|
3743
|
+
constructor();
|
|
3744
|
+
/**
|
|
3745
|
+
* 构造函数。
|
|
3746
|
+
* @param pt1 第一个点。
|
|
3747
|
+
* @param pt2 第二个点。
|
|
3748
|
+
*/
|
|
3749
|
+
constructor(pt1: MdGePoint, pt2: MdGePoint);
|
|
3750
|
+
/**
|
|
3751
|
+
* 获得MdGeWire类型的Edge。
|
|
3752
|
+
* @returns MdGeWire类型的Edge形状。
|
|
3753
|
+
*/
|
|
3754
|
+
Wire(): MdGeWire;
|
|
3755
|
+
/**
|
|
3756
|
+
* 添加Edge,形成Wire。
|
|
3757
|
+
* @param edge 要添加的Egde。
|
|
3758
|
+
* @returns 最终的Wire形状。
|
|
3759
|
+
*/
|
|
3760
|
+
AddedEdge(edge: MdGeEdge): MdGeWire;
|
|
3761
|
+
/**
|
|
3762
|
+
* 添加Wire,形成Edge。
|
|
3763
|
+
* @param wire 要添加的Wire。
|
|
3764
|
+
* @returns 最终的Wire形状。
|
|
3765
|
+
*/
|
|
3766
|
+
AddedWire(wire: MdGeWire): MdGeWire;
|
|
3767
|
+
/**
|
|
3768
|
+
* 绘制Edge。
|
|
3769
|
+
*/
|
|
3770
|
+
Draw(): void;
|
|
3771
|
+
}
|
|
3576
3772
|
/**
|
|
3577
3773
|
* 表示一个Vertex形状。
|
|
3578
3774
|
*/
|
|
3775
|
+
export declare class MdGeVertex extends MdGeShape {
|
|
3776
|
+
constructor();
|
|
3777
|
+
constructor(x: number, y: number, z: number);
|
|
3778
|
+
constructor(pt: MdGePoint);
|
|
3779
|
+
Draw(): void;
|
|
3780
|
+
}
|
|
3579
3781
|
/**
|
|
3580
3782
|
* 表示一个Face形状。
|
|
3581
3783
|
*/
|
|
3784
|
+
export declare class MdGeFace extends MdGeShape {
|
|
3785
|
+
constructor();
|
|
3786
|
+
Draw(): void;
|
|
3787
|
+
}
|
|
3582
3788
|
/**
|
|
3583
3789
|
* 表示一个Shell形状。
|
|
3584
3790
|
*/
|
|
3791
|
+
export declare class MdGeShell extends MdGeShape {
|
|
3792
|
+
constructor();
|
|
3793
|
+
Draw(): void;
|
|
3794
|
+
}
|
|
3585
3795
|
/**
|
|
3586
3796
|
* 表示一个Solid形状。
|
|
3587
3797
|
*/
|
|
3798
|
+
export declare class MdGeSolid extends MdGeShape {
|
|
3799
|
+
constructor();
|
|
3800
|
+
Draw(): void;
|
|
3801
|
+
}
|
|
3588
3802
|
/**
|
|
3589
3803
|
* 表示一个CompSolid形状。
|
|
3590
3804
|
*/
|
|
3805
|
+
export declare class MdGeCompSolid extends MdGeShape {
|
|
3806
|
+
constructor();
|
|
3807
|
+
Draw(): void;
|
|
3808
|
+
}
|
|
3591
3809
|
/**
|
|
3592
3810
|
* 表示一个Compound形状。
|
|
3593
3811
|
*/
|
|
3812
|
+
export declare class MdGeCompound extends MdGeShape {
|
|
3813
|
+
constructor();
|
|
3814
|
+
Draw(): void;
|
|
3815
|
+
}
|
|
3594
3816
|
/**
|
|
3595
3817
|
* 表示角度标注。
|
|
3596
3818
|
*/
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
export declare class MdGeAngleDim extends MdGeObject {
|
|
3601
|
-
constructor(p1?: MdGeEdge | MdGePoint | object, p2?: MdGeEdge | MdGePoint, p3?: MdGePoint);
|
|
3819
|
+
export declare class MdGeAngleDim {
|
|
3820
|
+
constructor(theFirstEdge: MdGeEdge, theSecondEdge: MdGeEdge);
|
|
3821
|
+
constructor(theFirstPoint: MdGePoint, theSecondPoint: MdGePoint, theThirdPoint: MdGePoint);
|
|
3602
3822
|
FirstPoint(): MdGePoint;
|
|
3603
3823
|
SecondPoint(): MdGePoint;
|
|
3604
3824
|
CenterPoint(): MdGePoint;
|
|
3605
3825
|
FirstShape(): MdGeShape;
|
|
3606
3826
|
SecondShape(): MdGeShape;
|
|
3607
3827
|
ThirdShape(): MdGeShape;
|
|
3608
|
-
SetMeasuredGeometry(
|
|
3828
|
+
SetMeasuredGeometry(theFirstEdge: MdGeEdge, theSecondEdge: MdGeEdge): void;
|
|
3829
|
+
SetMeasuredGeometry(theFirstPoint: MdGePoint, theSecondPoint: MdGePoint, theThridPoint: MdGePoint): void;
|
|
3830
|
+
SetMeasuredGeometry(theCone: MdGeFace): void;
|
|
3609
3831
|
SetTextPosition(theTextPos: MdGePoint): void;
|
|
3610
3832
|
GetTextPosition(): MdGePoint;
|
|
3611
3833
|
GetNormalForMinAngle(): MdGeDir;
|
|
@@ -3615,11 +3837,9 @@ export declare class MdGeAngleDim extends MdGeObject {
|
|
|
3615
3837
|
/**
|
|
3616
3838
|
* 表示一维整数数组。
|
|
3617
3839
|
*/
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
export declare class MdGeArray1OfInteger extends MdGeObject {
|
|
3622
|
-
constructor(p1?: number | object, p2?: number);
|
|
3840
|
+
export declare class MdGeArray1OfInteger {
|
|
3841
|
+
constructor();
|
|
3842
|
+
constructor(theLower: number, theUpper: number);
|
|
3623
3843
|
Init(theInteger: number): void;
|
|
3624
3844
|
Size(): number;
|
|
3625
3845
|
Length(): number;
|
|
@@ -3637,11 +3857,9 @@ export declare class MdGeArray1OfInteger extends MdGeObject {
|
|
|
3637
3857
|
/**
|
|
3638
3858
|
* 表示一维点数组。
|
|
3639
3859
|
*/
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
export declare class MdGeArray1OfPnt extends MdGeObject {
|
|
3644
|
-
constructor(p1?: number | object, p2?: number);
|
|
3860
|
+
export declare class MdGeArray1OfPnt {
|
|
3861
|
+
constructor();
|
|
3862
|
+
constructor(theLower: number, theUpper: number);
|
|
3645
3863
|
Init(thePnt: MdGePoint): void;
|
|
3646
3864
|
Size(): number;
|
|
3647
3865
|
Length(): number;
|
|
@@ -3659,11 +3877,9 @@ export declare class MdGeArray1OfPnt extends MdGeObject {
|
|
|
3659
3877
|
/**
|
|
3660
3878
|
* 表示一维实数数组。
|
|
3661
3879
|
*/
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
export declare class MdGeArray1OfReal extends MdGeObject {
|
|
3666
|
-
constructor(p1?: number | object, p2?: number);
|
|
3880
|
+
export declare class MdGeArray1OfReal {
|
|
3881
|
+
constructor();
|
|
3882
|
+
constructor(theLower: number, theUpper: number);
|
|
3667
3883
|
Init(theReal: number): void;
|
|
3668
3884
|
Size(): number;
|
|
3669
3885
|
Length(): number;
|
|
@@ -3681,11 +3897,10 @@ export declare class MdGeArray1OfReal extends MdGeObject {
|
|
|
3681
3897
|
/**
|
|
3682
3898
|
* 表示二维点数组。
|
|
3683
3899
|
*/
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
constructor(p1?: number | MdGePoint | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
3900
|
+
export declare class MdGeArray2OfPnt {
|
|
3901
|
+
constructor();
|
|
3902
|
+
constructor(theRowLower: number, theRowUpper: number, theColLower: number, theColUpper: number);
|
|
3903
|
+
constructor(theBegin: MdGePoint, theRowLower: number, theRowUpper: number, theColLower: number, theColUpper: number);
|
|
3689
3904
|
Init(thePoint: MdGePoint): void;
|
|
3690
3905
|
Size(): number;
|
|
3691
3906
|
Length(): number;
|
|
@@ -3705,11 +3920,10 @@ export declare class MdGeArray2OfPnt extends MdGeObject {
|
|
|
3705
3920
|
/**
|
|
3706
3921
|
* 表示二维实数数组。
|
|
3707
3922
|
*/
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
constructor(p1?: number | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
3923
|
+
export declare class MdGeArray2OfReal {
|
|
3924
|
+
constructor();
|
|
3925
|
+
constructor(theRowLower: number, theRowUpper: number, theColLower: number, theColUpper: number);
|
|
3926
|
+
constructor(theBegin: number, theRowLower: number, theRowUpper: number, theColLower: number, theColUpper: number);
|
|
3713
3927
|
Init(theReal: number): void;
|
|
3714
3928
|
Size(): number;
|
|
3715
3929
|
Length(): number;
|
|
@@ -3729,25 +3943,25 @@ export declare class MdGeArray2OfReal extends MdGeObject {
|
|
|
3729
3943
|
/**
|
|
3730
3944
|
* 表示贝塞尔曲线
|
|
3731
3945
|
*/
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
export declare class MdGeBezierCurve extends MdGeObject {
|
|
3736
|
-
constructor(p1?: MdGeArray1OfPnt | object, p2?: MdGeArray1OfReal);
|
|
3946
|
+
export declare class MdGeBezierCurve {
|
|
3947
|
+
constructor(CurvePoles: MdGeArray1OfPnt);
|
|
3948
|
+
constructor(CurvePoles: MdGeArray1OfPnt, PoleWeights: MdGeArray1OfReal);
|
|
3737
3949
|
Increase(Degree: number): void;
|
|
3738
|
-
InsertPoleAfter(
|
|
3739
|
-
|
|
3950
|
+
InsertPoleAfter(Index: number, P: MdGePoint): void;
|
|
3951
|
+
InsertPoleAfter(Index: number, P: MdGePoint, Weight: number): void;
|
|
3952
|
+
InsertPoleBefore(Index: number, P: MdGePoint): void;
|
|
3953
|
+
InsertPoleBefore(Index: number, P: MdGePoint, Weight: number): void;
|
|
3740
3954
|
RemovePole(Index: number): void;
|
|
3741
3955
|
Reverse(): void;
|
|
3742
3956
|
ReversedParameter(U: number): number;
|
|
3743
3957
|
Segment(U1: number, U2: number): void;
|
|
3744
|
-
SetPole(
|
|
3958
|
+
SetPole(Index: number, P: MdGePoint): void;
|
|
3959
|
+
SetPole(Index: number, P: MdGePoint, Weight: number): void;
|
|
3745
3960
|
SetWeight(Index: number, Weight: number): void;
|
|
3746
3961
|
IsClosed(): boolean;
|
|
3747
3962
|
IsCN(N: number): boolean;
|
|
3748
3963
|
IsPeriodic(): boolean;
|
|
3749
3964
|
IsRational(): boolean;
|
|
3750
|
-
Continuity(): MdGe.MxGAShapeEnum;
|
|
3751
3965
|
Degree(): number;
|
|
3752
3966
|
DN(U: number, N: number): MdGeVec;
|
|
3753
3967
|
StartPoint(): MdGePoint;
|
|
@@ -3768,23 +3982,28 @@ export declare class MdGeBezierCurve extends MdGeObject {
|
|
|
3768
3982
|
/**
|
|
3769
3983
|
* 表示贝塞尔曲面
|
|
3770
3984
|
*/
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
export declare class MdGeBezierSurface extends MdGeObject {
|
|
3775
|
-
constructor(p1?: MdGeArray2OfPnt | object, p2?: MdGeArray2OfReal);
|
|
3985
|
+
export declare class MdGeBezierSurface {
|
|
3986
|
+
constructor(SurfacePoles: MdGeArray2OfPnt);
|
|
3987
|
+
constructor(SurfacePoles: MdGeArray2OfPnt, PoleWeights: MdGeArray2OfReal);
|
|
3776
3988
|
ExchangeUV(): void;
|
|
3777
3989
|
Increase(UDeg: number, VDeg: number): void;
|
|
3778
|
-
InsertPoleColAfter(
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3990
|
+
InsertPoleColAfter(VIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
3991
|
+
InsertPoleColAfter(VIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3992
|
+
InsertPoleColBefore(VIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
3993
|
+
InsertPoleColBefore(VIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3994
|
+
InsertPoleRowAfter(UIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
3995
|
+
InsertPoleRowAfter(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3996
|
+
InsertPoleRowBefore(UIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
3997
|
+
InsertPoleRowBefore(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3782
3998
|
RemovePoleCol(VIndex: number): void;
|
|
3783
3999
|
RemovePoleRow(UIndex: number): void;
|
|
3784
4000
|
Segment(U1: number, U2: number, V1: number, V2: number): void;
|
|
3785
|
-
SetPole(
|
|
3786
|
-
|
|
3787
|
-
|
|
4001
|
+
SetPole(UIndex: number, VIndex: number, P: MdGePoint): void;
|
|
4002
|
+
SetPole(UIndex: number, VIndex: number, P: MdGePoint, Weight: number): void;
|
|
4003
|
+
SetPoleCol(VIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
4004
|
+
SetPoleCol(VIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
4005
|
+
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
4006
|
+
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3788
4007
|
SetWeight(UIndex: number, VIndex: number, Weight: number): void;
|
|
3789
4008
|
SetWeightCol(VIndex: number, CPoleWeights: MdGeArray1OfReal): void;
|
|
3790
4009
|
SetWeightRow(UIndex: number, CPoleWeights: MdGeArray1OfReal): void;
|
|
@@ -3792,7 +4011,6 @@ export declare class MdGeBezierSurface extends MdGeObject {
|
|
|
3792
4011
|
UReversedParameter(U: number): number;
|
|
3793
4012
|
VReverse(): void;
|
|
3794
4013
|
VReversedParameter(V: number): number;
|
|
3795
|
-
Continuity(): MdGe.MxGAShapeEnum;
|
|
3796
4014
|
DN(U: number, V: number, Nu: number, Nv: number): MdGeVec;
|
|
3797
4015
|
NbUPoles(): number;
|
|
3798
4016
|
NbVPoles(): number;
|
|
@@ -3818,12 +4036,11 @@ export declare class MdGeBezierSurface extends MdGeObject {
|
|
|
3818
4036
|
/**
|
|
3819
4037
|
* 表示倒斜角
|
|
3820
4038
|
*/
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
Add(p1: MdGeEdge | number, p2?: MdGeEdge | number, p3?: MdGeEdge, p4?: MdGeFace): void;
|
|
4039
|
+
export declare class MdGeChamfer {
|
|
4040
|
+
constructor(S: MdGeShape);
|
|
4041
|
+
Add(E: MdGeEdge): void;
|
|
4042
|
+
Add(Dis: number, E: MdGeEdge): void;
|
|
4043
|
+
Add(Dis1: number, Dis2: number, E: MdGeEdge, F: MdGeFace): void;
|
|
3827
4044
|
SetDist(Dis: number, IC: number, F: MdGeFace): void;
|
|
3828
4045
|
GetDist(IC: number, Dis: number): void;
|
|
3829
4046
|
SetDists(Dis1: number, Dis2: number, IC: number, F: MdGeFace): void;
|
|
@@ -3831,7 +4048,6 @@ export declare class MdGeChamfer extends MdGeObject {
|
|
|
3831
4048
|
AddDA(Dis: number, Angle: number, E: MdGeEdge, F: MdGeFace): void;
|
|
3832
4049
|
SetDistAngle(Dis: number, Angle: number, IC: number, F: MdGeFace): void;
|
|
3833
4050
|
GetDistAngle(IC: number, Dis: number, Angle: number): void;
|
|
3834
|
-
SetMode(theMode: MdGe.MxCFDSChamfMode): void;
|
|
3835
4051
|
IsSymetric(IC: number): boolean;
|
|
3836
4052
|
IsTwoDistances(IC: number): boolean;
|
|
3837
4053
|
IsDistanceAngle(IC: number): boolean;
|
|
@@ -3856,11 +4072,9 @@ export declare class MdGeChamfer extends MdGeObject {
|
|
|
3856
4072
|
/**
|
|
3857
4073
|
* 表示一个圆
|
|
3858
4074
|
*/
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
export declare class MdGeCircle extends MdGeObject {
|
|
3863
|
-
constructor(p1?: MdGeCSYSR | object, p2?: number);
|
|
4075
|
+
export declare class MdGeCircle {
|
|
4076
|
+
constructor();
|
|
4077
|
+
constructor(theA2: MdGeCSYSR, theRadius: number);
|
|
3864
4078
|
SetAxis(theA1: MdGeAxis): void;
|
|
3865
4079
|
SetLocation(theP: MdGePoint): void;
|
|
3866
4080
|
SetPosition(theA2: MdGeCSYSR): void;
|
|
@@ -3893,23 +4107,24 @@ export declare class MdGeCircle extends MdGeObject {
|
|
|
3893
4107
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
3894
4108
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeCircle;
|
|
3895
4109
|
Shape(): MdGeShape;
|
|
3896
|
-
Edge(
|
|
4110
|
+
Edge(): MdGeEdge;
|
|
4111
|
+
Edge(p1: number, p2: number): MdGeEdge;
|
|
3897
4112
|
Wire(): MdGeWire;
|
|
3898
4113
|
}
|
|
3899
4114
|
/**
|
|
3900
4115
|
* 表示一个坐标系(左手或右手)
|
|
3901
4116
|
*/
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
constructor(p1?: MdGePoint | object, p2?: MdGeDir, p3?: MdGeDir);
|
|
4117
|
+
export declare class MdGeCSYS {
|
|
4118
|
+
constructor();
|
|
4119
|
+
constructor(origin: MdGePoint, z_aixs: MdGeDir, x_vec: MdGeDir);
|
|
4120
|
+
constructor(origin: MdGePoint, z_aixs: MdGeDir);
|
|
3907
4121
|
XReverse(): void;
|
|
3908
4122
|
YReverse(): void;
|
|
3909
4123
|
ZReverse(): void;
|
|
3910
4124
|
SetZAxis(z_axis: MdGeAxis): void;
|
|
3911
4125
|
SetZDirection(z_dir: MdGeDir): void;
|
|
3912
|
-
SetOrigin(
|
|
4126
|
+
SetOrigin(origin: MdGePoint): void;
|
|
4127
|
+
SetOrigin(theX: number, theY: number, theZ: number): void;
|
|
3913
4128
|
SetXDirection(x_dir: MdGeDir): void;
|
|
3914
4129
|
SetYDirection(y_dir: MdGeDir): void;
|
|
3915
4130
|
Angle(other: MdGeCSYS): number;
|
|
@@ -3942,11 +4157,9 @@ export declare class MdGeCSYS extends MdGeObject {
|
|
|
3942
4157
|
/**
|
|
3943
4158
|
* 表示一个圆锥
|
|
3944
4159
|
*/
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
export declare class MdGeCone extends MdGeObject {
|
|
3949
|
-
constructor(p1?: MdGeCSYS | object, p2?: number, p3?: number);
|
|
4160
|
+
export declare class MdGeCone {
|
|
4161
|
+
constructor();
|
|
4162
|
+
constructor(theA3: MdGeCSYS, theAng: number, theRadius: number);
|
|
3950
4163
|
SetAxis(theA1: MdGeAxis): void;
|
|
3951
4164
|
SetLocation(theLoc: MdGePoint): void;
|
|
3952
4165
|
SetPosition(theA3: MdGeCSYS): void;
|
|
@@ -3980,16 +4193,16 @@ export declare class MdGeCone extends MdGeObject {
|
|
|
3980
4193
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
3981
4194
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeCone;
|
|
3982
4195
|
Shape(H: number, Angle?: number): MdGeShape;
|
|
3983
|
-
Face(
|
|
4196
|
+
Face(): MdGeFace;
|
|
4197
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number): MdGeFace;
|
|
4198
|
+
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
3984
4199
|
}
|
|
3985
4200
|
/**
|
|
3986
4201
|
* 表示一个圆柱
|
|
3987
4202
|
*/
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
export declare class MdGeCylinder extends MdGeObject {
|
|
3992
|
-
constructor(p1?: MdGeCSYS | object, p2?: number);
|
|
4203
|
+
export declare class MdGeCylinder {
|
|
4204
|
+
constructor();
|
|
4205
|
+
constructor(theA3: MdGeCSYS, theRadius: number);
|
|
3993
4206
|
SetAxis(theA1: MdGeAxis): void;
|
|
3994
4207
|
SetLocation(theLoc: MdGePoint): void;
|
|
3995
4208
|
SetPosition(theA3: MdGeCSYS): void;
|
|
@@ -4020,16 +4233,18 @@ export declare class MdGeCylinder extends MdGeObject {
|
|
|
4020
4233
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4021
4234
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeCylinder;
|
|
4022
4235
|
Shape(H: number, Angle?: number): MdGeShape;
|
|
4023
|
-
Face(
|
|
4236
|
+
Face(): MdGeFace;
|
|
4237
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number): MdGeFace;
|
|
4238
|
+
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
4024
4239
|
}
|
|
4025
4240
|
/**
|
|
4026
4241
|
* 表示一个平面
|
|
4027
4242
|
*/
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
constructor(
|
|
4243
|
+
export declare class MdGePlane {
|
|
4244
|
+
constructor();
|
|
4245
|
+
constructor(theA3: MdGeCSYS);
|
|
4246
|
+
constructor(theP: MdGePoint, theV: MdGeDir);
|
|
4247
|
+
constructor(theA: number, theB: number, theC: number, theD: number);
|
|
4033
4248
|
SetAxis(theA1: MdGeAxis): void;
|
|
4034
4249
|
SetLocation(theLoc: MdGePoint): void;
|
|
4035
4250
|
SetPosition(theA3: MdGeCSYS): void;
|
|
@@ -4062,16 +4277,16 @@ export declare class MdGePlane extends MdGeObject {
|
|
|
4062
4277
|
TranslatedByVec(theV: MdGeVec): MdGePlane;
|
|
4063
4278
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4064
4279
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGePlane;
|
|
4065
|
-
Face(
|
|
4280
|
+
Face(): MdGeFace;
|
|
4281
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number): MdGeFace;
|
|
4282
|
+
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
4066
4283
|
}
|
|
4067
4284
|
/**
|
|
4068
4285
|
* 表示直径标注
|
|
4069
4286
|
*/
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
export declare class MdGeDiameterDim extends MdGeObject {
|
|
4074
|
-
constructor(p1?: MdGeCircle | object, p2?: MdGePlane);
|
|
4287
|
+
export declare class MdGeDiameterDim {
|
|
4288
|
+
constructor(theCircle: MdGeCircle);
|
|
4289
|
+
constructor(theCircle: MdGeCircle, thePlane: MdGePlane);
|
|
4075
4290
|
Circle(): MdGeCircle;
|
|
4076
4291
|
AnchorPoint(): MdGePoint;
|
|
4077
4292
|
Shape(): MdGeShape;
|
|
@@ -4083,11 +4298,9 @@ export declare class MdGeDiameterDim extends MdGeObject {
|
|
|
4083
4298
|
/**
|
|
4084
4299
|
* 表示一个椭圆
|
|
4085
4300
|
*/
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
export declare class MdGeEllipse extends MdGeObject {
|
|
4090
|
-
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
4301
|
+
export declare class MdGeEllipse {
|
|
4302
|
+
constructor();
|
|
4303
|
+
constructor(theA2: MdGeCSYSR, theMajorRadius: number, theMinorRadius: number);
|
|
4091
4304
|
SetAxis(theA1: MdGeAxis): void;
|
|
4092
4305
|
SetLocation(theP: MdGePoint): void;
|
|
4093
4306
|
SetMajorRadius(theMajorRadius: number): void;
|
|
@@ -4120,99 +4333,100 @@ export declare class MdGeEllipse extends MdGeObject {
|
|
|
4120
4333
|
Scaled(theP: MdGePoint, theS: number): MdGeEllipse;
|
|
4121
4334
|
Transform(theT: MdGeTrsf): void;
|
|
4122
4335
|
Transformed(theT: MdGeTrsf): MdGeEllipse;
|
|
4336
|
+
Translate(theV: MdGeVec): void;
|
|
4337
|
+
Translated(theV: MdGeVec): MdGeEllipse;
|
|
4338
|
+
Translate(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4339
|
+
Translated(theP1: MdGePoint, theP2: MdGePoint): MdGeEllipse;
|
|
4123
4340
|
Shape(): MdGeShape;
|
|
4124
4341
|
Wire(): MdGeWire;
|
|
4125
|
-
Edge(
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4157
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
}
|
|
4342
|
+
Edge(): MdGeEdge;
|
|
4343
|
+
Edge(p1: number, p2: number): MdGeEdge;
|
|
4344
|
+
}
|
|
4345
|
+
export declare enum MxShapeEnum {
|
|
4346
|
+
Enum_COMPOUND,
|
|
4347
|
+
Enum_COMPSOLID,
|
|
4348
|
+
Enum_SOLID,
|
|
4349
|
+
Enum_SHELL,
|
|
4350
|
+
Enum_FACE,
|
|
4351
|
+
Enum_WIRE,
|
|
4352
|
+
Enum_EDGE,
|
|
4353
|
+
Enum_VERTEX,
|
|
4354
|
+
Enum_SHAPE
|
|
4355
|
+
}
|
|
4356
|
+
export declare enum MxHorizontalTextAlignment {
|
|
4357
|
+
HTA_LEFT,
|
|
4358
|
+
HTA_CENTER,
|
|
4359
|
+
HTA_RIGHT
|
|
4360
|
+
}
|
|
4361
|
+
export declare enum MxVerticalTextAlignment {
|
|
4362
|
+
CVTA_BOTTOM,
|
|
4363
|
+
CVTA_CENTER,
|
|
4364
|
+
CVTA_TOP,
|
|
4365
|
+
CVTA_TOPFIRSTLINE
|
|
4366
|
+
}
|
|
4367
|
+
export declare enum MxFontAspect {
|
|
4368
|
+
FA_UNDEFINED = -1,
|
|
4369
|
+
FA_Regular = 0,
|
|
4370
|
+
FA_Bold,
|
|
4371
|
+
FA_Italic,
|
|
4372
|
+
FA_BoldItalic
|
|
4373
|
+
}
|
|
4374
|
+
export declare enum MxTypeOfDisplayText {
|
|
4375
|
+
TODT_NORMAL,
|
|
4376
|
+
TODT_SUBTITLE,
|
|
4377
|
+
TODT_DEKALE,
|
|
4378
|
+
TODT_BLEND,
|
|
4379
|
+
TODT_DIMENSION,
|
|
4380
|
+
TODT_SHADOW
|
|
4381
|
+
}
|
|
4382
|
+
export declare enum MxCF3dFilletShapeEnum {
|
|
4383
|
+
Enum_Rational,
|
|
4384
|
+
Enum_QuasiAngular,
|
|
4385
|
+
Enum_Polynomial
|
|
4386
|
+
}
|
|
4387
|
+
export declare enum MxCFDSChamfMode {
|
|
4388
|
+
Enum_ClassicChamfer,
|
|
4389
|
+
Enum_ConstThroatChamfer,
|
|
4390
|
+
Enum_ConstThroatWithPenetrationChamfer
|
|
4391
|
+
}
|
|
4392
|
+
export declare enum MxGFTrihedron {
|
|
4393
|
+
GF_IsCorrectedFrenet,
|
|
4394
|
+
GF_IsFixed,
|
|
4395
|
+
GF_IsFrenet,
|
|
4396
|
+
GF_IsConstantNormal,
|
|
4397
|
+
GF_IsDarboux,
|
|
4398
|
+
GF_IsGuideAC,
|
|
4399
|
+
GF_IsGuidePlan,
|
|
4400
|
+
GF_IsGuideACWithContact,
|
|
4401
|
+
GF_IsGuidePlanWithContact,
|
|
4402
|
+
GF_IsDiscreteTrihedron
|
|
4403
|
+
}
|
|
4404
|
+
export declare enum MxGAShapeEnum {
|
|
4405
|
+
GA_C0,
|
|
4406
|
+
GA_G1,
|
|
4407
|
+
GA_C1,
|
|
4408
|
+
GA_G2,
|
|
4409
|
+
GA_C2,
|
|
4410
|
+
GA_C3,
|
|
4411
|
+
GA_CN
|
|
4412
|
+
}
|
|
4413
|
+
export declare enum MxOffsetModeEnum {
|
|
4414
|
+
Offset_Skin,
|
|
4415
|
+
Offset_Pipe,
|
|
4416
|
+
Offset_RectoVerso
|
|
4417
|
+
}
|
|
4418
|
+
export declare enum MxGAJoinTypeEnum {
|
|
4419
|
+
GA_Arc,
|
|
4420
|
+
GA_Tangent,
|
|
4421
|
+
GA_Intersection
|
|
4206
4422
|
}
|
|
4207
4423
|
/**
|
|
4208
4424
|
* 表示拓扑元素遍历
|
|
4209
4425
|
*/
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
constructor(p1?: MdGeShape | object, p2?: MdGe.MxShapeEnum, p3?: MdGe.MxShapeEnum);
|
|
4215
|
-
Init(S: MdGeShape, ToFind: MdGe.MxShapeEnum, ToAvoid?: MdGe.MxShapeEnum): void;
|
|
4426
|
+
export declare class MdGeExplorer {
|
|
4427
|
+
constructor();
|
|
4428
|
+
constructor(S: MdGeShape, ToFind: MxShapeEnum, ToAvoid?: MxShapeEnum);
|
|
4429
|
+
Init(S: MdGeShape, ToFind: MxShapeEnum, ToAvoid?: MxShapeEnum): void;
|
|
4216
4430
|
More(): boolean;
|
|
4217
4431
|
Next(): void;
|
|
4218
4432
|
Value(): MdGeShape;
|
|
@@ -4225,21 +4439,23 @@ export declare class MdGeExplorer extends MdGeObject {
|
|
|
4225
4439
|
/**
|
|
4226
4440
|
* 表示倒圆角
|
|
4227
4441
|
*/
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
*/
|
|
4231
|
-
export declare class MdGeFillet extends MdGeObject {
|
|
4232
|
-
constructor(p1?: MdGeShape | object, p2?: MdGe.MxCF3dFilletShapeEnum);
|
|
4442
|
+
export declare class MdGeFillet {
|
|
4443
|
+
constructor(S: MdGeShape, FShape: MxCF3dFilletShapeEnum);
|
|
4233
4444
|
SetParams(Tang: number, Tesp: number, T2d: number, TApp3d: number, TolApp2d: number, Fleche: number): void;
|
|
4234
|
-
Add(
|
|
4235
|
-
|
|
4445
|
+
Add(E: MdGeEdge): void;
|
|
4446
|
+
Add(Radius: number, E: MdGeEdge): void;
|
|
4447
|
+
Add(R1: number, R2: number, E: MdGeEdge): void;
|
|
4448
|
+
SetRadius(Radius: number, IC: number, IinC: number): void;
|
|
4449
|
+
SetRadius(R1: number, R2: number, IC: number, IinC: number): void;
|
|
4236
4450
|
ResetContour(IC: number): void;
|
|
4237
|
-
IsConstant(IC: number
|
|
4238
|
-
Radius(IC: number
|
|
4451
|
+
IsConstant(IC: number): boolean;
|
|
4452
|
+
Radius(IC: number): number;
|
|
4453
|
+
IsConstant(IC: number, E: MdGeEdge): boolean;
|
|
4454
|
+
Radius(IC: number, E: MdGeEdge): number;
|
|
4239
4455
|
SetRadiusForEdge(Radius: number, IC: number, E: MdGeEdge): void;
|
|
4240
4456
|
SetRadiusForVertex(Radius: number, IC: number, V: MdGeVertex): void;
|
|
4241
|
-
SetFilletShape(FShape:
|
|
4242
|
-
GetFilletShape():
|
|
4457
|
+
SetFilletShape(FShape: MxCF3dFilletShapeEnum): void;
|
|
4458
|
+
GetFilletShape(): MxCF3dFilletShapeEnum;
|
|
4243
4459
|
NbContours(): number;
|
|
4244
4460
|
Contour(E: MdGeEdge): number;
|
|
4245
4461
|
NbEdges(I: number): number;
|
|
@@ -4268,11 +4484,9 @@ export declare class MdGeFillet extends MdGeObject {
|
|
|
4268
4484
|
/**
|
|
4269
4485
|
* 表示双曲线
|
|
4270
4486
|
*/
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
export declare class MdGeHypr extends MdGeObject {
|
|
4275
|
-
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
4487
|
+
export declare class MdGeHypr {
|
|
4488
|
+
constructor();
|
|
4489
|
+
constructor(theA2: MdGeCSYSR, theMajorRadius: number, theMinorRadius: number);
|
|
4276
4490
|
SetAxis(theA1: MdGeAxis): void;
|
|
4277
4491
|
SetLocation(theP: MdGePoint): void;
|
|
4278
4492
|
SetMajorRadius(theMajorRadius: number): void;
|
|
@@ -4315,17 +4529,20 @@ export declare class MdGeHypr extends MdGeObject {
|
|
|
4315
4529
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeHypr;
|
|
4316
4530
|
Shape(): MdGeShape;
|
|
4317
4531
|
Wire(): MdGeWire;
|
|
4318
|
-
Edge(
|
|
4532
|
+
Edge(): MdGeEdge;
|
|
4533
|
+
Edge(p1: number, p2: number): MdGeEdge;
|
|
4319
4534
|
}
|
|
4320
4535
|
/**
|
|
4321
4536
|
* 表示一个Box
|
|
4322
4537
|
*/
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
constructor(
|
|
4328
|
-
Init(
|
|
4538
|
+
export declare class MdGeBox {
|
|
4539
|
+
constructor();
|
|
4540
|
+
constructor(dx: number, dy: number, dz: number);
|
|
4541
|
+
constructor(P1: MdGePoint, P2: MdGePoint);
|
|
4542
|
+
constructor(Axes: MdGeCSYSR, dx: number, dy: number, dz: number);
|
|
4543
|
+
Init(theDX: number, theDY: number, theDZ: number): void;
|
|
4544
|
+
Init(thePnt1: MdGePoint, thePnt2: MdGePoint): void;
|
|
4545
|
+
Init(theAxes: MdGeCSYSR, theDX: number, theDY: number, theDZ: number): void;
|
|
4329
4546
|
Shape(): MdGeShape;
|
|
4330
4547
|
Shell(): MdGeShell;
|
|
4331
4548
|
Solid(): MdGeSolid;
|
|
@@ -4339,32 +4556,34 @@ export declare class MdGeBox extends MdGeObject {
|
|
|
4339
4556
|
/**
|
|
4340
4557
|
* 表示B样条曲线
|
|
4341
4558
|
*/
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
export declare class MdGeBSplineCurve extends MdGeObject {
|
|
4346
|
-
constructor(p1?: MdGeArray1OfPnt | object, p2?: MdGeArray1OfReal, p3?: MdGeArray1OfInteger, p4?: number, p5?: boolean);
|
|
4559
|
+
export declare class MdGeBSplineCurve {
|
|
4560
|
+
constructor();
|
|
4561
|
+
constructor(Poles: MdGeArray1OfPnt, Knots: MdGeArray1OfReal, Multiplicities: MdGeArray1OfInteger, Degree: number, Periodic?: boolean);
|
|
4347
4562
|
IncreaseDegree(Degree: number): void;
|
|
4348
|
-
IncreaseMultiplicity(
|
|
4563
|
+
IncreaseMultiplicity(Index: number, M: number): void;
|
|
4564
|
+
IncreaseMultiplicity(I1: number, I2: number, M: number): void;
|
|
4349
4565
|
IncrementMultiplicity(I1: number, I2: number, M: number): void;
|
|
4350
4566
|
InsertKnot(U: number, M?: number, ParametricTolerance?: number, Add?: boolean): void;
|
|
4351
4567
|
InsertKnots(Knots: MdGeArray1OfReal, Mults: MdGeArray1OfInteger, ParametricTolerance?: number, Add?: boolean): void;
|
|
4352
4568
|
RemoveKnot(Index: number, M: number, Tolerance: number): boolean;
|
|
4353
4569
|
Reverse(): void;
|
|
4354
4570
|
ReversedParameter(U: number): number;
|
|
4355
|
-
SetKnot(Index: number, K: number
|
|
4571
|
+
SetKnot(Index: number, K: number): void;
|
|
4356
4572
|
SetKnots(K: MdGeArray1OfReal): void;
|
|
4573
|
+
SetKnot(Index: number, K: number, M: number): void;
|
|
4357
4574
|
SetPeriodic(): void;
|
|
4358
|
-
SetOrigin(
|
|
4575
|
+
SetOrigin(Index: number): void;
|
|
4576
|
+
SetOrigin(U: number, Tol: number): void;
|
|
4359
4577
|
SetNotPeriodic(): void;
|
|
4360
|
-
SetPole(Index: number, P: MdGePoint
|
|
4578
|
+
SetPole(Index: number, P: MdGePoint): void;
|
|
4579
|
+
SetPole(Index: number, P: MdGePoint, Weight: number): void;
|
|
4361
4580
|
SetWeight(Index: number, Weight: number): void;
|
|
4362
4581
|
IsCN(N: number): boolean;
|
|
4363
4582
|
IsG1(theTf: number, theTl: number, theAngTol: number): boolean;
|
|
4364
4583
|
IsClosed(): boolean;
|
|
4365
4584
|
IsPeriodic(): boolean;
|
|
4366
4585
|
IsRational(): boolean;
|
|
4367
|
-
Continuity():
|
|
4586
|
+
Continuity(): MxGAShapeEnum;
|
|
4368
4587
|
Degree(): number;
|
|
4369
4588
|
DN(U: number, N: number): MdGeVec;
|
|
4370
4589
|
LocalValue(U: number, FromK1: number, ToK2: number): MdGePoint;
|
|
@@ -4394,16 +4613,15 @@ export declare class MdGeBSplineCurve extends MdGeObject {
|
|
|
4394
4613
|
/**
|
|
4395
4614
|
* 表示B样条曲面
|
|
4396
4615
|
*/
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
export declare class MdGeBSplineSurface extends MdGeObject {
|
|
4401
|
-
constructor(p1?: MdGeArray2OfPnt | object, p2?: MdGeArray1OfReal, p3?: MdGeArray1OfReal, p4?: MdGeArray1OfInteger, p5?: MdGeArray1OfInteger, p6?: number, p7?: number, p8?: boolean, p9?: boolean);
|
|
4616
|
+
export declare class MdGeBSplineSurface {
|
|
4617
|
+
constructor();
|
|
4618
|
+
constructor(Poles: MdGeArray2OfPnt, UKnots: MdGeArray1OfReal, VKnots: MdGeArray1OfReal, UMults: MdGeArray1OfInteger, VMults: MdGeArray1OfInteger, UDegree: number, VDegree: number, UPeriodic?: boolean, VPeriodic?: boolean);
|
|
4402
4619
|
ExchangeUV(): void;
|
|
4403
4620
|
SetUPeriodic(): void;
|
|
4404
4621
|
SetVPeriodic(): void;
|
|
4405
4622
|
SetUOrigin(Index: number): void;
|
|
4406
4623
|
SetVOrigin(Index: number): void;
|
|
4624
|
+
SetUNotPeriodic(): void;
|
|
4407
4625
|
SetVNotPeriodic(): void;
|
|
4408
4626
|
UReverse(): void;
|
|
4409
4627
|
VReverse(): void;
|
|
@@ -4414,19 +4632,26 @@ export declare class MdGeBSplineSurface extends MdGeObject {
|
|
|
4414
4632
|
InsertVKnots(Knots: MdGeArray1OfReal, Mults: MdGeArray1OfInteger, ParametricTolerance?: number, Add?: boolean): void;
|
|
4415
4633
|
RemoveUKnot(Index: number, M: number, Tolerance: number): boolean;
|
|
4416
4634
|
RemoveVKnot(Index: number, M: number, Tolerance: number): boolean;
|
|
4417
|
-
IncreaseUMultiplicity(
|
|
4418
|
-
|
|
4635
|
+
IncreaseUMultiplicity(UIndex: number, M: number): void;
|
|
4636
|
+
IncreaseUMultiplicity(FromI1: number, ToI2: number, M: number): void;
|
|
4419
4637
|
IncrementUMultiplicity(FromI1: number, ToI2: number, Step: number): void;
|
|
4638
|
+
IncreaseVMultiplicity(VIndex: number, M: number): void;
|
|
4639
|
+
IncreaseVMultiplicity(FromI1: number, ToI2: number, M: number): void;
|
|
4420
4640
|
IncrementVMultiplicity(FromI1: number, ToI2: number, Step: number): void;
|
|
4421
4641
|
InsertUKnot(U: number, M: number, ParametricTolerance: number, Add?: boolean): void;
|
|
4422
4642
|
InsertVKnot(V: number, M: number, ParametricTolerance: number, Add?: boolean): void;
|
|
4423
|
-
SetUKnot(UIndex: number, K: number
|
|
4424
|
-
SetVKnot(VIndex: number, K: number, M?: number): void;
|
|
4643
|
+
SetUKnot(UIndex: number, K: number): void;
|
|
4425
4644
|
SetUKnots(UK: MdGeArray1OfReal): void;
|
|
4645
|
+
SetUKnot(UIndex: number, K: number, M: number): void;
|
|
4646
|
+
SetVKnot(VIndex: number, K: number): void;
|
|
4426
4647
|
SetVKnots(VK: MdGeArray1OfReal): void;
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4648
|
+
SetVKnot(VIndex: number, K: number, M: number): void;
|
|
4649
|
+
SetPole(UIndex: number, VIndex: number, P: MdGePoint): void;
|
|
4650
|
+
SetPole(UIndex: number, VIndex: number, P: MdGePoint, Weight: number): void;
|
|
4651
|
+
SetPoleCol(VIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
4652
|
+
SetPoleCol(VIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
4653
|
+
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
4654
|
+
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
4430
4655
|
SetWeight(UIndex: number, VIndex: number, Weight: number): void;
|
|
4431
4656
|
SetWeightCol(VIndex: number, CPoleWeights: MdGeArray1OfReal): void;
|
|
4432
4657
|
SetWeightRow(UIndex: number, CPoleWeights: MdGeArray1OfReal): void;
|
|
@@ -4438,7 +4663,7 @@ export declare class MdGeBSplineSurface extends MdGeObject {
|
|
|
4438
4663
|
IsURational(): boolean;
|
|
4439
4664
|
IsVPeriodic(): boolean;
|
|
4440
4665
|
IsVRational(): boolean;
|
|
4441
|
-
Continuity():
|
|
4666
|
+
Continuity(): MxGAShapeEnum;
|
|
4442
4667
|
FirstUKnotIndex(): number;
|
|
4443
4668
|
FirstVKnotIndex(): number;
|
|
4444
4669
|
LastUKnotIndex(): number;
|
|
@@ -4474,11 +4699,9 @@ export declare class MdGeBSplineSurface extends MdGeObject {
|
|
|
4474
4699
|
/**
|
|
4475
4700
|
* 表示插值B样条曲线
|
|
4476
4701
|
*/
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
export declare class MdGeInterpolateBSpl extends MdGeObject {
|
|
4481
|
-
constructor(p1?: MdGeArray1OfPnt | object, p2?: boolean | MdGeArray1OfReal, p3?: number | boolean, p4?: number);
|
|
4702
|
+
export declare class MdGeInterpolateBSpl {
|
|
4703
|
+
constructor(Points: MdGeArray1OfPnt, PeriodicFlag: boolean, Tolerance: number);
|
|
4704
|
+
constructor(Points: MdGeArray1OfPnt, Parameters: MdGeArray1OfReal, PeriodicFlag: boolean, Tolerance: number);
|
|
4482
4705
|
Load(InitialTangent: MdGeVec, FinalTangent: MdGeVec, Scale?: boolean): void;
|
|
4483
4706
|
Perform(): void;
|
|
4484
4707
|
Curve(): MdGeBSplineCurve;
|
|
@@ -4487,11 +4710,10 @@ export declare class MdGeInterpolateBSpl extends MdGeObject {
|
|
|
4487
4710
|
/**
|
|
4488
4711
|
* 表示长度标注
|
|
4489
4712
|
*/
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
constructor(p1?: MdGeEdge | MdGePoint | object, p2?: MdGePlane | MdGePoint, p3?: MdGePlane);
|
|
4713
|
+
export declare class MdGeLengthDim {
|
|
4714
|
+
constructor();
|
|
4715
|
+
constructor(theEdge: MdGeEdge, thePlane: MdGePlane);
|
|
4716
|
+
constructor(theFirstPoint: MdGePoint, theSecondPoint: MdGePoint, thePlane: MdGePlane);
|
|
4495
4717
|
FirstPoint(): MdGePoint;
|
|
4496
4718
|
SecondPoint(): MdGePoint;
|
|
4497
4719
|
FirstShape(): MdGeShape;
|
|
@@ -4506,11 +4728,9 @@ export declare class MdGeLengthDim extends MdGeObject {
|
|
|
4506
4728
|
/**
|
|
4507
4729
|
* 表示一条直线
|
|
4508
4730
|
*/
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
export declare class MdGeLine extends MdGeObject {
|
|
4513
|
-
constructor(p1?: MdGePoint | object, p2?: MdGeDir);
|
|
4731
|
+
export declare class MdGeLine {
|
|
4732
|
+
constructor();
|
|
4733
|
+
constructor(theP: MdGePoint, theV: MdGeDir);
|
|
4514
4734
|
Reverse(): void;
|
|
4515
4735
|
Reversed(): MdGeLine;
|
|
4516
4736
|
SetDirection(theV: MdGeDir): void;
|
|
@@ -4544,16 +4764,14 @@ export declare class MdGeLine extends MdGeObject {
|
|
|
4544
4764
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeLine;
|
|
4545
4765
|
Shape(): MdGeShape;
|
|
4546
4766
|
Wire(): MdGeWire;
|
|
4547
|
-
Edge(
|
|
4767
|
+
Edge(): MdGeEdge;
|
|
4768
|
+
Edge(p1: number, p2: number): MdGeEdge;
|
|
4548
4769
|
}
|
|
4549
4770
|
/**
|
|
4550
4771
|
* 表示形状链表迭代器
|
|
4551
4772
|
*/
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
*/
|
|
4555
|
-
export declare class MdGeListIteratorOfListOfShape extends MdGeObject {
|
|
4556
|
-
constructor(p?: object);
|
|
4773
|
+
export declare class MdGeListIteratorOfListOfShape {
|
|
4774
|
+
constructor();
|
|
4557
4775
|
More(): boolean;
|
|
4558
4776
|
Next(): void;
|
|
4559
4777
|
Value(): MdGeShape;
|
|
@@ -4562,17 +4780,15 @@ export declare class MdGeListIteratorOfListOfShape extends MdGeObject {
|
|
|
4562
4780
|
/**
|
|
4563
4781
|
* 表示形状链表
|
|
4564
4782
|
*/
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
*/
|
|
4568
|
-
export declare class MdGeListOfShape extends MdGeObject {
|
|
4569
|
-
constructor(p?: object);
|
|
4783
|
+
export declare class MdGeListOfShape {
|
|
4784
|
+
constructor();
|
|
4570
4785
|
begin(): MdGeListIteratorOfListOfShape;
|
|
4571
4786
|
end(): MdGeListIteratorOfListOfShape;
|
|
4572
4787
|
Size(): number;
|
|
4573
4788
|
First(): MdGeShape;
|
|
4574
4789
|
Last(): MdGeShape;
|
|
4575
|
-
AppendShape(theShape: MdGeShape
|
|
4790
|
+
AppendShape(theShape: MdGeShape): void;
|
|
4791
|
+
AppendShape(theShape: MdGeShape, theIter: MdGeListIteratorOfListOfShape): void;
|
|
4576
4792
|
AppendList(theOther: MdGeListOfShape): void;
|
|
4577
4793
|
PrependShape(theShape: MdGeShape): void;
|
|
4578
4794
|
PrependList(theOther: MdGeListOfShape): void;
|
|
@@ -4586,19 +4802,16 @@ export declare class MdGeListOfShape extends MdGeObject {
|
|
|
4586
4802
|
/**
|
|
4587
4803
|
* 表示放样
|
|
4588
4804
|
*/
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
*/
|
|
4592
|
-
export declare class MdGeLoft extends MdGeObject {
|
|
4593
|
-
constructor(p1?: boolean | object, p2?: boolean, p3?: number);
|
|
4805
|
+
export declare class MdGeLoft {
|
|
4806
|
+
constructor(isSolid?: boolean, ruled?: boolean, pres3d?: number);
|
|
4594
4807
|
Init(isSolid?: boolean, ruled?: boolean, pres3d?: number): void;
|
|
4595
4808
|
AddWire(wire: MdGeWire): void;
|
|
4596
4809
|
AddVertex(aVertex: MdGeVertex): void;
|
|
4597
4810
|
CheckCompatibility(check?: boolean): void;
|
|
4598
4811
|
SetSmoothing(UseSmoothing: boolean): void;
|
|
4599
|
-
SetContinuity(C:
|
|
4812
|
+
SetContinuity(C: MxGAShapeEnum): void;
|
|
4600
4813
|
SetMaxDegree(MaxDeg: number): void;
|
|
4601
|
-
Continuity():
|
|
4814
|
+
Continuity(): MxGAShapeEnum;
|
|
4602
4815
|
MaxDegree(): number;
|
|
4603
4816
|
UseSmoothing(): boolean;
|
|
4604
4817
|
FirstShape(): MdGeShape;
|
|
@@ -4611,23 +4824,18 @@ export declare class MdGeLoft extends MdGeObject {
|
|
|
4611
4824
|
/**
|
|
4612
4825
|
* 表示薄实体
|
|
4613
4826
|
*/
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
*/
|
|
4617
|
-
export declare class MdGeMakeThickSolid extends MdGeObject {
|
|
4618
|
-
constructor(p?: object);
|
|
4827
|
+
export declare class MdGeMakeThickSolid {
|
|
4828
|
+
constructor();
|
|
4619
4829
|
MakeThickSolidBySimple(theS: MdGeShape, theOffsetValue: number): void;
|
|
4620
|
-
MakeThickSolidByJoin(S: MdGeShape, ClosingFaces: MdGeListOfShape, Offset: number, Tol: number, Mode?:
|
|
4830
|
+
MakeThickSolidByJoin(S: MdGeShape, ClosingFaces: MdGeListOfShape, Offset: number, Tol: number, Mode?: MxOffsetModeEnum, Intersection?: boolean, SelfInter?: boolean, Join?: MxGAJoinTypeEnum, RemoveIntEdges?: boolean): void;
|
|
4621
4831
|
Shape(): MdGeShape;
|
|
4622
4832
|
}
|
|
4623
4833
|
/**
|
|
4624
4834
|
* 表示抛物线
|
|
4625
4835
|
*/
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
export declare class MdGeParab extends MdGeObject {
|
|
4630
|
-
constructor(p1?: MdGeCSYSR | object, p2?: number);
|
|
4836
|
+
export declare class MdGeParab {
|
|
4837
|
+
constructor();
|
|
4838
|
+
constructor(theA2: MdGeCSYSR, theFocal: number);
|
|
4631
4839
|
SetAxis(theA1: MdGeAxis): void;
|
|
4632
4840
|
SetFocal(theFocal: number): void;
|
|
4633
4841
|
SetLocation(theP: MdGePoint): void;
|
|
@@ -4659,16 +4867,15 @@ export declare class MdGeParab extends MdGeObject {
|
|
|
4659
4867
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeParab;
|
|
4660
4868
|
Shape(): MdGeShape;
|
|
4661
4869
|
Wire(): MdGeWire;
|
|
4662
|
-
Edge(
|
|
4870
|
+
Edge(): MdGeEdge;
|
|
4871
|
+
Edge(p1: number, p2: number): MdGeEdge;
|
|
4663
4872
|
}
|
|
4664
4873
|
/**
|
|
4665
4874
|
* 表示管道
|
|
4666
4875
|
*/
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
export declare class MdGePipe extends MdGeObject {
|
|
4671
|
-
constructor(p1?: MdGeWire | object, p2?: MdGeShape, p3?: MdGe.MxGFTrihedron, p4?: boolean);
|
|
4876
|
+
export declare class MdGePipe {
|
|
4877
|
+
constructor(Spine: MdGeWire, Profile: MdGeShape);
|
|
4878
|
+
constructor(Spine: MdGeWire, Profile: MdGeShape, aMode: MxGFTrihedron, ForceApproxC1?: boolean);
|
|
4672
4879
|
FirstShape(): MdGeShape;
|
|
4673
4880
|
LastShape(): MdGeShape;
|
|
4674
4881
|
Generated(SSpine: MdGeShape, SProfile: MdGeShape): MdGeShape;
|
|
@@ -4678,53 +4885,48 @@ export declare class MdGePipe extends MdGeObject {
|
|
|
4678
4885
|
/**
|
|
4679
4886
|
* 表示拟合点B样条曲线
|
|
4680
4887
|
*/
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
constructor(p1?: MdGeArray1OfPnt | object, p2?: number, p3?: number, p4?: MdGe.MxGAShapeEnum, p5?: number);
|
|
4686
|
-
Init(Points: MdGeArray1OfPnt, Parameters: MdGeArray1OfReal, DegMin?: number, DegMax?: number, Continuity?: MdGe.MxGAShapeEnum, Tol3D?: number): void;
|
|
4888
|
+
export declare class MdGePointsToBSpl {
|
|
4889
|
+
constructor();
|
|
4890
|
+
constructor(Points: MdGeArray1OfPnt, DegMin?: number, DegMax?: number, Continuity?: MxGAShapeEnum, Tol3D?: number);
|
|
4891
|
+
Init(Points: MdGeArray1OfPnt, Parameters: MdGeArray1OfReal, DegMin?: number, DegMax?: number, Continuity?: MxGAShapeEnum, Tol3D?: number): void;
|
|
4687
4892
|
Curve(): MdGeBSplineCurve;
|
|
4688
4893
|
IsDone(): boolean;
|
|
4689
4894
|
}
|
|
4690
4895
|
/**
|
|
4691
4896
|
* 表示拟合B样条曲面
|
|
4692
4897
|
*/
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
Interpolate(p1: MdGeArray2OfPnt | MdGeArray2OfReal, p2?: boolean | number, p3?: number, p4?: number, p5?: number): void;
|
|
4898
|
+
export declare class MdGePointsToBSplSurface {
|
|
4899
|
+
constructor();
|
|
4900
|
+
constructor(Points: MdGeArray2OfPnt, DegMin?: number, DegMax?: number, Continuity?: MxGAShapeEnum, Tol3D?: number);
|
|
4901
|
+
Init(Points: MdGeArray2OfPnt, DegMin?: number, DegMax?: number, Continuity?: MxGAShapeEnum, Tol3D?: number): void;
|
|
4902
|
+
Interpolate(Points: MdGeArray2OfPnt, thePeriodic?: boolean): void;
|
|
4903
|
+
Interpolate(ZPoints: MdGeArray2OfReal, X0: number, dX: number, Y0: number, dY: number): void;
|
|
4700
4904
|
IsDone(): boolean;
|
|
4701
4905
|
Surface(): MdGeBSplineSurface;
|
|
4702
4906
|
}
|
|
4703
4907
|
/**
|
|
4704
4908
|
* 表示拉伸体
|
|
4705
4909
|
*/
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
constructor(p1?: MdGeShape | object, p2?: MdGeVec, p3?: boolean, p4?: boolean);
|
|
4711
|
-
FirstShape(theShape?: MdGeShape): MdGeShape;
|
|
4712
|
-
LastShape(theShape?: MdGeShape): MdGeShape;
|
|
4910
|
+
export declare class MdGePrism {
|
|
4911
|
+
constructor(S: MdGeShape, V: MdGeVec, Copy?: boolean, Canonize?: boolean);
|
|
4912
|
+
FirstShape(): MdGeShape;
|
|
4913
|
+
LastShape(): MdGeShape;
|
|
4713
4914
|
IsDeleted(S: MdGeShape): boolean;
|
|
4915
|
+
FirstShape(theShape: MdGeShape): MdGeShape;
|
|
4916
|
+
LastShape(theShape: MdGeShape): MdGeShape;
|
|
4714
4917
|
Shape(): MdGeShape;
|
|
4715
4918
|
}
|
|
4716
4919
|
/**
|
|
4717
4920
|
* 表示半径标注
|
|
4718
4921
|
*/
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
export declare class MdGeRadiusDim extends MdGeObject {
|
|
4723
|
-
constructor(p1?: MdGeCircle | object, p2?: MdGePoint);
|
|
4922
|
+
export declare class MdGeRadiusDim {
|
|
4923
|
+
constructor(theCircle: MdGeCircle);
|
|
4924
|
+
constructor(theCircle: MdGeCircle, theAnchorPoint: MdGePoint);
|
|
4724
4925
|
Circle(): MdGeCircle;
|
|
4725
4926
|
AnchorPoint(): MdGePoint;
|
|
4726
4927
|
Shape(): MdGeShape;
|
|
4727
|
-
SetMeasuredGeometry(theCircle: MdGeCircle
|
|
4928
|
+
SetMeasuredGeometry(theCircle: MdGeCircle): void;
|
|
4929
|
+
SetMeasuredGeometry(theCircle: MdGeCircle, theAnchorPoint: MdGePoint, theHasAnchor?: boolean): void;
|
|
4728
4930
|
SetTextPosition(theTextPos: MdGePoint): void;
|
|
4729
4931
|
GetTextPosition(): MdGePoint;
|
|
4730
4932
|
Display(): void;
|
|
@@ -4732,11 +4934,8 @@ export declare class MdGeRadiusDim extends MdGeObject {
|
|
|
4732
4934
|
/**
|
|
4733
4935
|
* 表示一个矩形
|
|
4734
4936
|
*/
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
*/
|
|
4738
|
-
export declare class MdGeRect extends MdGeObject {
|
|
4739
|
-
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
4937
|
+
export declare class MdGeRect {
|
|
4938
|
+
constructor(thePosition: MdGeCSYSR, theX: number, theY: number);
|
|
4740
4939
|
Position(): MdGeCSYSR;
|
|
4741
4940
|
SetPosition(thePosition: MdGeCSYSR): void;
|
|
4742
4941
|
X(): number;
|
|
@@ -4755,25 +4954,23 @@ export declare class MdGeRect extends MdGeObject {
|
|
|
4755
4954
|
/**
|
|
4756
4955
|
* 表示旋转体
|
|
4757
4956
|
*/
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
constructor(p1?: MdGeShape | object, p2?: MdGeAxis, p3?: number, p4?: boolean);
|
|
4763
|
-
FirstShape(theShape?: MdGeShape): MdGeShape;
|
|
4764
|
-
LastShape(theShape?: MdGeShape): MdGeShape;
|
|
4957
|
+
export declare class MdGeRevol {
|
|
4958
|
+
constructor(S: MdGeShape, A: MdGeAxis, D?: number, Copy?: boolean);
|
|
4959
|
+
FirstShape(): MdGeShape;
|
|
4960
|
+
LastShape(): MdGeShape;
|
|
4765
4961
|
IsDeleted(S: MdGeShape): boolean;
|
|
4962
|
+
FirstShape(theShape: MdGeShape): MdGeShape;
|
|
4963
|
+
LastShape(theShape: MdGeShape): MdGeShape;
|
|
4766
4964
|
HasDegenerated(): boolean;
|
|
4767
4965
|
Shape(): MdGeShape;
|
|
4768
4966
|
}
|
|
4769
4967
|
/**
|
|
4770
4968
|
* 表示一个球体
|
|
4771
4969
|
*/
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
constructor(p1?: MdGeCSYS | number | object, p2?: number, p3?: number, p4?: number);
|
|
4970
|
+
export declare class MdGeSphere {
|
|
4971
|
+
constructor();
|
|
4972
|
+
constructor(theA3: MdGeCSYS, theRadius: number);
|
|
4973
|
+
constructor(theX: number, theY: number, theZ: number, theRadius: number);
|
|
4777
4974
|
SetLocation(theLoc: MdGePoint): void;
|
|
4778
4975
|
SetPosition(theA3: MdGeCSYS): void;
|
|
4779
4976
|
SetRadius(theR: number): void;
|
|
@@ -4803,17 +5000,20 @@ export declare class MdGeSphere extends MdGeObject {
|
|
|
4803
5000
|
TranslatedByVec(theV: MdGeVec): MdGeSphere;
|
|
4804
5001
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4805
5002
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeSphere;
|
|
4806
|
-
Face(
|
|
4807
|
-
|
|
5003
|
+
Face(): MdGeFace;
|
|
5004
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number): MdGeFace;
|
|
5005
|
+
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
5006
|
+
Shape(): MdGeShape;
|
|
5007
|
+
Shape(angle: number): MdGeShape;
|
|
5008
|
+
Shape(angle1: number, angle2: number): MdGeShape;
|
|
5009
|
+
Shape(angle1: number, angle2: number, angle3: number): MdGeShape;
|
|
4808
5010
|
}
|
|
4809
5011
|
/**
|
|
4810
5012
|
* 表示文字
|
|
4811
5013
|
*/
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
export declare class MdGeText extends MdGeObject {
|
|
4816
|
-
constructor(p1?: string | object, p2?: number, p3?: MdGeCSYSR);
|
|
5014
|
+
export declare class MdGeText {
|
|
5015
|
+
constructor();
|
|
5016
|
+
constructor(text: string, height: number, orientation: MdGeCSYSR);
|
|
4817
5017
|
SetText(theText: string): void;
|
|
4818
5018
|
Position(): MdGePoint;
|
|
4819
5019
|
SetPosition(thePoint: MdGePoint): void;
|
|
@@ -4825,53 +5025,46 @@ export declare class MdGeText extends MdGeObject {
|
|
|
4825
5025
|
SetOwnAnchorPoint(theHasOwnAnchor: boolean): void;
|
|
4826
5026
|
Height(): number;
|
|
4827
5027
|
SetHeight(theHeight: number): void;
|
|
4828
|
-
HorizontalAlignment():
|
|
4829
|
-
SetHorizontalAlignment(theJustification:
|
|
4830
|
-
VerticalAlignment():
|
|
4831
|
-
SetVerticalAlignment(theJustification:
|
|
5028
|
+
HorizontalAlignment(): MxHorizontalTextAlignment;
|
|
5029
|
+
SetHorizontalAlignment(theJustification: MxHorizontalTextAlignment): void;
|
|
5030
|
+
VerticalAlignment(): MxVerticalTextAlignment;
|
|
5031
|
+
SetVerticalAlignment(theJustification: MxVerticalTextAlignment): void;
|
|
4832
5032
|
Shape(): MdGeShape;
|
|
4833
5033
|
}
|
|
4834
5034
|
/**
|
|
4835
5035
|
* 表示文字标签
|
|
4836
5036
|
*/
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
export declare class MdGeTextLabel extends MdGeObject {
|
|
4841
|
-
constructor(p1?: string | object, p2?: number, p3?: MdGePoint);
|
|
5037
|
+
export declare class MdGeTextLabel {
|
|
5038
|
+
constructor();
|
|
5039
|
+
constructor(text: string, height: number, position: MdGePoint);
|
|
4842
5040
|
SetColor(theR: number, theG: number, theB: number): void;
|
|
4843
5041
|
SetText(text: string): void;
|
|
4844
5042
|
SetPositon(position: MdGePoint): void;
|
|
4845
|
-
SetHJustification(theHJust:
|
|
4846
|
-
SetVJustification(theVJust:
|
|
5043
|
+
SetHJustification(theHJust: MxHorizontalTextAlignment): void;
|
|
5044
|
+
SetVJustification(theVJust: MxVerticalTextAlignment): void;
|
|
4847
5045
|
SetAngle(theAngle: number): void;
|
|
4848
5046
|
SetZoomable(theIsZoomable: boolean): void;
|
|
4849
5047
|
SetHeight(height: number): void;
|
|
4850
|
-
SetFontAspect(theFontAspect:
|
|
5048
|
+
SetFontAspect(theFontAspect: MxFontAspect): void;
|
|
4851
5049
|
SetFont(theFont: string): void;
|
|
4852
5050
|
SetOrientation3D(theOrientation: MdGeCSYSR): void;
|
|
4853
5051
|
UnsetOrientation3D(): void;
|
|
4854
5052
|
Position(): MdGePoint;
|
|
4855
|
-
FontAspect():
|
|
5053
|
+
FontAspect(): MxFontAspect;
|
|
4856
5054
|
Orientation3D(): MdGeCSYSR;
|
|
4857
5055
|
HasOrientation3D(): boolean;
|
|
4858
5056
|
SetFlipping(theIsFlipping: boolean): void;
|
|
4859
5057
|
HasFlipping(): boolean;
|
|
4860
5058
|
HasOwnAnchorPoint(): boolean;
|
|
4861
5059
|
SetOwnAnchorPoint(theOwnAnchorPoint: boolean): void;
|
|
4862
|
-
SetDisplayType(theDisplayType:
|
|
5060
|
+
SetDisplayType(theDisplayType: MxTypeOfDisplayText): void;
|
|
4863
5061
|
SetColorSubTitle(theR: number, theG: number, theB: number): void;
|
|
4864
5062
|
Display(): void;
|
|
4865
5063
|
}
|
|
4866
|
-
/**
|
|
4867
|
-
* 拓扑转换类
|
|
4868
|
-
*/
|
|
4869
5064
|
/**
|
|
4870
5065
|
* 拓扑转换类
|
|
4871
5066
|
*/
|
|
4872
5067
|
export declare class MdGeTopo {
|
|
4873
|
-
protected imp: any;
|
|
4874
|
-
constructor();
|
|
4875
5068
|
Vertex(S: MdGeShape): MdGeVertex;
|
|
4876
5069
|
Edge(S: MdGeShape): MdGeEdge;
|
|
4877
5070
|
Wire(S: MdGeShape): MdGeWire;
|
|
@@ -4880,17 +5073,13 @@ export declare class MdGeTopo {
|
|
|
4880
5073
|
Solid(S: MdGeShape): MdGeSolid;
|
|
4881
5074
|
CompSolid(S: MdGeShape): MdGeCompSolid;
|
|
4882
5075
|
Compound(S: MdGeShape): MdGeCompound;
|
|
4883
|
-
DestroyObject(pObj: object): void;
|
|
4884
|
-
SetRegisterFuncPtr(jsFunPtr: number): void;
|
|
4885
5076
|
}
|
|
4886
5077
|
/**
|
|
4887
5078
|
* 表示圆环
|
|
4888
5079
|
*/
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
export declare class MdGeTorus extends MdGeObject {
|
|
4893
|
-
constructor(p1?: MdGeCSYS | object, p2?: number, p3?: number);
|
|
5080
|
+
export declare class MdGeTorus {
|
|
5081
|
+
constructor();
|
|
5082
|
+
constructor(theA3: MdGeCSYS, theMajorRadius: number, theMinorRadius: number);
|
|
4894
5083
|
SetAxis(theA1: MdGeAxis): void;
|
|
4895
5084
|
SetLocation(theLoc: MdGePoint): void;
|
|
4896
5085
|
SetMajorRadius(theMajorRadius: number): void;
|
|
@@ -4924,17 +5113,20 @@ export declare class MdGeTorus extends MdGeObject {
|
|
|
4924
5113
|
TranslatedByVec(theV: MdGeVec): MdGeTorus;
|
|
4925
5114
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4926
5115
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeTorus;
|
|
4927
|
-
Face(
|
|
4928
|
-
|
|
5116
|
+
Face(): MdGeFace;
|
|
5117
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number): MdGeFace;
|
|
5118
|
+
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
5119
|
+
Shape(): MdGeShape;
|
|
5120
|
+
Shape(angle: number): MdGeShape;
|
|
5121
|
+
Shape(angle1: number, angle2: number): MdGeShape;
|
|
5122
|
+
Shape(angle1: number, angle2: number, angle: number): MdGeShape;
|
|
4929
5123
|
}
|
|
4930
5124
|
/**
|
|
4931
5125
|
* 形状变换类
|
|
4932
5126
|
*/
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
export declare class MdGeTransform extends MdGeObject {
|
|
4937
|
-
constructor(p1?: MdGeTrsf | MdGeShape | object, p2?: MdGeTrsf, p3?: boolean, p4?: boolean);
|
|
5127
|
+
export declare class MdGeTransform {
|
|
5128
|
+
constructor(T: MdGeTrsf);
|
|
5129
|
+
constructor(theShape: MdGeShape, theTrsf: MdGeTrsf, theCopyGeom?: boolean, theCopyMesh?: boolean);
|
|
4938
5130
|
Perform(theShape: MdGeShape, theCopyGeom?: boolean, theCopyMesh?: boolean): void;
|
|
4939
5131
|
ModifiedShape(S: MdGeShape): MdGeShape;
|
|
4940
5132
|
Shape(): MdGeShape;
|
|
@@ -4942,62 +5134,15 @@ export declare class MdGeTransform extends MdGeObject {
|
|
|
4942
5134
|
/**
|
|
4943
5135
|
* 表示一个楔形
|
|
4944
5136
|
*/
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
constructor(
|
|
5137
|
+
export declare class MdGeWedge {
|
|
5138
|
+
constructor(dx: number, dy: number, dz: number, ltx: number);
|
|
5139
|
+
constructor(Axes: MdGeCSYSR, dx: number, dy: number, dz: number, ltx: number);
|
|
5140
|
+
constructor(dx: number, dy: number, dz: number, xmin: number, zmin: number, xmax: number, zmax: number);
|
|
5141
|
+
constructor(Axes: MdGeCSYSR, dx: number, dy: number, dz: number, xmin: number, zmin: number, xmax: number, zmax: number);
|
|
4950
5142
|
Shell(): MdGeShell;
|
|
4951
5143
|
Solid(): MdGeSolid;
|
|
4952
5144
|
Shape(): MdGeShape;
|
|
4953
5145
|
}
|
|
4954
|
-
/**
|
|
4955
|
-
* 表示几何曲面句柄
|
|
4956
|
-
*/
|
|
4957
|
-
/**
|
|
4958
|
-
* 表示几何曲面句柄
|
|
4959
|
-
*/
|
|
4960
|
-
export declare class MdGeHGeomSurface extends MdGeObject {
|
|
4961
|
-
constructor(p?: object);
|
|
4962
|
-
DynamicType(): string;
|
|
4963
|
-
}
|
|
4964
|
-
/**
|
|
4965
|
-
* 表示几何平面句柄
|
|
4966
|
-
*/
|
|
4967
|
-
/**
|
|
4968
|
-
* 表示几何平面句柄
|
|
4969
|
-
*/
|
|
4970
|
-
export declare class MdGeHGeomPlane extends MdGeObject {
|
|
4971
|
-
constructor(p?: object);
|
|
4972
|
-
DownCast(hGeomSurface: MdGeHGeomSurface): MdGeHGeomPlane;
|
|
4973
|
-
Axis(): MdGeAxis;
|
|
4974
|
-
Location(): MdGePoint;
|
|
4975
|
-
Position(): MdGeCSYS;
|
|
4976
|
-
}
|
|
4977
|
-
/**
|
|
4978
|
-
* 表示BRep工具
|
|
4979
|
-
*/
|
|
4980
|
-
/**
|
|
4981
|
-
* 表示Brep工具
|
|
4982
|
-
*/
|
|
4983
|
-
export declare class MdGeBRep {
|
|
4984
|
-
protected imp: any;
|
|
4985
|
-
constructor();
|
|
4986
|
-
IsClosed(p1: MdGeShape | MdGeEdge, p2?: MdGeFace): boolean | undefined;
|
|
4987
|
-
Surface(F: MdGeFace): MdGeHGeomSurface;
|
|
4988
|
-
Tolerance(F: MdGeFace): number;
|
|
4989
|
-
NaturalRestriction(F: MdGeFace): boolean;
|
|
4990
|
-
IsGeometric(F: MdGeFace): boolean;
|
|
4991
|
-
SameParameter(E: MdGeEdge): boolean;
|
|
4992
|
-
SameRange(E: MdGeEdge): boolean;
|
|
4993
|
-
Degenerated(E: MdGeEdge): boolean;
|
|
4994
|
-
HasContinuity(E: MdGeEdge, F1?: MdGeFace, F2?: MdGeFace): boolean | undefined;
|
|
4995
|
-
Continuity(E: MdGeEdge, F1: MdGeFace, F2: MdGeFace): MdGe.MxGAShapeEnum;
|
|
4996
|
-
MaxContinuity(theEdge: MdGeEdge): MdGe.MxGAShapeEnum;
|
|
4997
|
-
Pnt(V: MdGeVertex): MdGePoint;
|
|
4998
|
-
Parameter(V: MdGeVertex, E: MdGeEdge, F?: MdGeFace): number;
|
|
4999
|
-
MaxTolerance(theShape: MdGeShape, theSubShape: MdGe.MxShapeEnum): number;
|
|
5000
|
-
}
|
|
5001
5146
|
export declare function loadMxCADassembly3d(config: MxDraw3dConfig, call?: (mxDraw3d: MxDraw3d) => void): Promise<MxDraw3d>;
|
|
5002
5147
|
|
|
5003
5148
|
export {};
|