mxcad 1.0.84 → 1.0.86
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 +1258 -663
- package/dist/mxcad.es.js +6292 -1935
- package/dist/mxcad.umd.js +46 -46
- package/dist/wasm/2d/mxdrawassembly_min.js +676 -664
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +671 -659
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/dist/wasm/3d/mxdraw3d_min.data +0 -0
- package/dist/wasm/3d/mxdraw3d_min.js +35824 -1290
- package/dist/wasm/3d/mxdraw3d_min.wasm +0 -0
- package/package.json +2 -2
package/dist/mxcad.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export declare class McGeVector3d {
|
|
|
114
114
|
* 刻隆一个对对象
|
|
115
115
|
*/
|
|
116
116
|
clone(): McGeVector3d;
|
|
117
|
-
rotateBy(ang: number, axis
|
|
117
|
+
rotateBy(ang: number, axis?: McGeVector3d): this;
|
|
118
118
|
negate(): this;
|
|
119
119
|
perpVector(): this;
|
|
120
120
|
angleTo1(vec: McGeVector3d): number;
|
|
@@ -126,6 +126,7 @@ export declare class McGeVector3d {
|
|
|
126
126
|
dotProduct(vec: McGeVector3d): number;
|
|
127
127
|
crossProduct(vec: McGeVector3d): McGeVector3d;
|
|
128
128
|
isEqualTo(vec: McGeVector3d): boolean;
|
|
129
|
+
mult(val: number): this;
|
|
129
130
|
/**
|
|
130
131
|
* X 坐标。
|
|
131
132
|
*/
|
|
@@ -342,6 +343,37 @@ export declare class McGePoint3dArray {
|
|
|
342
343
|
setAt(index: number, val: McGePoint3d): void;
|
|
343
344
|
clear(): void;
|
|
344
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;
|
|
376
|
+
}
|
|
345
377
|
/**
|
|
346
378
|
* 表示一个 Rx 对象的基类。
|
|
347
379
|
*/
|
|
@@ -481,7 +513,7 @@ export declare class McDbObject extends McRxObject {
|
|
|
481
513
|
export declare class McDbObjectArray {
|
|
482
514
|
aryVal: McDbObject[];
|
|
483
515
|
constructor(imp?: any);
|
|
484
|
-
forEach(call: (val: McDbObject) => void): void;
|
|
516
|
+
forEach(call: (val: McDbObject, index: number) => void): void;
|
|
485
517
|
length(): number;
|
|
486
518
|
empty(): boolean;
|
|
487
519
|
}
|
|
@@ -621,7 +653,6 @@ export declare class MxCADResbuf extends McRxObject {
|
|
|
621
653
|
*/
|
|
622
654
|
export declare class MxCADUtilityClass {
|
|
623
655
|
private imp;
|
|
624
|
-
MxCADAssist: any;
|
|
625
656
|
constructor();
|
|
626
657
|
/**
|
|
627
658
|
* eraseEntity 方法用于删除指定的图形对象
|
|
@@ -1137,14 +1168,14 @@ export declare class McDbCurve extends McDbEntity {
|
|
|
1137
1168
|
/**
|
|
1138
1169
|
* 通过曲线参数得到曲线的一阶导数
|
|
1139
1170
|
*/
|
|
1140
|
-
|
|
1171
|
+
getFirstDerivFromParam(param: number): {
|
|
1141
1172
|
val: McGeVector3d;
|
|
1142
1173
|
ret: number;
|
|
1143
1174
|
};
|
|
1144
1175
|
/**
|
|
1145
1176
|
* 通过曲线上某点得到曲线的一阶导数
|
|
1146
1177
|
*/
|
|
1147
|
-
|
|
1178
|
+
getFirstDeriv(pt: McGePoint3d): {
|
|
1148
1179
|
val: McGeVector3d;
|
|
1149
1180
|
ret: number;
|
|
1150
1181
|
};
|
|
@@ -1162,7 +1193,8 @@ export declare class McDbCurve extends McDbEntity {
|
|
|
1162
1193
|
/**
|
|
1163
1194
|
* 打断曲线
|
|
1164
1195
|
*/
|
|
1165
|
-
splitCurves(
|
|
1196
|
+
splitCurves(pts: McGePoint3d[]): McDbObjectArray;
|
|
1197
|
+
splitCurvesFromParam(params: number[]): McDbObjectArray;
|
|
1166
1198
|
/**
|
|
1167
1199
|
* 计算面积
|
|
1168
1200
|
*/
|
|
@@ -2774,6 +2806,7 @@ export declare class McObject {
|
|
|
2774
2806
|
*/
|
|
2775
2807
|
export declare class McAppType {
|
|
2776
2808
|
private imp;
|
|
2809
|
+
MxCADAssist: any;
|
|
2777
2810
|
/**
|
|
2778
2811
|
* 初始化 McAppType 对象。
|
|
2779
2812
|
* @param imp 传入的 imp 对象。
|
|
@@ -2867,6 +2900,12 @@ export declare class MxCppType {
|
|
|
2867
2900
|
*/
|
|
2868
2901
|
NewMcGePoint3d(pt?: any): McGePoint3d;
|
|
2869
2902
|
/**
|
|
2903
|
+
* 创建新的 McGeVector3d 实例
|
|
2904
|
+
* @param {any} pt 点坐标
|
|
2905
|
+
* @returns {McGePoint3d} McGePoint3d 实例
|
|
2906
|
+
*/
|
|
2907
|
+
NewMcGeVector3d(pt?: any): McGeVector3d;
|
|
2908
|
+
/**
|
|
2870
2909
|
* 返回当前活动的CAD对象
|
|
2871
2910
|
*/
|
|
2872
2911
|
GetCurrentMxCAD(): McObject;
|
|
@@ -3018,6 +3057,8 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
3018
3057
|
* @param fileUrl 文件路径
|
|
3019
3058
|
* */
|
|
3020
3059
|
openFromUrl: (name: string, fileUrl: string) => void;
|
|
3060
|
+
/** 加载贴图图片 */
|
|
3061
|
+
loadTextureImg: (fileUrl: string) => void;
|
|
3021
3062
|
/** 设置多维数据集贴图背景 */
|
|
3022
3063
|
setCubemapBackground(url: string): void;
|
|
3023
3064
|
/** 完成初始化 */
|
|
@@ -3110,17 +3151,23 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
3110
3151
|
MdGeDiameterDim: typeof MdGeDiameterDim;
|
|
3111
3152
|
/** 表示一个椭圆 */
|
|
3112
3153
|
MdGeEllipse: typeof MdGeEllipse;
|
|
3113
|
-
MxShapeEnum: typeof MxShapeEnum;
|
|
3114
|
-
MxHorizontalTextAlignment: typeof MxHorizontalTextAlignment;
|
|
3115
|
-
MxVerticalTextAlignment: typeof MxVerticalTextAlignment;
|
|
3116
|
-
MxFontAspect: typeof MxFontAspect;
|
|
3117
|
-
MxTypeOfDisplayText: typeof MxTypeOfDisplayText;
|
|
3118
|
-
MxCF3dFilletShapeEnum: typeof MxCF3dFilletShapeEnum;
|
|
3119
|
-
MxCFDSChamfMode: typeof MxCFDSChamfMode;
|
|
3120
|
-
MxGFTrihedron: typeof MxGFTrihedron;
|
|
3121
|
-
MxGAShapeEnum: typeof MxGAShapeEnum;
|
|
3122
|
-
MxOffsetModeEnum: typeof MxOffsetModeEnum;
|
|
3123
|
-
MxGAJoinTypeEnum: typeof MxGAJoinTypeEnum;
|
|
3154
|
+
MxShapeEnum: typeof MdGe.MxShapeEnum;
|
|
3155
|
+
MxHorizontalTextAlignment: typeof MdGe.MxHorizontalTextAlignment;
|
|
3156
|
+
MxVerticalTextAlignment: typeof MdGe.MxVerticalTextAlignment;
|
|
3157
|
+
MxFontAspect: typeof MdGe.MxFontAspect;
|
|
3158
|
+
MxTypeOfDisplayText: typeof MdGe.MxTypeOfDisplayText;
|
|
3159
|
+
MxCF3dFilletShapeEnum: typeof MdGe.MxCF3dFilletShapeEnum;
|
|
3160
|
+
MxCFDSChamfMode: typeof MdGe.MxCFDSChamfMode;
|
|
3161
|
+
MxGFTrihedron: typeof MdGe.MxGFTrihedron;
|
|
3162
|
+
MxGAShapeEnum: typeof MdGe.MxGAShapeEnum;
|
|
3163
|
+
MxOffsetModeEnum: typeof MdGe.MxOffsetModeEnum;
|
|
3164
|
+
MxGAJoinTypeEnum: typeof MdGe.MxGAJoinTypeEnum;
|
|
3165
|
+
MxNameOfMaterial: typeof MdGe.MxNameOfMaterial;
|
|
3166
|
+
MxTypeOfMaterial: typeof MdGe.MxTypeOfMaterial;
|
|
3167
|
+
MxTypeOfReflection: typeof MdGe.MxTypeOfReflection;
|
|
3168
|
+
MxNameOfColor: typeof MdGe.MxNameOfColor;
|
|
3169
|
+
MxTypeOfColor: typeof MdGe.MxTypeOfColor;
|
|
3170
|
+
MxDisplayMode: typeof MdGe.MxDisplayMode;
|
|
3124
3171
|
/** 表示拓扑元素遍历 */
|
|
3125
3172
|
MdGeExplorer: typeof MdGeExplorer;
|
|
3126
3173
|
/** 表示倒圆角 */
|
|
@@ -3171,54 +3218,124 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
3171
3218
|
MdGeTextLabel: typeof MdGeTextLabel;
|
|
3172
3219
|
/** 拓扑转换类 */
|
|
3173
3220
|
MdGeTopo: typeof MdGeTopo;
|
|
3221
|
+
mdGeTopo: MdGeTopo;
|
|
3174
3222
|
/** 表示圆环 */
|
|
3175
3223
|
MdGeTorus: typeof MdGeTorus;
|
|
3176
3224
|
/** 形状变换类 */
|
|
3177
3225
|
MdGeTransform: typeof MdGeTransform;
|
|
3178
3226
|
/** 表示一个楔形 */
|
|
3179
3227
|
MdGeWedge: typeof MdGeWedge;
|
|
3228
|
+
/** 表示BRep工具 */
|
|
3229
|
+
MdGeBRep: typeof MdGeBRep;
|
|
3230
|
+
mdGeBRep: MdGeBRep;
|
|
3231
|
+
/** 表示几何平面句柄 */
|
|
3232
|
+
MdGeHGeomPlane: typeof MdGeHGeomPlane;
|
|
3233
|
+
/** 表示几何曲面句柄 */
|
|
3234
|
+
MdGeHGeomSurface: typeof MdGeHGeomSurface;
|
|
3235
|
+
/** 所有类的父类,除MdGeTopo,MdGeBRep */
|
|
3236
|
+
MdGeObject: typeof MdGeObject;
|
|
3237
|
+
/** 表示颜色 */
|
|
3238
|
+
MdGeColor: typeof MdGeColor;
|
|
3239
|
+
/** 表示材质 */
|
|
3240
|
+
MdGeMaterialAspect: typeof MdGeMaterialAspect;
|
|
3241
|
+
}
|
|
3242
|
+
/**
|
|
3243
|
+
* 所有类的父类, 除去MdGeTopo以及MdGeBrep
|
|
3244
|
+
*/
|
|
3245
|
+
export declare class MdGeObject {
|
|
3246
|
+
protected imp: any;
|
|
3247
|
+
constructor(imp?: any);
|
|
3248
|
+
getImp(): any;
|
|
3249
|
+
protected initTempObject(imp: any): void;
|
|
3180
3250
|
}
|
|
3181
3251
|
/**
|
|
3182
3252
|
* 表示一个形状。
|
|
3183
3253
|
*/
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
*/
|
|
3254
|
+
/**
|
|
3255
|
+
* 表示一个形状
|
|
3256
|
+
*/
|
|
3257
|
+
export declare class MdGeShape extends MdGeObject {
|
|
3258
|
+
constructor(p?: object);
|
|
3190
3259
|
Fuse(other: MdGeShape): MdGeShape;
|
|
3191
|
-
/**
|
|
3192
|
-
* 求裁剪后的形状。
|
|
3193
|
-
* @param remove 被裁剪掉的部分形状。
|
|
3194
|
-
* @returns 裁剪后的形状。
|
|
3195
|
-
*/
|
|
3196
3260
|
Cut(remove: MdGeShape): MdGeShape;
|
|
3197
|
-
/**
|
|
3198
|
-
* 求形状相交的部分。
|
|
3199
|
-
* @param other 另一个形状。
|
|
3200
|
-
* @returns 相交部分的形状。
|
|
3201
|
-
*/
|
|
3202
3261
|
Common(other: MdGeShape): MdGeShape;
|
|
3203
|
-
/**
|
|
3204
|
-
* 求相交部分的外轮廓。
|
|
3205
|
-
* @param other 另一个形状。
|
|
3206
|
-
* @returns 相交部分的外轮廓的形状。
|
|
3207
|
-
*/
|
|
3208
3262
|
Section(other: MdGeShape): MdGeShape;
|
|
3263
|
+
ShapeType(): MdGe.MxShapeEnum;
|
|
3264
|
+
SetTextureFileName(path: string): void;
|
|
3265
|
+
SetMaterialAspect(material: MdGeMaterialAspect): void;
|
|
3266
|
+
SetColor(color: MdGeColor): void;
|
|
3209
3267
|
IsNull(): boolean;
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3268
|
+
Draw(): void;
|
|
3269
|
+
}
|
|
3270
|
+
/**
|
|
3271
|
+
* 表示一个点形状
|
|
3272
|
+
*/
|
|
3273
|
+
export declare class MdGeVertex extends MdGeShape {
|
|
3274
|
+
constructor(p1?: object | number, p2?: number, p3?: number);
|
|
3275
|
+
Draw(): void;
|
|
3276
|
+
}
|
|
3277
|
+
/**
|
|
3278
|
+
* 表示一个Edge形状
|
|
3279
|
+
*/
|
|
3280
|
+
export declare class MdGeEdge extends MdGeShape {
|
|
3281
|
+
constructor(p1?: MdGePoint | object, p2?: MdGePoint);
|
|
3282
|
+
Wire(): MdGeWire;
|
|
3283
|
+
AddedEdge(edge: MdGeEdge): MdGeWire;
|
|
3284
|
+
AddedWire(wire: MdGeWire): MdGeWire;
|
|
3285
|
+
Draw(): void;
|
|
3286
|
+
}
|
|
3287
|
+
/**
|
|
3288
|
+
* 表示一个Wire形状
|
|
3289
|
+
*/
|
|
3290
|
+
export declare class MdGeWire extends MdGeShape {
|
|
3291
|
+
constructor(p?: object);
|
|
3292
|
+
AddedEdge(edge: MdGeEdge): MdGeWire;
|
|
3293
|
+
AddedWire(wire: MdGeWire): MdGeWire;
|
|
3294
|
+
Draw(): void;
|
|
3295
|
+
}
|
|
3296
|
+
/**
|
|
3297
|
+
* 表示一个Face形状
|
|
3298
|
+
*/
|
|
3299
|
+
export declare class MdGeFace extends MdGeShape {
|
|
3300
|
+
constructor(p?: object);
|
|
3301
|
+
Draw(): void;
|
|
3302
|
+
}
|
|
3303
|
+
/**
|
|
3304
|
+
* 表示一个Shell形状
|
|
3305
|
+
*/
|
|
3306
|
+
export declare class MdGeShell extends MdGeShape {
|
|
3307
|
+
constructor(p?: object);
|
|
3308
|
+
Draw(): void;
|
|
3309
|
+
}
|
|
3310
|
+
/**
|
|
3311
|
+
* 表示一个Solid形状
|
|
3312
|
+
*/
|
|
3313
|
+
export declare class MdGeSolid extends MdGeShape {
|
|
3314
|
+
constructor(p?: object);
|
|
3315
|
+
Draw(): void;
|
|
3316
|
+
}
|
|
3317
|
+
/**
|
|
3318
|
+
* 表示一个CompSolid形状
|
|
3319
|
+
*/
|
|
3320
|
+
export declare class MdGeCompSolid extends MdGeShape {
|
|
3321
|
+
constructor(p?: object);
|
|
3322
|
+
Draw(): void;
|
|
3323
|
+
}
|
|
3324
|
+
/**
|
|
3325
|
+
* 表示一个Compound形状
|
|
3326
|
+
*/
|
|
3327
|
+
export declare class MdGeCompound extends MdGeShape {
|
|
3328
|
+
constructor(p?: object);
|
|
3213
3329
|
Draw(): void;
|
|
3214
3330
|
}
|
|
3215
3331
|
/**
|
|
3216
3332
|
* 表示一个矩阵。
|
|
3217
3333
|
*/
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3334
|
+
/**
|
|
3335
|
+
* 表示一个矩阵
|
|
3336
|
+
*/
|
|
3337
|
+
export declare class MdGeMat extends MdGeObject {
|
|
3338
|
+
constructor(p1?: MdGeXYZ | number | object, p2?: MdGeXYZ | number, p3?: MdGeXYZ | number, p4?: number, p5?: number, p6?: number, p7?: number, p8?: number, p9?: number);
|
|
3222
3339
|
SetCol(col: number, value: MdGeXYZ): void;
|
|
3223
3340
|
SetCols(col1: MdGeXYZ, col2: MdGeXYZ, col3: MdGeXYZ): void;
|
|
3224
3341
|
SetCross(ref: MdGeXYZ): void;
|
|
@@ -3258,11 +3375,12 @@ export declare class MdGeMat {
|
|
|
3258
3375
|
/**
|
|
3259
3376
|
* 表示一个坐标。
|
|
3260
3377
|
*/
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3378
|
+
/**
|
|
3379
|
+
* 表示一个坐标
|
|
3380
|
+
*/
|
|
3381
|
+
export declare class MdGeXYZ extends MdGeObject {
|
|
3382
|
+
constructor(p1?: number | object, p2?: number, p3?: number);
|
|
3383
|
+
SetCoord(x: number, y: number, z?: number): void;
|
|
3266
3384
|
SetX(x: number): void;
|
|
3267
3385
|
SetY(y: number): void;
|
|
3268
3386
|
SetZ(z: number): void;
|
|
@@ -3298,18 +3416,15 @@ export declare class MdGeXYZ {
|
|
|
3298
3416
|
Reversed(): MdGeXYZ;
|
|
3299
3417
|
Subtract(other: MdGeXYZ): void;
|
|
3300
3418
|
Subtracted(other: MdGeXYZ): MdGeXYZ;
|
|
3301
|
-
SetLinearForm(a1: number, xyz1: MdGeXYZ, a2: number, xyz2: MdGeXYZ, a3: number, xyz3: MdGeXYZ, xyz4: MdGeXYZ): void;
|
|
3302
|
-
SetLinearForm(a1: number, xyz1: MdGeXYZ, a2: number, xyz2: MdGeXYZ, a3: number, xyz3: MdGeXYZ): void;
|
|
3303
|
-
SetLinearForm(a1: number, xyz1: MdGeXYZ, a2: number, xyz2: MdGeXYZ, xyz3: MdGeXYZ): void;
|
|
3304
|
-
SetLinearForm(a1: number, xyz1: MdGeXYZ, a2: number, xyz2: MdGeXYZ): void;
|
|
3305
|
-
SetLinearForm(a1: number, xyz1: MdGeXYZ, xyz2: MdGeXYZ): void;
|
|
3306
|
-
SetLinearForm(xyz1: MdGeXYZ, xyz2: MdGeXYZ): void;
|
|
3307
3419
|
}
|
|
3308
3420
|
/**
|
|
3309
3421
|
* 表示一个变换。
|
|
3310
3422
|
*/
|
|
3311
|
-
|
|
3312
|
-
|
|
3423
|
+
/**
|
|
3424
|
+
* 表示一个变换
|
|
3425
|
+
*/
|
|
3426
|
+
export declare class MdGeTrsf extends MdGeObject {
|
|
3427
|
+
constructor(p?: object);
|
|
3313
3428
|
SetMirrorByPoint(point: MdGePoint): void;
|
|
3314
3429
|
SetMirrorByAxis(axis: MdGeAxis): void;
|
|
3315
3430
|
SetMirrorByCSYSR(csysr: MdGeCSYSR): void;
|
|
@@ -3335,12 +3450,12 @@ export declare class MdGeTrsf {
|
|
|
3335
3450
|
/**
|
|
3336
3451
|
* 表示一个方向。
|
|
3337
3452
|
*/
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
SetCoord(
|
|
3453
|
+
/**
|
|
3454
|
+
* 表示一个方向
|
|
3455
|
+
*/
|
|
3456
|
+
export declare class MdGeDir extends MdGeObject {
|
|
3457
|
+
constructor(p1?: MdGeVec | number | object, p2?: number, p3?: number);
|
|
3458
|
+
SetCoord(p1: number, p2: number, p3?: number): void;
|
|
3344
3459
|
SetX(theXv: number): void;
|
|
3345
3460
|
SetY(theYv: number): void;
|
|
3346
3461
|
SetZ(theZv: number): void;
|
|
@@ -3378,50 +3493,29 @@ export declare class MdGeDir {
|
|
|
3378
3493
|
/**
|
|
3379
3494
|
* 表示一个轴。
|
|
3380
3495
|
*/
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
constructor();
|
|
3386
|
-
/**
|
|
3387
|
-
* 构造函数。
|
|
3388
|
-
* @param loc 轴的位置点。
|
|
3389
|
-
* @param dir 轴的方向。
|
|
3390
|
-
*/
|
|
3391
|
-
constructor(loc: MdGePoint, dir: MdGeDir);
|
|
3392
|
-
/**
|
|
3393
|
-
* 获得轴的方向。
|
|
3394
|
-
* @returns 轴的方向。
|
|
3395
|
-
*/
|
|
3496
|
+
/**
|
|
3497
|
+
* 表示一个轴
|
|
3498
|
+
*/
|
|
3499
|
+
export declare class MdGeAxis extends MdGeObject {
|
|
3500
|
+
constructor(p1?: MdGePoint | object, p2?: MdGeDir);
|
|
3396
3501
|
Direction(): MdGeDir;
|
|
3397
|
-
/**
|
|
3398
|
-
* 获得轴的位置点。
|
|
3399
|
-
* @returns 轴的位置点。
|
|
3400
|
-
*/
|
|
3401
3502
|
Location(): MdGePoint;
|
|
3402
|
-
/**
|
|
3403
|
-
* 设置轴的方向。
|
|
3404
|
-
* @param dir 要设置的方向。
|
|
3405
|
-
*/
|
|
3406
3503
|
SetDirection(dir: MdGeDir): void;
|
|
3407
|
-
/**
|
|
3408
|
-
* 设置轴的位置点。
|
|
3409
|
-
* @param loc 要设置的位置点。
|
|
3410
|
-
*/
|
|
3411
3504
|
SetLocation(loc: MdGePoint): void;
|
|
3412
3505
|
}
|
|
3413
3506
|
/**
|
|
3414
3507
|
* 表示右手坐标系。
|
|
3415
3508
|
*/
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3509
|
+
/**
|
|
3510
|
+
* 表示右手坐标系。
|
|
3511
|
+
*/
|
|
3512
|
+
export declare class MdGeCSYSR extends MdGeObject {
|
|
3513
|
+
constructor(p1?: MdGePoint | object, p2?: MdGeDir, p3?: MdGeDir);
|
|
3419
3514
|
Origin(): MdGePoint;
|
|
3420
3515
|
XDirection(): MdGeDir;
|
|
3421
3516
|
YDirection(): MdGeDir;
|
|
3422
3517
|
ZDirection(): MdGeDir;
|
|
3423
|
-
SetOrigin(
|
|
3424
|
-
SetOrigin(theX: number, theY: number, theZ: number): void;
|
|
3518
|
+
SetOrigin(p1: MdGePoint | number, p2?: number, p3?: number): void;
|
|
3425
3519
|
SetXDirection(x_dir: MdGeDir): void;
|
|
3426
3520
|
SetYDirection(y_dir: MdGeDir): void;
|
|
3427
3521
|
SetZDirection(z_dir: MdGeDir): void;
|
|
@@ -3449,91 +3543,23 @@ export declare class MdGeCSYSR {
|
|
|
3449
3543
|
/**
|
|
3450
3544
|
* 表示一个点。
|
|
3451
3545
|
*/
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
constructor();
|
|
3457
|
-
/**
|
|
3458
|
-
* 构造函数。
|
|
3459
|
-
* @param x
|
|
3460
|
-
* @param y
|
|
3461
|
-
* @param z
|
|
3462
|
-
*/
|
|
3463
|
-
constructor(x: number, y: number, z: number);
|
|
3464
|
-
/**
|
|
3465
|
-
* 获取x坐标值。
|
|
3466
|
-
* @returns x坐标值。
|
|
3467
|
-
*/
|
|
3546
|
+
/**
|
|
3547
|
+
* 表示一个点。
|
|
3548
|
+
*/
|
|
3549
|
+
export declare class MdGePoint extends MdGeObject {
|
|
3550
|
+
constructor(p1?: number | object, p2?: number, p3?: number);
|
|
3468
3551
|
X(): number;
|
|
3469
|
-
/**
|
|
3470
|
-
* 获取y坐标值。
|
|
3471
|
-
* @returns y坐标值。
|
|
3472
|
-
*/
|
|
3473
3552
|
Y(): number;
|
|
3474
|
-
/**
|
|
3475
|
-
* 获取z坐标值。
|
|
3476
|
-
* @returns z坐标值。
|
|
3477
|
-
*/
|
|
3478
3553
|
Z(): number;
|
|
3479
|
-
/**
|
|
3480
|
-
* 设置x坐标。
|
|
3481
|
-
* @param x x 坐标。
|
|
3482
|
-
*/
|
|
3483
3554
|
SetX(x: number): void;
|
|
3484
|
-
/**
|
|
3485
|
-
* 设置y坐标。
|
|
3486
|
-
* @param y y 坐标。
|
|
3487
|
-
*/
|
|
3488
3555
|
SetY(y: number): void;
|
|
3489
|
-
/**
|
|
3490
|
-
* 设置z坐标。
|
|
3491
|
-
* @param z z 坐标。
|
|
3492
|
-
*/
|
|
3493
3556
|
SetZ(z: number): void;
|
|
3494
|
-
/**
|
|
3495
|
-
* 设置x y z坐标值。
|
|
3496
|
-
* @param x 要设置的x坐标值。
|
|
3497
|
-
* @param y 要设置的y坐标值。
|
|
3498
|
-
* @param z 要设置的z坐标值。
|
|
3499
|
-
*/
|
|
3500
3557
|
SetXYZ(x: number, y: number, z: number): void;
|
|
3501
|
-
/**
|
|
3502
|
-
* 获取质心。
|
|
3503
|
-
* @param alpha 参数alpha。
|
|
3504
|
-
* @param point 三维点。
|
|
3505
|
-
* @param beta 参数beta
|
|
3506
|
-
*/
|
|
3507
3558
|
BaryCenter(alpha: number, point: MdGePoint, beta: number): void;
|
|
3508
|
-
/**
|
|
3509
|
-
* 判断两个点是否相等。
|
|
3510
|
-
* @param other 另一个点。
|
|
3511
|
-
* @param linearTolerance 精度。
|
|
3512
|
-
* @returns 是否相等,相等为true,不相等为false。
|
|
3513
|
-
*/
|
|
3514
3559
|
IsEqual(other: MdGePoint, linearTolerance: number): boolean;
|
|
3515
|
-
/**
|
|
3516
|
-
* 获取到另一点的距离。
|
|
3517
|
-
* @param other 另一个点。
|
|
3518
|
-
* @returns 到指定点的距离。
|
|
3519
|
-
*/
|
|
3520
3560
|
Distance(other: MdGePoint): number;
|
|
3521
|
-
/**
|
|
3522
|
-
* 获取到另一点的距离的平方。
|
|
3523
|
-
* @param other 另一个点。
|
|
3524
|
-
* @returns 到指定点的距离的平方。
|
|
3525
|
-
*/
|
|
3526
3561
|
SquareDistance(other: MdGePoint): number;
|
|
3527
|
-
/**
|
|
3528
|
-
* 将点按某一点进行镜像变换。
|
|
3529
|
-
* @param point 镜像点。
|
|
3530
|
-
*/
|
|
3531
3562
|
MirrorByPoint(point: MdGePoint): void;
|
|
3532
|
-
/**
|
|
3533
|
-
* 将点按某一点进行镜像变换后的镜像点。
|
|
3534
|
-
* @param point 镜像点。
|
|
3535
|
-
* @returns 变换后的镜像点。
|
|
3536
|
-
*/
|
|
3537
3563
|
MirroredByPoint(point: MdGePoint): MdGePoint;
|
|
3538
3564
|
MirrorByAxis(axis: MdGeAxis): void;
|
|
3539
3565
|
MirroredByAxis(axis: MdGeAxis): MdGePoint;
|
|
@@ -3549,83 +3575,24 @@ export declare class MdGePoint {
|
|
|
3549
3575
|
TranslatedByVec(vec: MdGeVec): MdGePoint;
|
|
3550
3576
|
TranslateBy2Points(point1: MdGePoint, point2: MdGePoint): void;
|
|
3551
3577
|
TranslatedBy2Points(point1: MdGePoint, point2: MdGePoint): MdGePoint;
|
|
3552
|
-
/**
|
|
3553
|
-
* 求点的形状。
|
|
3554
|
-
* @returns 点的形状。
|
|
3555
|
-
*/
|
|
3556
3578
|
Shape(): MdGeShape;
|
|
3557
3579
|
Vertex(): MdGeVertex;
|
|
3558
3580
|
}
|
|
3559
3581
|
/**
|
|
3560
3582
|
* 表示一个向量。
|
|
3561
3583
|
*/
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
constructor();
|
|
3567
|
-
|
|
3568
|
-
* 构造函数。
|
|
3569
|
-
* @param x x 坐标。
|
|
3570
|
-
* @param y y 坐标。
|
|
3571
|
-
* @param z z 坐标。
|
|
3572
|
-
*/
|
|
3573
|
-
constructor(x: number, y: number, z: number);
|
|
3574
|
-
/**
|
|
3575
|
-
* 构造函数。
|
|
3576
|
-
* @param theP1 第一个点。
|
|
3577
|
-
* @param theP2 第二个点。
|
|
3578
|
-
*/
|
|
3579
|
-
constructor(theP1: MdGePoint, theP2: MdGePoint);
|
|
3580
|
-
/**
|
|
3581
|
-
* 设置某个坐标值。
|
|
3582
|
-
* @param theIndex 要设置的坐标,取值1,2,3。
|
|
3583
|
-
* @param theXi 要设置的坐标值。
|
|
3584
|
-
*/
|
|
3585
|
-
SetCoord(theIndex: number, theXi: number): void;
|
|
3586
|
-
/**
|
|
3587
|
-
* 设置x y z坐标值。
|
|
3588
|
-
* @param theXv 要设置的x坐标值。
|
|
3589
|
-
* @param theYv 要设置的y坐标值。
|
|
3590
|
-
* @param theZv 要设置的z坐标值。
|
|
3591
|
-
*/
|
|
3592
|
-
SetCoord(theXv: number, theYv: number, theZv: number): void;
|
|
3593
|
-
/**
|
|
3594
|
-
* 获取x坐标值。
|
|
3595
|
-
* @returns x坐标值。
|
|
3596
|
-
*/
|
|
3584
|
+
/**
|
|
3585
|
+
* 表示一个向量。
|
|
3586
|
+
*/
|
|
3587
|
+
export declare class MdGeVec extends MdGeObject {
|
|
3588
|
+
constructor(p1?: MdGePoint | number | object, p2?: MdGePoint | number, p3?: number);
|
|
3589
|
+
SetCoord(p1: number, p2: number, p3?: number): void;
|
|
3597
3590
|
X(): number;
|
|
3598
|
-
/**
|
|
3599
|
-
* 获取y坐标值。
|
|
3600
|
-
* @returns y坐标值。
|
|
3601
|
-
*/
|
|
3602
3591
|
Y(): number;
|
|
3603
|
-
/**
|
|
3604
|
-
* 获取z坐标值。
|
|
3605
|
-
* @returns z坐标值。
|
|
3606
|
-
*/
|
|
3607
3592
|
Z(): number;
|
|
3608
|
-
/**
|
|
3609
|
-
* 设置x坐标。
|
|
3610
|
-
* @param x x 坐标。
|
|
3611
|
-
*/
|
|
3612
3593
|
SetX(x: number): void;
|
|
3613
|
-
/**
|
|
3614
|
-
* 设置y坐标。
|
|
3615
|
-
* @param y y 坐标。
|
|
3616
|
-
*/
|
|
3617
3594
|
SetY(y: number): void;
|
|
3618
|
-
/**
|
|
3619
|
-
* 设置z坐标。
|
|
3620
|
-
* @param z z 坐标。
|
|
3621
|
-
*/
|
|
3622
3595
|
SetZ(z: number): void;
|
|
3623
|
-
/**
|
|
3624
|
-
* 设置x y z坐标值。
|
|
3625
|
-
* @param x 要设置的x坐标值。
|
|
3626
|
-
* @param y 要设置的y坐标值。
|
|
3627
|
-
* @param z 要设置的z坐标值。
|
|
3628
|
-
*/
|
|
3629
3596
|
SetXYZ(x: number, y: number, z: number): void;
|
|
3630
3597
|
Coord(theIndex: number): number;
|
|
3631
3598
|
IsEqual(other: MdGeVec, linearTolerance: number, angularTolerance: number): boolean;
|
|
@@ -3656,12 +3623,7 @@ export declare class MdGeVec {
|
|
|
3656
3623
|
Normalized(): MdGeVec;
|
|
3657
3624
|
Reverse(): void;
|
|
3658
3625
|
Reversed(): MdGeVec;
|
|
3659
|
-
SetLinearForm(
|
|
3660
|
-
SetLinearForm(a1: number, v1: MdGeVec, a2: number, v2: MdGeVec, a3: number, v3: MdGeVec): void;
|
|
3661
|
-
SetLinearForm(a1: number, v1: MdGeVec, a2: number, v2: MdGeVec, v3: MdGeVec): void;
|
|
3662
|
-
SetLinearForm(a1: number, v1: MdGeVec, a2: number, v2: MdGeVec): void;
|
|
3663
|
-
SetLinearForm(a1: number, v1: MdGeVec, v2: MdGeVec): void;
|
|
3664
|
-
SetLinearForm(v1: MdGeVec, v2: MdGeVec): void;
|
|
3626
|
+
SetLinearForm(p1: MdGeVec | number, p2: MdGeVec, p3?: MdGeVec | number, p4?: MdGeVec, p5?: MdGeVec | number, p6?: MdGeVec, p7?: MdGeVec): void;
|
|
3665
3627
|
MirrorByVec(vec: MdGeVec): void;
|
|
3666
3628
|
MirroredByVec(vec: MdGeVec): MdGeVec;
|
|
3667
3629
|
MirrorByAxis(axis: MdGeAxis): void;
|
|
@@ -3678,123 +3640,42 @@ export declare class MdGeVec {
|
|
|
3678
3640
|
/**
|
|
3679
3641
|
* 表示一个Wire形状。
|
|
3680
3642
|
*/
|
|
3681
|
-
export declare class MdGeWire extends MdGeShape {
|
|
3682
|
-
/**
|
|
3683
|
-
* 构造函数。
|
|
3684
|
-
*/
|
|
3685
|
-
constructor();
|
|
3686
|
-
/**
|
|
3687
|
-
* 添加Edge,形成Wire。
|
|
3688
|
-
* @param edge 要添加的Edge。
|
|
3689
|
-
* @returns 最终的Wire。
|
|
3690
|
-
*/
|
|
3691
|
-
AddedEdge(edge: MdGeEdge): MdGeWire;
|
|
3692
|
-
/**
|
|
3693
|
-
* 添加Wire,形成Wire。
|
|
3694
|
-
* @param wire 要添加的Wire。
|
|
3695
|
-
* @returns 最终的Wire。
|
|
3696
|
-
*/
|
|
3697
|
-
AddedWire(wire: MdGeWire): MdGeWire;
|
|
3698
|
-
/**
|
|
3699
|
-
* 绘制Wire。
|
|
3700
|
-
*/
|
|
3701
|
-
Draw(): void;
|
|
3702
|
-
}
|
|
3703
3643
|
/**
|
|
3704
3644
|
* 表示一个Edge形状。
|
|
3705
3645
|
*/
|
|
3706
|
-
export declare class MdGeEdge extends MdGeShape {
|
|
3707
|
-
/**
|
|
3708
|
-
* 构造函数。
|
|
3709
|
-
*/
|
|
3710
|
-
constructor();
|
|
3711
|
-
/**
|
|
3712
|
-
* 构造函数。
|
|
3713
|
-
* @param pt1 第一个点。
|
|
3714
|
-
* @param pt2 第二个点。
|
|
3715
|
-
*/
|
|
3716
|
-
constructor(pt1: MdGePoint, pt2: MdGePoint);
|
|
3717
|
-
/**
|
|
3718
|
-
* 获得MdGeWire类型的Edge。
|
|
3719
|
-
* @returns MdGeWire类型的Edge形状。
|
|
3720
|
-
*/
|
|
3721
|
-
Wire(): MdGeWire;
|
|
3722
|
-
/**
|
|
3723
|
-
* 添加Edge,形成Wire。
|
|
3724
|
-
* @param edge 要添加的Egde。
|
|
3725
|
-
* @returns 最终的Wire形状。
|
|
3726
|
-
*/
|
|
3727
|
-
AddedEdge(edge: MdGeEdge): MdGeWire;
|
|
3728
|
-
/**
|
|
3729
|
-
* 添加Wire,形成Edge。
|
|
3730
|
-
* @param wire 要添加的Wire。
|
|
3731
|
-
* @returns 最终的Wire形状。
|
|
3732
|
-
*/
|
|
3733
|
-
AddedWire(wire: MdGeWire): MdGeWire;
|
|
3734
|
-
/**
|
|
3735
|
-
* 绘制Edge。
|
|
3736
|
-
*/
|
|
3737
|
-
Draw(): void;
|
|
3738
|
-
}
|
|
3739
3646
|
/**
|
|
3740
3647
|
* 表示一个Vertex形状。
|
|
3741
3648
|
*/
|
|
3742
|
-
export declare class MdGeVertex extends MdGeShape {
|
|
3743
|
-
constructor();
|
|
3744
|
-
constructor(x: number, y: number, z: number);
|
|
3745
|
-
constructor(pt: MdGePoint);
|
|
3746
|
-
Draw(): void;
|
|
3747
|
-
}
|
|
3748
3649
|
/**
|
|
3749
3650
|
* 表示一个Face形状。
|
|
3750
3651
|
*/
|
|
3751
|
-
export declare class MdGeFace extends MdGeShape {
|
|
3752
|
-
constructor();
|
|
3753
|
-
Draw(): void;
|
|
3754
|
-
}
|
|
3755
3652
|
/**
|
|
3756
3653
|
* 表示一个Shell形状。
|
|
3757
3654
|
*/
|
|
3758
|
-
export declare class MdGeShell extends MdGeShape {
|
|
3759
|
-
constructor();
|
|
3760
|
-
Draw(): void;
|
|
3761
|
-
}
|
|
3762
3655
|
/**
|
|
3763
3656
|
* 表示一个Solid形状。
|
|
3764
3657
|
*/
|
|
3765
|
-
export declare class MdGeSolid extends MdGeShape {
|
|
3766
|
-
constructor();
|
|
3767
|
-
Draw(): void;
|
|
3768
|
-
}
|
|
3769
3658
|
/**
|
|
3770
3659
|
* 表示一个CompSolid形状。
|
|
3771
3660
|
*/
|
|
3772
|
-
export declare class MdGeCompSolid extends MdGeShape {
|
|
3773
|
-
constructor();
|
|
3774
|
-
Draw(): void;
|
|
3775
|
-
}
|
|
3776
3661
|
/**
|
|
3777
3662
|
* 表示一个Compound形状。
|
|
3778
3663
|
*/
|
|
3779
|
-
export declare class MdGeCompound extends MdGeShape {
|
|
3780
|
-
constructor();
|
|
3781
|
-
Draw(): void;
|
|
3782
|
-
}
|
|
3783
3664
|
/**
|
|
3784
3665
|
* 表示角度标注。
|
|
3785
3666
|
*/
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3667
|
+
/**
|
|
3668
|
+
* 表示角度标注
|
|
3669
|
+
*/
|
|
3670
|
+
export declare class MdGeAngleDim extends MdGeObject {
|
|
3671
|
+
constructor(p1?: MdGeEdge | MdGePoint | object, p2?: MdGeEdge | MdGePoint, p3?: MdGePoint);
|
|
3789
3672
|
FirstPoint(): MdGePoint;
|
|
3790
3673
|
SecondPoint(): MdGePoint;
|
|
3791
3674
|
CenterPoint(): MdGePoint;
|
|
3792
3675
|
FirstShape(): MdGeShape;
|
|
3793
3676
|
SecondShape(): MdGeShape;
|
|
3794
3677
|
ThirdShape(): MdGeShape;
|
|
3795
|
-
SetMeasuredGeometry(
|
|
3796
|
-
SetMeasuredGeometry(theFirstPoint: MdGePoint, theSecondPoint: MdGePoint, theThridPoint: MdGePoint): void;
|
|
3797
|
-
SetMeasuredGeometry(theCone: MdGeFace): void;
|
|
3678
|
+
SetMeasuredGeometry(p1: MdGeFace | MdGeEdge | MdGePoint, p2?: MdGeEdge | MdGePoint, p3?: MdGePoint): void;
|
|
3798
3679
|
SetTextPosition(theTextPos: MdGePoint): void;
|
|
3799
3680
|
GetTextPosition(): MdGePoint;
|
|
3800
3681
|
GetNormalForMinAngle(): MdGeDir;
|
|
@@ -3804,9 +3685,11 @@ export declare class MdGeAngleDim {
|
|
|
3804
3685
|
/**
|
|
3805
3686
|
* 表示一维整数数组。
|
|
3806
3687
|
*/
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3688
|
+
/**
|
|
3689
|
+
* 表示一维整数数组。
|
|
3690
|
+
*/
|
|
3691
|
+
export declare class MdGeArray1OfInteger extends MdGeObject {
|
|
3692
|
+
constructor(p1?: number | object, p2?: number);
|
|
3810
3693
|
Init(theInteger: number): void;
|
|
3811
3694
|
Size(): number;
|
|
3812
3695
|
Length(): number;
|
|
@@ -3824,9 +3707,11 @@ export declare class MdGeArray1OfInteger {
|
|
|
3824
3707
|
/**
|
|
3825
3708
|
* 表示一维点数组。
|
|
3826
3709
|
*/
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3710
|
+
/**
|
|
3711
|
+
* 表示一维点数组。
|
|
3712
|
+
*/
|
|
3713
|
+
export declare class MdGeArray1OfPnt extends MdGeObject {
|
|
3714
|
+
constructor(p1?: number | object, p2?: number);
|
|
3830
3715
|
Init(thePnt: MdGePoint): void;
|
|
3831
3716
|
Size(): number;
|
|
3832
3717
|
Length(): number;
|
|
@@ -3844,9 +3729,11 @@ export declare class MdGeArray1OfPnt {
|
|
|
3844
3729
|
/**
|
|
3845
3730
|
* 表示一维实数数组。
|
|
3846
3731
|
*/
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3732
|
+
/**
|
|
3733
|
+
* 表示一维实数数组。
|
|
3734
|
+
*/
|
|
3735
|
+
export declare class MdGeArray1OfReal extends MdGeObject {
|
|
3736
|
+
constructor(p1?: number | object, p2?: number);
|
|
3850
3737
|
Init(theReal: number): void;
|
|
3851
3738
|
Size(): number;
|
|
3852
3739
|
Length(): number;
|
|
@@ -3864,10 +3751,11 @@ export declare class MdGeArray1OfReal {
|
|
|
3864
3751
|
/**
|
|
3865
3752
|
* 表示二维点数组。
|
|
3866
3753
|
*/
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3754
|
+
/**
|
|
3755
|
+
* 表示二维点数组。
|
|
3756
|
+
*/
|
|
3757
|
+
export declare class MdGeArray2OfPnt extends MdGeObject {
|
|
3758
|
+
constructor(p1?: number | MdGePoint | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
3871
3759
|
Init(thePoint: MdGePoint): void;
|
|
3872
3760
|
Size(): number;
|
|
3873
3761
|
Length(): number;
|
|
@@ -3887,10 +3775,11 @@ export declare class MdGeArray2OfPnt {
|
|
|
3887
3775
|
/**
|
|
3888
3776
|
* 表示二维实数数组。
|
|
3889
3777
|
*/
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3778
|
+
/**
|
|
3779
|
+
* 表示二维实数数组。
|
|
3780
|
+
*/
|
|
3781
|
+
export declare class MdGeArray2OfReal extends MdGeObject {
|
|
3782
|
+
constructor(p1?: number | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
3894
3783
|
Init(theReal: number): void;
|
|
3895
3784
|
Size(): number;
|
|
3896
3785
|
Length(): number;
|
|
@@ -3910,25 +3799,25 @@ export declare class MdGeArray2OfReal {
|
|
|
3910
3799
|
/**
|
|
3911
3800
|
* 表示贝塞尔曲线
|
|
3912
3801
|
*/
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3802
|
+
/**
|
|
3803
|
+
* 表示贝塞尔曲线
|
|
3804
|
+
*/
|
|
3805
|
+
export declare class MdGeBezierCurve extends MdGeObject {
|
|
3806
|
+
constructor(p1?: MdGeArray1OfPnt | object, p2?: MdGeArray1OfReal);
|
|
3916
3807
|
Increase(Degree: number): void;
|
|
3917
|
-
InsertPoleAfter(
|
|
3918
|
-
|
|
3919
|
-
InsertPoleBefore(Index: number, P: MdGePoint): void;
|
|
3920
|
-
InsertPoleBefore(Index: number, P: MdGePoint, Weight: number): void;
|
|
3808
|
+
InsertPoleAfter(p1: number, p2: MdGePoint, p3?: number): void;
|
|
3809
|
+
InsertPoleBefore(p1: number, p2: MdGePoint, p3?: number): void;
|
|
3921
3810
|
RemovePole(Index: number): void;
|
|
3922
3811
|
Reverse(): void;
|
|
3923
3812
|
ReversedParameter(U: number): number;
|
|
3924
3813
|
Segment(U1: number, U2: number): void;
|
|
3925
|
-
SetPole(
|
|
3926
|
-
SetPole(Index: number, P: MdGePoint, Weight: number): void;
|
|
3814
|
+
SetPole(p1: number, p2: MdGePoint, p3?: number): void;
|
|
3927
3815
|
SetWeight(Index: number, Weight: number): void;
|
|
3928
3816
|
IsClosed(): boolean;
|
|
3929
3817
|
IsCN(N: number): boolean;
|
|
3930
3818
|
IsPeriodic(): boolean;
|
|
3931
3819
|
IsRational(): boolean;
|
|
3820
|
+
Continuity(): MdGe.MxGAShapeEnum;
|
|
3932
3821
|
Degree(): number;
|
|
3933
3822
|
DN(U: number, N: number): MdGeVec;
|
|
3934
3823
|
StartPoint(): MdGePoint;
|
|
@@ -3949,28 +3838,23 @@ export declare class MdGeBezierCurve {
|
|
|
3949
3838
|
/**
|
|
3950
3839
|
* 表示贝塞尔曲面
|
|
3951
3840
|
*/
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3841
|
+
/**
|
|
3842
|
+
* 表示贝塞尔曲面
|
|
3843
|
+
*/
|
|
3844
|
+
export declare class MdGeBezierSurface extends MdGeObject {
|
|
3845
|
+
constructor(p1?: MdGeArray2OfPnt | object, p2?: MdGeArray2OfReal);
|
|
3955
3846
|
ExchangeUV(): void;
|
|
3956
3847
|
Increase(UDeg: number, VDeg: number): void;
|
|
3957
|
-
InsertPoleColAfter(
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
InsertPoleRowAfter(UIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
3962
|
-
InsertPoleRowAfter(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3963
|
-
InsertPoleRowBefore(UIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
3964
|
-
InsertPoleRowBefore(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3848
|
+
InsertPoleColAfter(p1: number, p2: MdGeArray1OfPnt, p3?: MdGeArray1OfReal): void;
|
|
3849
|
+
InsertPoleColBefore(p1: number, p2: MdGeArray1OfPnt, p3?: MdGeArray1OfReal): void;
|
|
3850
|
+
InsertPoleRowAfter(p1: number, p2: MdGeArray1OfPnt, p3?: MdGeArray1OfReal): void;
|
|
3851
|
+
InsertPoleRowBefore(p1: number, p2: MdGeArray1OfPnt, p3?: MdGeArray1OfReal): void;
|
|
3965
3852
|
RemovePoleCol(VIndex: number): void;
|
|
3966
3853
|
RemovePoleRow(UIndex: number): void;
|
|
3967
3854
|
Segment(U1: number, U2: number, V1: number, V2: number): void;
|
|
3968
|
-
SetPole(
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
SetPoleCol(VIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3972
|
-
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
3973
|
-
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
3855
|
+
SetPole(p1: number, p2: number, p3: MdGePoint, p4?: number): void;
|
|
3856
|
+
SetPoleCol(p1: number, p2: MdGeArray1OfPnt, p3?: MdGeArray1OfReal): void;
|
|
3857
|
+
SetPoleRow(p1: number, p2: MdGeArray1OfPnt, p3?: MdGeArray1OfReal): void;
|
|
3974
3858
|
SetWeight(UIndex: number, VIndex: number, Weight: number): void;
|
|
3975
3859
|
SetWeightCol(VIndex: number, CPoleWeights: MdGeArray1OfReal): void;
|
|
3976
3860
|
SetWeightRow(UIndex: number, CPoleWeights: MdGeArray1OfReal): void;
|
|
@@ -3978,6 +3862,7 @@ export declare class MdGeBezierSurface {
|
|
|
3978
3862
|
UReversedParameter(U: number): number;
|
|
3979
3863
|
VReverse(): void;
|
|
3980
3864
|
VReversedParameter(V: number): number;
|
|
3865
|
+
Continuity(): MdGe.MxGAShapeEnum;
|
|
3981
3866
|
DN(U: number, V: number, Nu: number, Nv: number): MdGeVec;
|
|
3982
3867
|
NbUPoles(): number;
|
|
3983
3868
|
NbVPoles(): number;
|
|
@@ -4003,11 +3888,12 @@ export declare class MdGeBezierSurface {
|
|
|
4003
3888
|
/**
|
|
4004
3889
|
* 表示倒斜角
|
|
4005
3890
|
*/
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
3891
|
+
/**
|
|
3892
|
+
* 表示倒斜角
|
|
3893
|
+
*/
|
|
3894
|
+
export declare class MdGeChamfer extends MdGeObject {
|
|
3895
|
+
constructor(p?: MdGeShape | object);
|
|
3896
|
+
Add(p1: MdGeEdge | number, p2?: MdGeEdge | number, p3?: MdGeEdge, p4?: MdGeFace): void;
|
|
4011
3897
|
SetDist(Dis: number, IC: number, F: MdGeFace): void;
|
|
4012
3898
|
GetDist(IC: number, Dis: number): void;
|
|
4013
3899
|
SetDists(Dis1: number, Dis2: number, IC: number, F: MdGeFace): void;
|
|
@@ -4015,6 +3901,7 @@ export declare class MdGeChamfer {
|
|
|
4015
3901
|
AddDA(Dis: number, Angle: number, E: MdGeEdge, F: MdGeFace): void;
|
|
4016
3902
|
SetDistAngle(Dis: number, Angle: number, IC: number, F: MdGeFace): void;
|
|
4017
3903
|
GetDistAngle(IC: number, Dis: number, Angle: number): void;
|
|
3904
|
+
SetMode(theMode: MdGe.MxCFDSChamfMode): void;
|
|
4018
3905
|
IsSymetric(IC: number): boolean;
|
|
4019
3906
|
IsTwoDistances(IC: number): boolean;
|
|
4020
3907
|
IsDistanceAngle(IC: number): boolean;
|
|
@@ -4039,9 +3926,11 @@ export declare class MdGeChamfer {
|
|
|
4039
3926
|
/**
|
|
4040
3927
|
* 表示一个圆
|
|
4041
3928
|
*/
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
3929
|
+
/**
|
|
3930
|
+
* 表示一个圆。
|
|
3931
|
+
*/
|
|
3932
|
+
export declare class MdGeCircle extends MdGeObject {
|
|
3933
|
+
constructor(p1?: MdGeCSYSR | object, p2?: number);
|
|
4045
3934
|
SetAxis(theA1: MdGeAxis): void;
|
|
4046
3935
|
SetLocation(theP: MdGePoint): void;
|
|
4047
3936
|
SetPosition(theA2: MdGeCSYSR): void;
|
|
@@ -4074,24 +3963,23 @@ export declare class MdGeCircle {
|
|
|
4074
3963
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4075
3964
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeCircle;
|
|
4076
3965
|
Shape(): MdGeShape;
|
|
4077
|
-
Edge(): MdGeEdge;
|
|
4078
|
-
Edge(p1: number, p2: number): MdGeEdge;
|
|
3966
|
+
Edge(p1?: number, p2?: number): MdGeEdge;
|
|
4079
3967
|
Wire(): MdGeWire;
|
|
4080
3968
|
}
|
|
4081
3969
|
/**
|
|
4082
3970
|
* 表示一个坐标系(左手或右手)
|
|
4083
3971
|
*/
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
3972
|
+
/**
|
|
3973
|
+
* 表示一个坐标系(左手或右手)
|
|
3974
|
+
*/
|
|
3975
|
+
export declare class MdGeCSYS extends MdGeObject {
|
|
3976
|
+
constructor(p1?: MdGePoint | object, p2?: MdGeDir, p3?: MdGeDir);
|
|
4088
3977
|
XReverse(): void;
|
|
4089
3978
|
YReverse(): void;
|
|
4090
3979
|
ZReverse(): void;
|
|
4091
3980
|
SetZAxis(z_axis: MdGeAxis): void;
|
|
4092
3981
|
SetZDirection(z_dir: MdGeDir): void;
|
|
4093
|
-
SetOrigin(
|
|
4094
|
-
SetOrigin(theX: number, theY: number, theZ: number): void;
|
|
3982
|
+
SetOrigin(p1: MdGePoint | number, p2?: number, p3?: number): void;
|
|
4095
3983
|
SetXDirection(x_dir: MdGeDir): void;
|
|
4096
3984
|
SetYDirection(y_dir: MdGeDir): void;
|
|
4097
3985
|
Angle(other: MdGeCSYS): number;
|
|
@@ -4124,9 +4012,11 @@ export declare class MdGeCSYS {
|
|
|
4124
4012
|
/**
|
|
4125
4013
|
* 表示一个圆锥
|
|
4126
4014
|
*/
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4015
|
+
/**
|
|
4016
|
+
* 表示一个圆锥
|
|
4017
|
+
*/
|
|
4018
|
+
export declare class MdGeCone extends MdGeObject {
|
|
4019
|
+
constructor(p1?: MdGeCSYS | object, p2?: number, p3?: number);
|
|
4130
4020
|
SetAxis(theA1: MdGeAxis): void;
|
|
4131
4021
|
SetLocation(theLoc: MdGePoint): void;
|
|
4132
4022
|
SetPosition(theA3: MdGeCSYS): void;
|
|
@@ -4160,16 +4050,16 @@ export declare class MdGeCone {
|
|
|
4160
4050
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4161
4051
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeCone;
|
|
4162
4052
|
Shape(H: number, Angle?: number): MdGeShape;
|
|
4163
|
-
Face(): MdGeFace;
|
|
4164
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number): MdGeFace;
|
|
4165
|
-
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
4053
|
+
Face(p1?: number | MdGeWire, p2?: number | boolean, p3?: number, p4?: number): MdGeFace;
|
|
4166
4054
|
}
|
|
4167
4055
|
/**
|
|
4168
4056
|
* 表示一个圆柱
|
|
4169
4057
|
*/
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4058
|
+
/**
|
|
4059
|
+
* 表示一个圆柱。
|
|
4060
|
+
*/
|
|
4061
|
+
export declare class MdGeCylinder extends MdGeObject {
|
|
4062
|
+
constructor(p1?: MdGeCSYS | object, p2?: number);
|
|
4173
4063
|
SetAxis(theA1: MdGeAxis): void;
|
|
4174
4064
|
SetLocation(theLoc: MdGePoint): void;
|
|
4175
4065
|
SetPosition(theA3: MdGeCSYS): void;
|
|
@@ -4200,18 +4090,16 @@ export declare class MdGeCylinder {
|
|
|
4200
4090
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4201
4091
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeCylinder;
|
|
4202
4092
|
Shape(H: number, Angle?: number): MdGeShape;
|
|
4203
|
-
Face(): MdGeFace;
|
|
4204
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number): MdGeFace;
|
|
4205
|
-
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
4093
|
+
Face(p1?: MdGeWire | number, p2?: boolean | number, p3?: number, p4?: number): MdGeFace;
|
|
4206
4094
|
}
|
|
4207
4095
|
/**
|
|
4208
4096
|
* 表示一个平面
|
|
4209
4097
|
*/
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
constructor(
|
|
4098
|
+
/**
|
|
4099
|
+
* 表示一个平面
|
|
4100
|
+
*/
|
|
4101
|
+
export declare class MdGePlane extends MdGeObject {
|
|
4102
|
+
constructor(p1?: MdGeCSYS | MdGePoint | number | object, p2?: MdGeDir | number, p3?: number, p4?: number);
|
|
4215
4103
|
SetAxis(theA1: MdGeAxis): void;
|
|
4216
4104
|
SetLocation(theLoc: MdGePoint): void;
|
|
4217
4105
|
SetPosition(theA3: MdGeCSYS): void;
|
|
@@ -4244,16 +4132,16 @@ export declare class MdGePlane {
|
|
|
4244
4132
|
TranslatedByVec(theV: MdGeVec): MdGePlane;
|
|
4245
4133
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4246
4134
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGePlane;
|
|
4247
|
-
Face(): MdGeFace;
|
|
4248
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number): MdGeFace;
|
|
4249
|
-
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
4135
|
+
Face(p1?: MdGeWire | number, p2?: boolean | number, p3?: number, p4?: number): MdGeFace;
|
|
4250
4136
|
}
|
|
4251
4137
|
/**
|
|
4252
4138
|
* 表示直径标注
|
|
4253
4139
|
*/
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4140
|
+
/**
|
|
4141
|
+
* 表示直径标注
|
|
4142
|
+
*/
|
|
4143
|
+
export declare class MdGeDiameterDim extends MdGeObject {
|
|
4144
|
+
constructor(p1?: MdGeCircle | object, p2?: MdGePlane);
|
|
4257
4145
|
Circle(): MdGeCircle;
|
|
4258
4146
|
AnchorPoint(): MdGePoint;
|
|
4259
4147
|
Shape(): MdGeShape;
|
|
@@ -4265,9 +4153,11 @@ export declare class MdGeDiameterDim {
|
|
|
4265
4153
|
/**
|
|
4266
4154
|
* 表示一个椭圆
|
|
4267
4155
|
*/
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4156
|
+
/**
|
|
4157
|
+
* 表示一个椭圆
|
|
4158
|
+
*/
|
|
4159
|
+
export declare class MdGeEllipse extends MdGeObject {
|
|
4160
|
+
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
4271
4161
|
SetAxis(theA1: MdGeAxis): void;
|
|
4272
4162
|
SetLocation(theP: MdGePoint): void;
|
|
4273
4163
|
SetMajorRadius(theMajorRadius: number): void;
|
|
@@ -4300,100 +4190,671 @@ export declare class MdGeEllipse {
|
|
|
4300
4190
|
Scaled(theP: MdGePoint, theS: number): MdGeEllipse;
|
|
4301
4191
|
Transform(theT: MdGeTrsf): void;
|
|
4302
4192
|
Transformed(theT: MdGeTrsf): MdGeEllipse;
|
|
4303
|
-
Translate(theV: MdGeVec): void;
|
|
4304
|
-
Translated(theV: MdGeVec): MdGeEllipse;
|
|
4305
|
-
Translate(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4306
|
-
Translated(theP1: MdGePoint, theP2: MdGePoint): MdGeEllipse;
|
|
4307
4193
|
Shape(): MdGeShape;
|
|
4308
4194
|
Wire(): MdGeWire;
|
|
4309
|
-
Edge(): MdGeEdge;
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
-
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
|
|
4322
|
-
}
|
|
4323
|
-
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
}
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
}
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
}
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
}
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
}
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
}
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
}
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
}
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
}
|
|
4385
|
-
|
|
4386
|
-
|
|
4387
|
-
|
|
4388
|
-
|
|
4195
|
+
Edge(p1?: number, p2?: number): MdGeEdge;
|
|
4196
|
+
}
|
|
4197
|
+
export declare namespace MdGe {
|
|
4198
|
+
enum MxShapeEnum {
|
|
4199
|
+
Enum_COMPOUND = 0,
|
|
4200
|
+
Enum_COMPSOLID = 1,
|
|
4201
|
+
Enum_SOLID = 2,
|
|
4202
|
+
Enum_SHELL = 3,
|
|
4203
|
+
Enum_FACE = 4,
|
|
4204
|
+
Enum_WIRE = 5,
|
|
4205
|
+
Enum_EDGE = 6,
|
|
4206
|
+
Enum_VERTEX = 7,
|
|
4207
|
+
Enum_SHAPE = 8
|
|
4208
|
+
}
|
|
4209
|
+
enum MxHorizontalTextAlignment {
|
|
4210
|
+
HTA_LEFT = 0,
|
|
4211
|
+
HTA_CENTER = 1,
|
|
4212
|
+
HTA_RIGHT = 2
|
|
4213
|
+
}
|
|
4214
|
+
enum MxVerticalTextAlignment {
|
|
4215
|
+
CVTA_BOTTOM = 0,
|
|
4216
|
+
CVTA_CENTER = 1,
|
|
4217
|
+
CVTA_TOP = 2,
|
|
4218
|
+
CVTA_TOPFIRSTLINE = 3
|
|
4219
|
+
}
|
|
4220
|
+
enum MxFontAspect {
|
|
4221
|
+
FA_UNDEFINED = -1,
|
|
4222
|
+
FA_Regular = 0,
|
|
4223
|
+
FA_Bold = 1,
|
|
4224
|
+
FA_Italic = 2,
|
|
4225
|
+
FA_BoldItalic = 3
|
|
4226
|
+
}
|
|
4227
|
+
enum MxTypeOfDisplayText {
|
|
4228
|
+
TODT_NORMAL = 0,
|
|
4229
|
+
TODT_SUBTITLE = 1,
|
|
4230
|
+
TODT_DEKALE = 2,
|
|
4231
|
+
TODT_BLEND = 3,
|
|
4232
|
+
TODT_DIMENSION = 4,
|
|
4233
|
+
TODT_SHADOW = 5
|
|
4234
|
+
}
|
|
4235
|
+
enum MxCF3dFilletShapeEnum {
|
|
4236
|
+
Enum_Rational = 0,
|
|
4237
|
+
Enum_QuasiAngular = 1,
|
|
4238
|
+
Enum_Polynomial = 2
|
|
4239
|
+
}
|
|
4240
|
+
enum MxCFDSChamfMode {
|
|
4241
|
+
Enum_ClassicChamfer = 0,
|
|
4242
|
+
Enum_ConstThroatChamfer = 1,
|
|
4243
|
+
Enum_ConstThroatWithPenetrationChamfer = 2
|
|
4244
|
+
}
|
|
4245
|
+
enum MxGFTrihedron {
|
|
4246
|
+
GF_IsCorrectedFrenet = 0,
|
|
4247
|
+
GF_IsFixed = 1,
|
|
4248
|
+
GF_IsFrenet = 2,
|
|
4249
|
+
GF_IsConstantNormal = 3,
|
|
4250
|
+
GF_IsDarboux = 4,
|
|
4251
|
+
GF_IsGuideAC = 5,
|
|
4252
|
+
GF_IsGuidePlan = 6,
|
|
4253
|
+
GF_IsGuideACWithContact = 7,
|
|
4254
|
+
GF_IsGuidePlanWithContact = 8,
|
|
4255
|
+
GF_IsDiscreteTrihedron = 9
|
|
4256
|
+
}
|
|
4257
|
+
enum MxGAShapeEnum {
|
|
4258
|
+
GA_C0 = 0,
|
|
4259
|
+
GA_G1 = 1,
|
|
4260
|
+
GA_C1 = 2,
|
|
4261
|
+
GA_G2 = 3,
|
|
4262
|
+
GA_C2 = 4,
|
|
4263
|
+
GA_C3 = 5,
|
|
4264
|
+
GA_CN = 6
|
|
4265
|
+
}
|
|
4266
|
+
enum MxOffsetModeEnum {
|
|
4267
|
+
Offset_Skin = 0,
|
|
4268
|
+
Offset_Pipe = 1,
|
|
4269
|
+
Offset_RectoVerso = 2
|
|
4270
|
+
}
|
|
4271
|
+
enum MxGAJoinTypeEnum {
|
|
4272
|
+
GA_Arc = 0,
|
|
4273
|
+
GA_Tangent = 1,
|
|
4274
|
+
GA_Intersection = 2
|
|
4275
|
+
}
|
|
4276
|
+
enum MxNameOfMaterial {
|
|
4277
|
+
Material_NOM_Brass = 0,
|
|
4278
|
+
Material_NOM_Bronze = 1,
|
|
4279
|
+
Material_NOM_Copper = 2,
|
|
4280
|
+
Material_NOM_Gold = 3,
|
|
4281
|
+
Material_NOM_Pewter = 4,
|
|
4282
|
+
Material_NOM_Plastered = 5,
|
|
4283
|
+
Material_NOM_Plastified = 6,
|
|
4284
|
+
Material_NOM_Silver = 7,
|
|
4285
|
+
Material_NOM_Steel = 8,
|
|
4286
|
+
Material_NOM_Stone = 9,
|
|
4287
|
+
Material_NOM_ShinyPlastified = 10,
|
|
4288
|
+
Material_NOM_Satin = 11,
|
|
4289
|
+
Material_NOM_Metalized = 12,
|
|
4290
|
+
Material_NOM_Ionized = 13,
|
|
4291
|
+
Material_NOM_Chrome = 14,
|
|
4292
|
+
Material_NOM_Aluminum = 15,
|
|
4293
|
+
Material_NOM_Obsidian = 16,
|
|
4294
|
+
Material_NOM_Neon = 17,
|
|
4295
|
+
Material_NOM_Jade = 18,
|
|
4296
|
+
Material_NOM_Charcoal = 19,
|
|
4297
|
+
Material_NOM_Water = 20,
|
|
4298
|
+
Material_NOM_Glass = 21,
|
|
4299
|
+
Material_NOM_Diamond = 22,
|
|
4300
|
+
Material_NOM_Transparent = 23,
|
|
4301
|
+
Material_NOM_DEFAULT = 24,
|
|
4302
|
+
Material_NOM_UserDefined = 25
|
|
4303
|
+
}
|
|
4304
|
+
enum MxTypeOfMaterial {
|
|
4305
|
+
Material_TOM_ASPECT = 0,
|
|
4306
|
+
Material_TOM_PHYSIC = 1
|
|
4307
|
+
}
|
|
4308
|
+
enum MxTypeOfReflection {
|
|
4309
|
+
Reflection_TOR_AMBIENT = 0,
|
|
4310
|
+
Reflection_TOR_DIFFUSE = 1,
|
|
4311
|
+
Reflection_TOR_SPECULAR = 2,
|
|
4312
|
+
Reflection_TOR_EMISSION = 3
|
|
4313
|
+
}
|
|
4314
|
+
enum MxNameOfColor {
|
|
4315
|
+
Color_NOC_BLACK = 0,
|
|
4316
|
+
Color_NOC_MATRABLUE = 1,
|
|
4317
|
+
Color_NOC_MATRAGRAY = 2,
|
|
4318
|
+
Color_NOC_ALICEBLUE = 3,
|
|
4319
|
+
Color_NOC_ANTIQUEWHITE = 4,
|
|
4320
|
+
Color_NOC_ANTIQUEWHITE1 = 5,
|
|
4321
|
+
Color_NOC_ANTIQUEWHITE2 = 6,
|
|
4322
|
+
Color_NOC_ANTIQUEWHITE3 = 7,
|
|
4323
|
+
Color_NOC_ANTIQUEWHITE4 = 8,
|
|
4324
|
+
Color_NOC_AQUAMARINE1 = 9,
|
|
4325
|
+
Color_NOC_AQUAMARINE2 = 10,
|
|
4326
|
+
Color_NOC_AQUAMARINE4 = 11,
|
|
4327
|
+
Color_NOC_AZURE = 12,
|
|
4328
|
+
Color_NOC_AZURE2 = 13,
|
|
4329
|
+
Color_NOC_AZURE3 = 14,
|
|
4330
|
+
Color_NOC_AZURE4 = 15,
|
|
4331
|
+
Color_NOC_BEIGE = 16,
|
|
4332
|
+
Color_NOC_BISQUE = 17,
|
|
4333
|
+
Color_NOC_BISQUE2 = 18,
|
|
4334
|
+
Color_NOC_BISQUE3 = 19,
|
|
4335
|
+
Color_NOC_BISQUE4 = 20,
|
|
4336
|
+
Color_NOC_BLANCHEDALMOND = 21,
|
|
4337
|
+
Color_NOC_BLUE = 22,
|
|
4338
|
+
Color_NOC_BLUE1 = 22,
|
|
4339
|
+
Color_NOC_BLUE2 = 23,
|
|
4340
|
+
Color_NOC_BLUE3 = 24,
|
|
4341
|
+
Color_NOC_BLUE4 = 25,
|
|
4342
|
+
Color_NOC_BLUEVIOLET = 26,
|
|
4343
|
+
Color_NOC_BROWN = 27,
|
|
4344
|
+
Color_NOC_BROWN1 = 28,
|
|
4345
|
+
Color_NOC_BROWN2 = 29,
|
|
4346
|
+
Color_NOC_BROWN3 = 30,
|
|
4347
|
+
Color_NOC_BROWN4 = 31,
|
|
4348
|
+
Color_NOC_BURLYWOOD = 32,
|
|
4349
|
+
Color_NOC_BURLYWOOD1 = 33,
|
|
4350
|
+
Color_NOC_BURLYWOOD2 = 34,
|
|
4351
|
+
Color_NOC_BURLYWOOD3 = 35,
|
|
4352
|
+
Color_NOC_BURLYWOOD4 = 36,
|
|
4353
|
+
Color_NOC_CADETBLUE = 37,
|
|
4354
|
+
Color_NOC_CADETBLUE1 = 38,
|
|
4355
|
+
Color_NOC_CADETBLUE2 = 39,
|
|
4356
|
+
Color_NOC_CADETBLUE3 = 40,
|
|
4357
|
+
Color_NOC_CADETBLUE4 = 41,
|
|
4358
|
+
Color_NOC_CHARTREUSE = 42,
|
|
4359
|
+
Color_NOC_CHARTREUSE1 = 42,
|
|
4360
|
+
Color_NOC_CHARTREUSE2 = 43,
|
|
4361
|
+
Color_NOC_CHARTREUSE3 = 44,
|
|
4362
|
+
Color_NOC_CHARTREUSE4 = 45,
|
|
4363
|
+
Color_NOC_CHOCOLATE = 46,
|
|
4364
|
+
Color_NOC_CHOCOLATE1 = 47,
|
|
4365
|
+
Color_NOC_CHOCOLATE2 = 48,
|
|
4366
|
+
Color_NOC_CHOCOLATE3 = 49,
|
|
4367
|
+
Color_NOC_CHOCOLATE4 = 50,
|
|
4368
|
+
Color_NOC_CORAL = 51,
|
|
4369
|
+
Color_NOC_CORAL1 = 52,
|
|
4370
|
+
Color_NOC_CORAL2 = 53,
|
|
4371
|
+
Color_NOC_CORAL3 = 54,
|
|
4372
|
+
Color_NOC_CORAL4 = 55,
|
|
4373
|
+
Color_NOC_CORNFLOWERBLUE = 56,
|
|
4374
|
+
Color_NOC_CORNSILK1 = 57,
|
|
4375
|
+
Color_NOC_CORNSILK2 = 58,
|
|
4376
|
+
Color_NOC_CORNSILK3 = 59,
|
|
4377
|
+
Color_NOC_CORNSILK4 = 60,
|
|
4378
|
+
Color_NOC_CYAN = 61,
|
|
4379
|
+
Color_NOC_CYAN1 = 61,
|
|
4380
|
+
Color_NOC_CYAN2 = 62,
|
|
4381
|
+
Color_NOC_CYAN3 = 63,
|
|
4382
|
+
Color_NOC_CYAN4 = 64,
|
|
4383
|
+
Color_NOC_DARKGOLDENROD = 65,
|
|
4384
|
+
Color_NOC_DARKGOLDENROD1 = 66,
|
|
4385
|
+
Color_NOC_DARKGOLDENROD2 = 67,
|
|
4386
|
+
Color_NOC_DARKGOLDENROD3 = 68,
|
|
4387
|
+
Color_NOC_DARKGOLDENROD4 = 69,
|
|
4388
|
+
Color_NOC_DARKGREEN = 70,
|
|
4389
|
+
Color_NOC_DARKKHAKI = 71,
|
|
4390
|
+
Color_NOC_DARKOLIVEGREEN = 72,
|
|
4391
|
+
Color_NOC_DARKOLIVEGREEN1 = 73,
|
|
4392
|
+
Color_NOC_DARKOLIVEGREEN2 = 74,
|
|
4393
|
+
Color_NOC_DARKOLIVEGREEN3 = 75,
|
|
4394
|
+
Color_NOC_DARKOLIVEGREEN4 = 76,
|
|
4395
|
+
Color_NOC_DARKORANGE = 77,
|
|
4396
|
+
Color_NOC_DARKORANGE1 = 78,
|
|
4397
|
+
Color_NOC_DARKORANGE2 = 79,
|
|
4398
|
+
Color_NOC_DARKORANGE3 = 80,
|
|
4399
|
+
Color_NOC_DARKORANGE4 = 81,
|
|
4400
|
+
Color_NOC_DARKORCHID = 82,
|
|
4401
|
+
Color_NOC_DARKORCHID1 = 83,
|
|
4402
|
+
Color_NOC_DARKORCHID2 = 84,
|
|
4403
|
+
Color_NOC_DARKORCHID3 = 85,
|
|
4404
|
+
Color_NOC_DARKORCHID4 = 86,
|
|
4405
|
+
Color_NOC_DARKSALMON = 87,
|
|
4406
|
+
Color_NOC_DARKSEAGREEN = 88,
|
|
4407
|
+
Color_NOC_DARKSEAGREEN1 = 89,
|
|
4408
|
+
Color_NOC_DARKSEAGREEN2 = 90,
|
|
4409
|
+
Color_NOC_DARKSEAGREEN3 = 91,
|
|
4410
|
+
Color_NOC_DARKSEAGREEN4 = 92,
|
|
4411
|
+
Color_NOC_DARKSLATEBLUE = 93,
|
|
4412
|
+
Color_NOC_DARKSLATEGRAY1 = 94,
|
|
4413
|
+
Color_NOC_DARKSLATEGRAY2 = 95,
|
|
4414
|
+
Color_NOC_DARKSLATEGRAY3 = 96,
|
|
4415
|
+
Color_NOC_DARKSLATEGRAY4 = 97,
|
|
4416
|
+
Color_NOC_DARKSLATEGRAY = 98,
|
|
4417
|
+
Color_NOC_DARKTURQUOISE = 99,
|
|
4418
|
+
Color_NOC_DARKVIOLET = 100,
|
|
4419
|
+
Color_NOC_DEEPPINK = 101,
|
|
4420
|
+
Color_NOC_DEEPPINK2 = 102,
|
|
4421
|
+
Color_NOC_DEEPPINK3 = 103,
|
|
4422
|
+
Color_NOC_DEEPPINK4 = 104,
|
|
4423
|
+
Color_NOC_DEEPSKYBLUE1 = 105,
|
|
4424
|
+
Color_NOC_DEEPSKYBLUE2 = 106,
|
|
4425
|
+
Color_NOC_DEEPSKYBLUE3 = 107,
|
|
4426
|
+
Color_NOC_DEEPSKYBLUE4 = 108,
|
|
4427
|
+
Color_NOC_DODGERBLUE1 = 109,
|
|
4428
|
+
Color_NOC_DODGERBLUE2 = 110,
|
|
4429
|
+
Color_NOC_DODGERBLUE3 = 111,
|
|
4430
|
+
Color_NOC_DODGERBLUE4 = 112,
|
|
4431
|
+
Color_NOC_FIREBRICK = 113,
|
|
4432
|
+
Color_NOC_FIREBRICK1 = 114,
|
|
4433
|
+
Color_NOC_FIREBRICK2 = 115,
|
|
4434
|
+
Color_NOC_FIREBRICK3 = 116,
|
|
4435
|
+
Color_NOC_FIREBRICK4 = 117,
|
|
4436
|
+
Color_NOC_FLORALWHITE = 118,
|
|
4437
|
+
Color_NOC_FORESTGREEN = 119,
|
|
4438
|
+
Color_NOC_GAINSBORO = 120,
|
|
4439
|
+
Color_NOC_GHOSTWHITE = 121,
|
|
4440
|
+
Color_NOC_GOLD = 122,
|
|
4441
|
+
Color_NOC_GOLD1 = 122,
|
|
4442
|
+
Color_NOC_GOLD2 = 123,
|
|
4443
|
+
Color_NOC_GOLD3 = 124,
|
|
4444
|
+
Color_NOC_GOLD4 = 125,
|
|
4445
|
+
Color_NOC_GOLDENROD = 126,
|
|
4446
|
+
Color_NOC_GOLDENROD1 = 127,
|
|
4447
|
+
Color_NOC_GOLDENROD2 = 128,
|
|
4448
|
+
Color_NOC_GOLDENROD3 = 129,
|
|
4449
|
+
Color_NOC_GOLDENROD4 = 130,
|
|
4450
|
+
Color_NOC_GRAY = 131,
|
|
4451
|
+
Color_NOC_GRAY0 = 132,
|
|
4452
|
+
Color_NOC_GRAY1 = 133,
|
|
4453
|
+
Color_NOC_GRAY2 = 134,
|
|
4454
|
+
Color_NOC_GRAY3 = 135,
|
|
4455
|
+
Color_NOC_GRAY4 = 136,
|
|
4456
|
+
Color_NOC_GRAY5 = 137,
|
|
4457
|
+
Color_NOC_GRAY6 = 138,
|
|
4458
|
+
Color_NOC_GRAY7 = 139,
|
|
4459
|
+
Color_NOC_GRAY8 = 140,
|
|
4460
|
+
Color_NOC_GRAY9 = 141,
|
|
4461
|
+
Color_NOC_GRAY10 = 142,
|
|
4462
|
+
Color_NOC_GRAY11 = 143,
|
|
4463
|
+
Color_NOC_GRAY12 = 144,
|
|
4464
|
+
Color_NOC_GRAY13 = 145,
|
|
4465
|
+
Color_NOC_GRAY14 = 146,
|
|
4466
|
+
Color_NOC_GRAY15 = 147,
|
|
4467
|
+
Color_NOC_GRAY16 = 148,
|
|
4468
|
+
Color_NOC_GRAY17 = 149,
|
|
4469
|
+
Color_NOC_GRAY18 = 150,
|
|
4470
|
+
Color_NOC_GRAY19 = 151,
|
|
4471
|
+
Color_NOC_GRAY20 = 152,
|
|
4472
|
+
Color_NOC_GRAY21 = 153,
|
|
4473
|
+
Color_NOC_GRAY22 = 154,
|
|
4474
|
+
Color_NOC_GRAY23 = 155,
|
|
4475
|
+
Color_NOC_GRAY24 = 156,
|
|
4476
|
+
Color_NOC_GRAY25 = 157,
|
|
4477
|
+
Color_NOC_GRAY26 = 158,
|
|
4478
|
+
Color_NOC_GRAY27 = 159,
|
|
4479
|
+
Color_NOC_GRAY28 = 160,
|
|
4480
|
+
Color_NOC_GRAY29 = 161,
|
|
4481
|
+
Color_NOC_GRAY30 = 162,
|
|
4482
|
+
Color_NOC_GRAY31 = 163,
|
|
4483
|
+
Color_NOC_GRAY32 = 164,
|
|
4484
|
+
Color_NOC_GRAY33 = 165,
|
|
4485
|
+
Color_NOC_GRAY34 = 166,
|
|
4486
|
+
Color_NOC_GRAY35 = 167,
|
|
4487
|
+
Color_NOC_GRAY36 = 168,
|
|
4488
|
+
Color_NOC_GRAY37 = 169,
|
|
4489
|
+
Color_NOC_GRAY38 = 170,
|
|
4490
|
+
Color_NOC_GRAY39 = 171,
|
|
4491
|
+
Color_NOC_GRAY40 = 172,
|
|
4492
|
+
Color_NOC_GRAY41 = 173,
|
|
4493
|
+
Color_NOC_GRAY42 = 174,
|
|
4494
|
+
Color_NOC_GRAY43 = 175,
|
|
4495
|
+
Color_NOC_GRAY44 = 176,
|
|
4496
|
+
Color_NOC_GRAY45 = 177,
|
|
4497
|
+
Color_NOC_GRAY46 = 178,
|
|
4498
|
+
Color_NOC_GRAY47 = 179,
|
|
4499
|
+
Color_NOC_GRAY48 = 180,
|
|
4500
|
+
Color_NOC_GRAY49 = 181,
|
|
4501
|
+
Color_NOC_GRAY50 = 182,
|
|
4502
|
+
Color_NOC_GRAY51 = 183,
|
|
4503
|
+
Color_NOC_GRAY52 = 184,
|
|
4504
|
+
Color_NOC_GRAY53 = 185,
|
|
4505
|
+
Color_NOC_GRAY54 = 186,
|
|
4506
|
+
Color_NOC_GRAY55 = 187,
|
|
4507
|
+
Color_NOC_GRAY56 = 188,
|
|
4508
|
+
Color_NOC_GRAY57 = 189,
|
|
4509
|
+
Color_NOC_GRAY58 = 190,
|
|
4510
|
+
Color_NOC_GRAY59 = 191,
|
|
4511
|
+
Color_NOC_GRAY60 = 192,
|
|
4512
|
+
Color_NOC_GRAY61 = 193,
|
|
4513
|
+
Color_NOC_GRAY62 = 194,
|
|
4514
|
+
Color_NOC_GRAY63 = 195,
|
|
4515
|
+
Color_NOC_GRAY64 = 196,
|
|
4516
|
+
Color_NOC_GRAY65 = 197,
|
|
4517
|
+
Color_NOC_GRAY66 = 198,
|
|
4518
|
+
Color_NOC_GRAY67 = 199,
|
|
4519
|
+
Color_NOC_GRAY68 = 200,
|
|
4520
|
+
Color_NOC_GRAY69 = 201,
|
|
4521
|
+
Color_NOC_GRAY70 = 202,
|
|
4522
|
+
Color_NOC_GRAY71 = 203,
|
|
4523
|
+
Color_NOC_GRAY72 = 204,
|
|
4524
|
+
Color_NOC_GRAY73 = 205,
|
|
4525
|
+
Color_NOC_GRAY74 = 206,
|
|
4526
|
+
Color_NOC_GRAY75 = 207,
|
|
4527
|
+
Color_NOC_GRAY76 = 208,
|
|
4528
|
+
Color_NOC_GRAY77 = 209,
|
|
4529
|
+
Color_NOC_GRAY78 = 210,
|
|
4530
|
+
Color_NOC_GRAY79 = 211,
|
|
4531
|
+
Color_NOC_GRAY80 = 212,
|
|
4532
|
+
Color_NOC_GRAY81 = 213,
|
|
4533
|
+
Color_NOC_GRAY82 = 214,
|
|
4534
|
+
Color_NOC_GRAY83 = 215,
|
|
4535
|
+
Color_NOC_GRAY85 = 216,
|
|
4536
|
+
Color_NOC_GRAY86 = 217,
|
|
4537
|
+
Color_NOC_GRAY87 = 218,
|
|
4538
|
+
Color_NOC_GRAY88 = 219,
|
|
4539
|
+
Color_NOC_GRAY89 = 220,
|
|
4540
|
+
Color_NOC_GRAY90 = 221,
|
|
4541
|
+
Color_NOC_GRAY91 = 222,
|
|
4542
|
+
Color_NOC_GRAY92 = 223,
|
|
4543
|
+
Color_NOC_GRAY93 = 224,
|
|
4544
|
+
Color_NOC_GRAY94 = 225,
|
|
4545
|
+
Color_NOC_GRAY95 = 226,
|
|
4546
|
+
Color_NOC_GRAY97 = 227,
|
|
4547
|
+
Color_NOC_GRAY98 = 228,
|
|
4548
|
+
Color_NOC_GRAY99 = 229,
|
|
4549
|
+
Color_NOC_GREEN = 230,
|
|
4550
|
+
Color_NOC_GREEN1 = 230,
|
|
4551
|
+
Color_NOC_GREEN2 = 231,
|
|
4552
|
+
Color_NOC_GREEN3 = 232,
|
|
4553
|
+
Color_NOC_GREEN4 = 233,
|
|
4554
|
+
Color_NOC_GREENYELLOW = 234,
|
|
4555
|
+
Color_NOC_HONEYDEW = 235,
|
|
4556
|
+
Color_NOC_HONEYDEW2 = 236,
|
|
4557
|
+
Color_NOC_HONEYDEW3 = 237,
|
|
4558
|
+
Color_NOC_HONEYDEW4 = 238,
|
|
4559
|
+
Color_NOC_HOTPINK = 239,
|
|
4560
|
+
Color_NOC_HOTPINK1 = 240,
|
|
4561
|
+
Color_NOC_HOTPINK2 = 241,
|
|
4562
|
+
Color_NOC_HOTPINK3 = 242,
|
|
4563
|
+
Color_NOC_HOTPINK4 = 243,
|
|
4564
|
+
Color_NOC_INDIANRED = 244,
|
|
4565
|
+
Color_NOC_INDIANRED1 = 245,
|
|
4566
|
+
Color_NOC_INDIANRED2 = 246,
|
|
4567
|
+
Color_NOC_INDIANRED3 = 247,
|
|
4568
|
+
Color_NOC_INDIANRED4 = 248,
|
|
4569
|
+
Color_NOC_IVORY = 249,
|
|
4570
|
+
Color_NOC_IVORY2 = 250,
|
|
4571
|
+
Color_NOC_IVORY3 = 251,
|
|
4572
|
+
Color_NOC_IVORY4 = 252,
|
|
4573
|
+
Color_NOC_KHAKI = 253,
|
|
4574
|
+
Color_NOC_KHAKI1 = 254,
|
|
4575
|
+
Color_NOC_KHAKI2 = 255,
|
|
4576
|
+
Color_NOC_KHAKI3 = 256,
|
|
4577
|
+
Color_NOC_KHAKI4 = 257,
|
|
4578
|
+
Color_NOC_LAVENDER = 258,
|
|
4579
|
+
Color_NOC_LAVENDERBLUSH1 = 259,
|
|
4580
|
+
Color_NOC_LAVENDERBLUSH2 = 260,
|
|
4581
|
+
Color_NOC_LAVENDERBLUSH3 = 261,
|
|
4582
|
+
Color_NOC_LAVENDERBLUSH4 = 262,
|
|
4583
|
+
Color_NOC_LAWNGREEN = 263,
|
|
4584
|
+
Color_NOC_LEMONCHIFFON1 = 264,
|
|
4585
|
+
Color_NOC_LEMONCHIFFON2 = 265,
|
|
4586
|
+
Color_NOC_LEMONCHIFFON3 = 266,
|
|
4587
|
+
Color_NOC_LEMONCHIFFON4 = 267,
|
|
4588
|
+
Color_NOC_LIGHTBLUE = 268,
|
|
4589
|
+
Color_NOC_LIGHTBLUE1 = 269,
|
|
4590
|
+
Color_NOC_LIGHTBLUE2 = 270,
|
|
4591
|
+
Color_NOC_LIGHTBLUE3 = 271,
|
|
4592
|
+
Color_NOC_LIGHTBLUE4 = 272,
|
|
4593
|
+
Color_NOC_LIGHTCORAL = 273,
|
|
4594
|
+
Color_NOC_LIGHTCYAN = 274,
|
|
4595
|
+
Color_NOC_LIGHTCYAN1 = 274,
|
|
4596
|
+
Color_NOC_LIGHTCYAN2 = 275,
|
|
4597
|
+
Color_NOC_LIGHTCYAN3 = 276,
|
|
4598
|
+
Color_NOC_LIGHTCYAN4 = 277,
|
|
4599
|
+
Color_NOC_LIGHTGOLDENROD = 278,
|
|
4600
|
+
Color_NOC_LIGHTGOLDENROD1 = 279,
|
|
4601
|
+
Color_NOC_LIGHTGOLDENROD2 = 280,
|
|
4602
|
+
Color_NOC_LIGHTGOLDENROD3 = 281,
|
|
4603
|
+
Color_NOC_LIGHTGOLDENROD4 = 282,
|
|
4604
|
+
Color_NOC_LIGHTGOLDENRODYELLOW = 283,
|
|
4605
|
+
Color_NOC_LIGHTGRAY = 284,
|
|
4606
|
+
Color_NOC_LIGHTPINK = 285,
|
|
4607
|
+
Color_NOC_LIGHTPINK1 = 286,
|
|
4608
|
+
Color_NOC_LIGHTPINK2 = 287,
|
|
4609
|
+
Color_NOC_LIGHTPINK3 = 288,
|
|
4610
|
+
Color_NOC_LIGHTPINK4 = 289,
|
|
4611
|
+
Color_NOC_LIGHTSALMON1 = 290,
|
|
4612
|
+
Color_NOC_LIGHTSALMON2 = 291,
|
|
4613
|
+
Color_NOC_LIGHTSALMON3 = 292,
|
|
4614
|
+
Color_NOC_LIGHTSALMON4 = 293,
|
|
4615
|
+
Color_NOC_LIGHTSEAGREEN = 294,
|
|
4616
|
+
Color_NOC_LIGHTSKYBLUE = 295,
|
|
4617
|
+
Color_NOC_LIGHTSKYBLUE1 = 296,
|
|
4618
|
+
Color_NOC_LIGHTSKYBLUE2 = 297,
|
|
4619
|
+
Color_NOC_LIGHTSKYBLUE3 = 298,
|
|
4620
|
+
Color_NOC_LIGHTSKYBLUE4 = 299,
|
|
4621
|
+
Color_NOC_LIGHTSLATEBLUE = 300,
|
|
4622
|
+
Color_NOC_LIGHTSLATEGRAY = 301,
|
|
4623
|
+
Color_NOC_LIGHTSTEELBLUE = 302,
|
|
4624
|
+
Color_NOC_LIGHTSTEELBLUE1 = 303,
|
|
4625
|
+
Color_NOC_LIGHTSTEELBLUE2 = 304,
|
|
4626
|
+
Color_NOC_LIGHTSTEELBLUE3 = 305,
|
|
4627
|
+
Color_NOC_LIGHTSTEELBLUE4 = 306,
|
|
4628
|
+
Color_NOC_LIGHTYELLOW = 307,
|
|
4629
|
+
Color_NOC_LIGHTYELLOW2 = 308,
|
|
4630
|
+
Color_NOC_LIGHTYELLOW3 = 309,
|
|
4631
|
+
Color_NOC_LIGHTYELLOW4 = 310,
|
|
4632
|
+
Color_NOC_LIMEGREEN = 311,
|
|
4633
|
+
Color_NOC_LINEN = 312,
|
|
4634
|
+
Color_NOC_MAGENTA = 313,
|
|
4635
|
+
Color_NOC_MAGENTA1 = 313,
|
|
4636
|
+
Color_NOC_MAGENTA2 = 314,
|
|
4637
|
+
Color_NOC_MAGENTA3 = 315,
|
|
4638
|
+
Color_NOC_MAGENTA4 = 316,
|
|
4639
|
+
Color_NOC_MAROON = 317,
|
|
4640
|
+
Color_NOC_MAROON1 = 318,
|
|
4641
|
+
Color_NOC_MAROON2 = 319,
|
|
4642
|
+
Color_NOC_MAROON3 = 320,
|
|
4643
|
+
Color_NOC_MAROON4 = 321,
|
|
4644
|
+
Color_NOC_MEDIUMAQUAMARINE = 322,
|
|
4645
|
+
Color_NOC_MEDIUMORCHID = 323,
|
|
4646
|
+
Color_NOC_MEDIUMORCHID1 = 324,
|
|
4647
|
+
Color_NOC_MEDIUMORCHID2 = 325,
|
|
4648
|
+
Color_NOC_MEDIUMORCHID3 = 326,
|
|
4649
|
+
Color_NOC_MEDIUMORCHID4 = 327,
|
|
4650
|
+
Color_NOC_MEDIUMPURPLE = 328,
|
|
4651
|
+
Color_NOC_MEDIUMPURPLE1 = 329,
|
|
4652
|
+
Color_NOC_MEDIUMPURPLE2 = 330,
|
|
4653
|
+
Color_NOC_MEDIUMPURPLE3 = 331,
|
|
4654
|
+
Color_NOC_MEDIUMPURPLE4 = 332,
|
|
4655
|
+
Color_NOC_MEDIUMSEAGREEN = 333,
|
|
4656
|
+
Color_NOC_MEDIUMSLATEBLUE = 334,
|
|
4657
|
+
Color_NOC_MEDIUMSPRINGGREEN = 335,
|
|
4658
|
+
Color_NOC_MEDIUMTURQUOISE = 336,
|
|
4659
|
+
Color_NOC_MEDIUMVIOLETRED = 337,
|
|
4660
|
+
Color_NOC_MIDNIGHTBLUE = 338,
|
|
4661
|
+
Color_NOC_MINTCREAM = 339,
|
|
4662
|
+
Color_NOC_MISTYROSE = 340,
|
|
4663
|
+
Color_NOC_MISTYROSE2 = 341,
|
|
4664
|
+
Color_NOC_MISTYROSE3 = 342,
|
|
4665
|
+
Color_NOC_MISTYROSE4 = 343,
|
|
4666
|
+
Color_NOC_MOCCASIN = 344,
|
|
4667
|
+
Color_NOC_NAVAJOWHITE1 = 345,
|
|
4668
|
+
Color_NOC_NAVAJOWHITE2 = 346,
|
|
4669
|
+
Color_NOC_NAVAJOWHITE3 = 347,
|
|
4670
|
+
Color_NOC_NAVAJOWHITE4 = 348,
|
|
4671
|
+
Color_NOC_NAVYBLUE = 349,
|
|
4672
|
+
Color_NOC_OLDLACE = 350,
|
|
4673
|
+
Color_NOC_OLIVEDRAB = 351,
|
|
4674
|
+
Color_NOC_OLIVEDRAB1 = 352,
|
|
4675
|
+
Color_NOC_OLIVEDRAB2 = 353,
|
|
4676
|
+
Color_NOC_OLIVEDRAB3 = 354,
|
|
4677
|
+
Color_NOC_OLIVEDRAB4 = 355,
|
|
4678
|
+
Color_NOC_ORANGE = 356,
|
|
4679
|
+
Color_NOC_ORANGE1 = 356,
|
|
4680
|
+
Color_NOC_ORANGE2 = 357,
|
|
4681
|
+
Color_NOC_ORANGE3 = 358,
|
|
4682
|
+
Color_NOC_ORANGE4 = 359,
|
|
4683
|
+
Color_NOC_ORANGERED = 360,
|
|
4684
|
+
Color_NOC_ORANGERED1 = 360,
|
|
4685
|
+
Color_NOC_ORANGERED2 = 361,
|
|
4686
|
+
Color_NOC_ORANGERED3 = 362,
|
|
4687
|
+
Color_NOC_ORANGERED4 = 363,
|
|
4688
|
+
Color_NOC_ORCHID = 364,
|
|
4689
|
+
Color_NOC_ORCHID1 = 365,
|
|
4690
|
+
Color_NOC_ORCHID2 = 366,
|
|
4691
|
+
Color_NOC_ORCHID3 = 367,
|
|
4692
|
+
Color_NOC_ORCHID4 = 368,
|
|
4693
|
+
Color_NOC_PALEGOLDENROD = 369,
|
|
4694
|
+
Color_NOC_PALEGREEN = 370,
|
|
4695
|
+
Color_NOC_PALEGREEN1 = 371,
|
|
4696
|
+
Color_NOC_PALEGREEN2 = 372,
|
|
4697
|
+
Color_NOC_PALEGREEN3 = 373,
|
|
4698
|
+
Color_NOC_PALEGREEN4 = 374,
|
|
4699
|
+
Color_NOC_PALETURQUOISE = 375,
|
|
4700
|
+
Color_NOC_PALETURQUOISE1 = 376,
|
|
4701
|
+
Color_NOC_PALETURQUOISE2 = 377,
|
|
4702
|
+
Color_NOC_PALETURQUOISE3 = 378,
|
|
4703
|
+
Color_NOC_PALETURQUOISE4 = 379,
|
|
4704
|
+
Color_NOC_PALEVIOLETRED = 380,
|
|
4705
|
+
Color_NOC_PALEVIOLETRED1 = 381,
|
|
4706
|
+
Color_NOC_PALEVIOLETRED2 = 382,
|
|
4707
|
+
Color_NOC_PALEVIOLETRED3 = 383,
|
|
4708
|
+
Color_NOC_PALEVIOLETRED4 = 384,
|
|
4709
|
+
Color_NOC_PAPAYAWHIP = 385,
|
|
4710
|
+
Color_NOC_PEACHPUFF = 386,
|
|
4711
|
+
Color_NOC_PEACHPUFF2 = 387,
|
|
4712
|
+
Color_NOC_PEACHPUFF3 = 388,
|
|
4713
|
+
Color_NOC_PEACHPUFF4 = 389,
|
|
4714
|
+
Color_NOC_PERU = 390,
|
|
4715
|
+
Color_NOC_PINK = 391,
|
|
4716
|
+
Color_NOC_PINK1 = 392,
|
|
4717
|
+
Color_NOC_PINK2 = 393,
|
|
4718
|
+
Color_NOC_PINK3 = 394,
|
|
4719
|
+
Color_NOC_PINK4 = 395,
|
|
4720
|
+
Color_NOC_PLUM = 396,
|
|
4721
|
+
Color_NOC_PLUM1 = 397,
|
|
4722
|
+
Color_NOC_PLUM2 = 398,
|
|
4723
|
+
Color_NOC_PLUM3 = 399,
|
|
4724
|
+
Color_NOC_PLUM4 = 400,
|
|
4725
|
+
Color_NOC_POWDERBLUE = 401,
|
|
4726
|
+
Color_NOC_PURPLE = 402,
|
|
4727
|
+
Color_NOC_PURPLE1 = 403,
|
|
4728
|
+
Color_NOC_PURPLE2 = 404,
|
|
4729
|
+
Color_NOC_PURPLE3 = 405,
|
|
4730
|
+
Color_NOC_PURPLE4 = 406,
|
|
4731
|
+
Color_NOC_RED = 407,
|
|
4732
|
+
Color_NOC_RED1 = 407,
|
|
4733
|
+
Color_NOC_RED2 = 408,
|
|
4734
|
+
Color_NOC_RED3 = 409,
|
|
4735
|
+
Color_NOC_RED4 = 410,
|
|
4736
|
+
Color_NOC_ROSYBROWN = 411,
|
|
4737
|
+
Color_NOC_ROSYBROWN1 = 412,
|
|
4738
|
+
Color_NOC_ROSYBROWN2 = 413,
|
|
4739
|
+
Color_NOC_ROSYBROWN3 = 414,
|
|
4740
|
+
Color_NOC_ROSYBROWN4 = 415,
|
|
4741
|
+
Color_NOC_ROYALBLUE = 416,
|
|
4742
|
+
Color_NOC_ROYALBLUE1 = 417,
|
|
4743
|
+
Color_NOC_ROYALBLUE2 = 418,
|
|
4744
|
+
Color_NOC_ROYALBLUE3 = 419,
|
|
4745
|
+
Color_NOC_ROYALBLUE4 = 420,
|
|
4746
|
+
Color_NOC_SADDLEBROWN = 421,
|
|
4747
|
+
Color_NOC_SALMON = 422,
|
|
4748
|
+
Color_NOC_SALMON1 = 423,
|
|
4749
|
+
Color_NOC_SALMON2 = 424,
|
|
4750
|
+
Color_NOC_SALMON3 = 425,
|
|
4751
|
+
Color_NOC_SALMON4 = 426,
|
|
4752
|
+
Color_NOC_SANDYBROWN = 427,
|
|
4753
|
+
Color_NOC_SEAGREEN = 428,
|
|
4754
|
+
Color_NOC_SEAGREEN1 = 429,
|
|
4755
|
+
Color_NOC_SEAGREEN2 = 430,
|
|
4756
|
+
Color_NOC_SEAGREEN3 = 431,
|
|
4757
|
+
Color_NOC_SEAGREEN4 = 432,
|
|
4758
|
+
Color_NOC_SEASHELL = 433,
|
|
4759
|
+
Color_NOC_SEASHELL2 = 434,
|
|
4760
|
+
Color_NOC_SEASHELL3 = 435,
|
|
4761
|
+
Color_NOC_SEASHELL4 = 436,
|
|
4762
|
+
Color_NOC_BEET = 437,
|
|
4763
|
+
Color_NOC_TEAL = 438,
|
|
4764
|
+
Color_NOC_SIENNA = 439,
|
|
4765
|
+
Color_NOC_SIENNA1 = 440,
|
|
4766
|
+
Color_NOC_SIENNA2 = 441,
|
|
4767
|
+
Color_NOC_SIENNA3 = 442,
|
|
4768
|
+
Color_NOC_SIENNA4 = 443,
|
|
4769
|
+
Color_NOC_SKYBLUE = 444,
|
|
4770
|
+
Color_NOC_SKYBLUE1 = 445,
|
|
4771
|
+
Color_NOC_SKYBLUE2 = 446,
|
|
4772
|
+
Color_NOC_SKYBLUE3 = 447,
|
|
4773
|
+
Color_NOC_SKYBLUE4 = 448,
|
|
4774
|
+
Color_NOC_SLATEBLUE = 449,
|
|
4775
|
+
Color_NOC_SLATEBLUE1 = 450,
|
|
4776
|
+
Color_NOC_SLATEBLUE2 = 451,
|
|
4777
|
+
Color_NOC_SLATEBLUE3 = 452,
|
|
4778
|
+
Color_NOC_SLATEBLUE4 = 453,
|
|
4779
|
+
Color_NOC_SLATEGRAY1 = 454,
|
|
4780
|
+
Color_NOC_SLATEGRAY2 = 455,
|
|
4781
|
+
Color_NOC_SLATEGRAY3 = 456,
|
|
4782
|
+
Color_NOC_SLATEGRAY4 = 457,
|
|
4783
|
+
Color_NOC_SLATEGRAY = 458,
|
|
4784
|
+
Color_NOC_SNOW = 459,
|
|
4785
|
+
Color_NOC_SNOW2 = 460,
|
|
4786
|
+
Color_NOC_SNOW3 = 461,
|
|
4787
|
+
Color_NOC_SNOW4 = 462,
|
|
4788
|
+
Color_NOC_SPRINGGREEN = 463,
|
|
4789
|
+
Color_NOC_SPRINGGREEN2 = 464,
|
|
4790
|
+
Color_NOC_SPRINGGREEN3 = 465,
|
|
4791
|
+
Color_NOC_SPRINGGREEN4 = 466,
|
|
4792
|
+
Color_NOC_STEELBLUE = 467,
|
|
4793
|
+
Color_NOC_STEELBLUE1 = 468,
|
|
4794
|
+
Color_NOC_STEELBLUE2 = 469,
|
|
4795
|
+
Color_NOC_STEELBLUE3 = 470,
|
|
4796
|
+
Color_NOC_STEELBLUE4 = 471,
|
|
4797
|
+
Color_NOC_TAN = 472,
|
|
4798
|
+
Color_NOC_TAN1 = 473,
|
|
4799
|
+
Color_NOC_TAN2 = 474,
|
|
4800
|
+
Color_NOC_TAN3 = 475,
|
|
4801
|
+
Color_NOC_TAN4 = 476,
|
|
4802
|
+
Color_NOC_THISTLE = 477,
|
|
4803
|
+
Color_NOC_THISTLE1 = 478,
|
|
4804
|
+
Color_NOC_THISTLE2 = 479,
|
|
4805
|
+
Color_NOC_THISTLE3 = 480,
|
|
4806
|
+
Color_NOC_THISTLE4 = 481,
|
|
4807
|
+
Color_NOC_TOMATO = 482,
|
|
4808
|
+
Color_NOC_TOMATO1 = 482,
|
|
4809
|
+
Color_NOC_TOMATO2 = 483,
|
|
4810
|
+
Color_NOC_TOMATO3 = 484,
|
|
4811
|
+
Color_NOC_TOMATO4 = 485,
|
|
4812
|
+
Color_NOC_TURQUOISE = 486,
|
|
4813
|
+
Color_NOC_TURQUOISE1 = 487,
|
|
4814
|
+
Color_NOC_TURQUOISE2 = 488,
|
|
4815
|
+
Color_NOC_TURQUOISE3 = 489,
|
|
4816
|
+
Color_NOC_TURQUOISE4 = 490,
|
|
4817
|
+
Color_NOC_VIOLET = 491,
|
|
4818
|
+
Color_NOC_VIOLETRED = 492,
|
|
4819
|
+
Color_NOC_VIOLETRED1 = 493,
|
|
4820
|
+
Color_NOC_VIOLETRED2 = 494,
|
|
4821
|
+
Color_NOC_VIOLETRED3 = 495,
|
|
4822
|
+
Color_NOC_VIOLETRED4 = 496,
|
|
4823
|
+
Color_NOC_WHEAT = 497,
|
|
4824
|
+
Color_NOC_WHEAT1 = 498,
|
|
4825
|
+
Color_NOC_WHEAT2 = 499,
|
|
4826
|
+
Color_NOC_WHEAT3 = 500,
|
|
4827
|
+
Color_NOC_WHEAT4 = 501,
|
|
4828
|
+
Color_NOC_WHITESMOKE = 502,
|
|
4829
|
+
Color_NOC_YELLOW = 503,
|
|
4830
|
+
Color_NOC_YELLOW1 = 503,
|
|
4831
|
+
Color_NOC_YELLOW2 = 504,
|
|
4832
|
+
Color_NOC_YELLOW3 = 505,
|
|
4833
|
+
Color_NOC_YELLOW4 = 506,
|
|
4834
|
+
Color_NOC_YELLOWGREEN = 507,
|
|
4835
|
+
Color_NOC_WHITE = 508
|
|
4836
|
+
}
|
|
4837
|
+
enum MxTypeOfColor {
|
|
4838
|
+
Color_TOC_RGB = 0,
|
|
4839
|
+
Color_TOC_sRGB = 1,
|
|
4840
|
+
Color_TOC_HLS = 2,
|
|
4841
|
+
Color_TOC_CIELab = 3,
|
|
4842
|
+
Color_TOC_CIELch = 4
|
|
4843
|
+
}
|
|
4844
|
+
enum MxDisplayMode {
|
|
4845
|
+
DM_WireFrame = 0,
|
|
4846
|
+
DM_Shaded = 1
|
|
4847
|
+
}
|
|
4389
4848
|
}
|
|
4390
4849
|
/**
|
|
4391
4850
|
* 表示拓扑元素遍历
|
|
4392
4851
|
*/
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4852
|
+
/**
|
|
4853
|
+
* 表示拓扑元素遍历
|
|
4854
|
+
*/
|
|
4855
|
+
export declare class MdGeExplorer extends MdGeObject {
|
|
4856
|
+
constructor(p1?: MdGeShape | object, p2?: MdGe.MxShapeEnum, p3?: MdGe.MxShapeEnum);
|
|
4857
|
+
Init(S: MdGeShape, ToFind: MdGe.MxShapeEnum, ToAvoid?: MdGe.MxShapeEnum): void;
|
|
4397
4858
|
More(): boolean;
|
|
4398
4859
|
Next(): void;
|
|
4399
4860
|
Value(): MdGeShape;
|
|
@@ -4406,23 +4867,21 @@ export declare class MdGeExplorer {
|
|
|
4406
4867
|
/**
|
|
4407
4868
|
* 表示倒圆角
|
|
4408
4869
|
*/
|
|
4409
|
-
|
|
4410
|
-
|
|
4870
|
+
/**
|
|
4871
|
+
* 表示倒圆角
|
|
4872
|
+
*/
|
|
4873
|
+
export declare class MdGeFillet extends MdGeObject {
|
|
4874
|
+
constructor(p1?: MdGeShape | object, p2?: MdGe.MxCF3dFilletShapeEnum);
|
|
4411
4875
|
SetParams(Tang: number, Tesp: number, T2d: number, TApp3d: number, TolApp2d: number, Fleche: number): void;
|
|
4412
|
-
Add(
|
|
4413
|
-
|
|
4414
|
-
Add(R1: number, R2: number, E: MdGeEdge): void;
|
|
4415
|
-
SetRadius(Radius: number, IC: number, IinC: number): void;
|
|
4416
|
-
SetRadius(R1: number, R2: number, IC: number, IinC: number): void;
|
|
4876
|
+
Add(p1: MdGeEdge | number, p2?: MdGeEdge | number, p3?: MdGeEdge): void;
|
|
4877
|
+
SetRadius(p1: number, p2: number, p3: number, p4?: number): void;
|
|
4417
4878
|
ResetContour(IC: number): void;
|
|
4418
|
-
IsConstant(IC: number): boolean;
|
|
4419
|
-
Radius(IC: number): number;
|
|
4420
|
-
IsConstant(IC: number, E: MdGeEdge): boolean;
|
|
4421
|
-
Radius(IC: number, E: MdGeEdge): number;
|
|
4879
|
+
IsConstant(IC: number, E?: MdGeEdge): boolean;
|
|
4880
|
+
Radius(IC: number, E?: MdGeEdge): number;
|
|
4422
4881
|
SetRadiusForEdge(Radius: number, IC: number, E: MdGeEdge): void;
|
|
4423
4882
|
SetRadiusForVertex(Radius: number, IC: number, V: MdGeVertex): void;
|
|
4424
|
-
SetFilletShape(FShape: MxCF3dFilletShapeEnum): void;
|
|
4425
|
-
GetFilletShape(): MxCF3dFilletShapeEnum;
|
|
4883
|
+
SetFilletShape(FShape: MdGe.MxCF3dFilletShapeEnum): void;
|
|
4884
|
+
GetFilletShape(): MdGe.MxCF3dFilletShapeEnum;
|
|
4426
4885
|
NbContours(): number;
|
|
4427
4886
|
Contour(E: MdGeEdge): number;
|
|
4428
4887
|
NbEdges(I: number): number;
|
|
@@ -4451,9 +4910,11 @@ export declare class MdGeFillet {
|
|
|
4451
4910
|
/**
|
|
4452
4911
|
* 表示双曲线
|
|
4453
4912
|
*/
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4913
|
+
/**
|
|
4914
|
+
* 表示双曲线。
|
|
4915
|
+
*/
|
|
4916
|
+
export declare class MdGeHypr extends MdGeObject {
|
|
4917
|
+
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
4457
4918
|
SetAxis(theA1: MdGeAxis): void;
|
|
4458
4919
|
SetLocation(theP: MdGePoint): void;
|
|
4459
4920
|
SetMajorRadius(theMajorRadius: number): void;
|
|
@@ -4496,20 +4957,17 @@ export declare class MdGeHypr {
|
|
|
4496
4957
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeHypr;
|
|
4497
4958
|
Shape(): MdGeShape;
|
|
4498
4959
|
Wire(): MdGeWire;
|
|
4499
|
-
Edge(): MdGeEdge;
|
|
4500
|
-
Edge(p1: number, p2: number): MdGeEdge;
|
|
4960
|
+
Edge(p1?: number, p2?: number): MdGeEdge;
|
|
4501
4961
|
}
|
|
4502
4962
|
/**
|
|
4503
4963
|
* 表示一个Box
|
|
4504
4964
|
*/
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
constructor(
|
|
4510
|
-
Init(
|
|
4511
|
-
Init(thePnt1: MdGePoint, thePnt2: MdGePoint): void;
|
|
4512
|
-
Init(theAxes: MdGeCSYSR, theDX: number, theDY: number, theDZ: number): void;
|
|
4965
|
+
/**
|
|
4966
|
+
* 表示一个Box
|
|
4967
|
+
*/
|
|
4968
|
+
export declare class MdGeBox extends MdGeObject {
|
|
4969
|
+
constructor(p1?: MdGePoint | number | MdGeCSYSR | object, p2?: MdGePoint | number, p3?: number, p4?: number);
|
|
4970
|
+
Init(p1: MdGePoint | number | MdGeCSYSR, p2: MdGePoint | number, p3?: number, p4?: number): void;
|
|
4513
4971
|
Shape(): MdGeShape;
|
|
4514
4972
|
Shell(): MdGeShell;
|
|
4515
4973
|
Solid(): MdGeSolid;
|
|
@@ -4523,34 +4981,32 @@ export declare class MdGeBox {
|
|
|
4523
4981
|
/**
|
|
4524
4982
|
* 表示B样条曲线
|
|
4525
4983
|
*/
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4984
|
+
/**
|
|
4985
|
+
* 表示B样条曲线
|
|
4986
|
+
*/
|
|
4987
|
+
export declare class MdGeBSplineCurve extends MdGeObject {
|
|
4988
|
+
constructor(p1?: MdGeArray1OfPnt | object, p2?: MdGeArray1OfReal, p3?: MdGeArray1OfInteger, p4?: number, p5?: boolean);
|
|
4529
4989
|
IncreaseDegree(Degree: number): void;
|
|
4530
|
-
IncreaseMultiplicity(
|
|
4531
|
-
IncreaseMultiplicity(I1: number, I2: number, M: number): void;
|
|
4990
|
+
IncreaseMultiplicity(p1: number, p2: number, p3?: number): void;
|
|
4532
4991
|
IncrementMultiplicity(I1: number, I2: number, M: number): void;
|
|
4533
4992
|
InsertKnot(U: number, M?: number, ParametricTolerance?: number, Add?: boolean): void;
|
|
4534
4993
|
InsertKnots(Knots: MdGeArray1OfReal, Mults: MdGeArray1OfInteger, ParametricTolerance?: number, Add?: boolean): void;
|
|
4535
4994
|
RemoveKnot(Index: number, M: number, Tolerance: number): boolean;
|
|
4536
4995
|
Reverse(): void;
|
|
4537
4996
|
ReversedParameter(U: number): number;
|
|
4538
|
-
SetKnot(Index: number, K: number): void;
|
|
4997
|
+
SetKnot(Index: number, K: number, M?: number): void;
|
|
4539
4998
|
SetKnots(K: MdGeArray1OfReal): void;
|
|
4540
|
-
SetKnot(Index: number, K: number, M: number): void;
|
|
4541
4999
|
SetPeriodic(): void;
|
|
4542
|
-
SetOrigin(
|
|
4543
|
-
SetOrigin(U: number, Tol: number): void;
|
|
5000
|
+
SetOrigin(p1: number, p2?: number): void;
|
|
4544
5001
|
SetNotPeriodic(): void;
|
|
4545
|
-
SetPole(Index: number, P: MdGePoint): void;
|
|
4546
|
-
SetPole(Index: number, P: MdGePoint, Weight: number): void;
|
|
5002
|
+
SetPole(Index: number, P: MdGePoint, Weight?: number): void;
|
|
4547
5003
|
SetWeight(Index: number, Weight: number): void;
|
|
4548
5004
|
IsCN(N: number): boolean;
|
|
4549
5005
|
IsG1(theTf: number, theTl: number, theAngTol: number): boolean;
|
|
4550
5006
|
IsClosed(): boolean;
|
|
4551
5007
|
IsPeriodic(): boolean;
|
|
4552
5008
|
IsRational(): boolean;
|
|
4553
|
-
Continuity(): MxGAShapeEnum;
|
|
5009
|
+
Continuity(): MdGe.MxGAShapeEnum;
|
|
4554
5010
|
Degree(): number;
|
|
4555
5011
|
DN(U: number, N: number): MdGeVec;
|
|
4556
5012
|
LocalValue(U: number, FromK1: number, ToK2: number): MdGePoint;
|
|
@@ -4580,15 +5036,16 @@ export declare class MdGeBSplineCurve {
|
|
|
4580
5036
|
/**
|
|
4581
5037
|
* 表示B样条曲面
|
|
4582
5038
|
*/
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
5039
|
+
/**
|
|
5040
|
+
* 表示B样条曲面
|
|
5041
|
+
*/
|
|
5042
|
+
export declare class MdGeBSplineSurface extends MdGeObject {
|
|
5043
|
+
constructor(p1?: MdGeArray2OfPnt | object, p2?: MdGeArray1OfReal, p3?: MdGeArray1OfReal, p4?: MdGeArray1OfInteger, p5?: MdGeArray1OfInteger, p6?: number, p7?: number, p8?: boolean, p9?: boolean);
|
|
4586
5044
|
ExchangeUV(): void;
|
|
4587
5045
|
SetUPeriodic(): void;
|
|
4588
5046
|
SetVPeriodic(): void;
|
|
4589
5047
|
SetUOrigin(Index: number): void;
|
|
4590
5048
|
SetVOrigin(Index: number): void;
|
|
4591
|
-
SetUNotPeriodic(): void;
|
|
4592
5049
|
SetVNotPeriodic(): void;
|
|
4593
5050
|
UReverse(): void;
|
|
4594
5051
|
VReverse(): void;
|
|
@@ -4599,26 +5056,19 @@ export declare class MdGeBSplineSurface {
|
|
|
4599
5056
|
InsertVKnots(Knots: MdGeArray1OfReal, Mults: MdGeArray1OfInteger, ParametricTolerance?: number, Add?: boolean): void;
|
|
4600
5057
|
RemoveUKnot(Index: number, M: number, Tolerance: number): boolean;
|
|
4601
5058
|
RemoveVKnot(Index: number, M: number, Tolerance: number): boolean;
|
|
4602
|
-
IncreaseUMultiplicity(
|
|
4603
|
-
|
|
5059
|
+
IncreaseUMultiplicity(p1: number, p2: number, p3?: number): void;
|
|
5060
|
+
IncreaseVMultiplicity(p1: number, p2: number, p3?: number): void;
|
|
4604
5061
|
IncrementUMultiplicity(FromI1: number, ToI2: number, Step: number): void;
|
|
4605
|
-
IncreaseVMultiplicity(VIndex: number, M: number): void;
|
|
4606
|
-
IncreaseVMultiplicity(FromI1: number, ToI2: number, M: number): void;
|
|
4607
5062
|
IncrementVMultiplicity(FromI1: number, ToI2: number, Step: number): void;
|
|
4608
5063
|
InsertUKnot(U: number, M: number, ParametricTolerance: number, Add?: boolean): void;
|
|
4609
5064
|
InsertVKnot(V: number, M: number, ParametricTolerance: number, Add?: boolean): void;
|
|
4610
|
-
SetUKnot(UIndex: number, K: number): void;
|
|
5065
|
+
SetUKnot(UIndex: number, K: number, M?: number): void;
|
|
5066
|
+
SetVKnot(VIndex: number, K: number, M?: number): void;
|
|
4611
5067
|
SetUKnots(UK: MdGeArray1OfReal): void;
|
|
4612
|
-
SetUKnot(UIndex: number, K: number, M: number): void;
|
|
4613
|
-
SetVKnot(VIndex: number, K: number): void;
|
|
4614
5068
|
SetVKnots(VK: MdGeArray1OfReal): void;
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
SetPoleCol(VIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
4619
|
-
SetPoleCol(VIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
4620
|
-
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights: MdGeArray1OfReal): void;
|
|
4621
|
-
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt): void;
|
|
5069
|
+
SetPole(UIndex: number, VIndex: number, P: MdGePoint, Weight?: number): void;
|
|
5070
|
+
SetPoleCol(VIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights?: MdGeArray1OfReal): void;
|
|
5071
|
+
SetPoleRow(UIndex: number, CPoles: MdGeArray1OfPnt, CPoleWeights?: MdGeArray1OfReal): void;
|
|
4622
5072
|
SetWeight(UIndex: number, VIndex: number, Weight: number): void;
|
|
4623
5073
|
SetWeightCol(VIndex: number, CPoleWeights: MdGeArray1OfReal): void;
|
|
4624
5074
|
SetWeightRow(UIndex: number, CPoleWeights: MdGeArray1OfReal): void;
|
|
@@ -4630,7 +5080,7 @@ export declare class MdGeBSplineSurface {
|
|
|
4630
5080
|
IsURational(): boolean;
|
|
4631
5081
|
IsVPeriodic(): boolean;
|
|
4632
5082
|
IsVRational(): boolean;
|
|
4633
|
-
Continuity(): MxGAShapeEnum;
|
|
5083
|
+
Continuity(): MdGe.MxGAShapeEnum;
|
|
4634
5084
|
FirstUKnotIndex(): number;
|
|
4635
5085
|
FirstVKnotIndex(): number;
|
|
4636
5086
|
LastUKnotIndex(): number;
|
|
@@ -4666,9 +5116,11 @@ export declare class MdGeBSplineSurface {
|
|
|
4666
5116
|
/**
|
|
4667
5117
|
* 表示插值B样条曲线
|
|
4668
5118
|
*/
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
5119
|
+
/**
|
|
5120
|
+
* 表示插值B样条曲线
|
|
5121
|
+
*/
|
|
5122
|
+
export declare class MdGeInterpolateBSpl extends MdGeObject {
|
|
5123
|
+
constructor(p1?: MdGeArray1OfPnt | object, p2?: boolean | MdGeArray1OfReal, p3?: number | boolean, p4?: number);
|
|
4672
5124
|
Load(InitialTangent: MdGeVec, FinalTangent: MdGeVec, Scale?: boolean): void;
|
|
4673
5125
|
Perform(): void;
|
|
4674
5126
|
Curve(): MdGeBSplineCurve;
|
|
@@ -4677,10 +5129,11 @@ export declare class MdGeInterpolateBSpl {
|
|
|
4677
5129
|
/**
|
|
4678
5130
|
* 表示长度标注
|
|
4679
5131
|
*/
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
5132
|
+
/**
|
|
5133
|
+
* 表示长度标注
|
|
5134
|
+
*/
|
|
5135
|
+
export declare class MdGeLengthDim extends MdGeObject {
|
|
5136
|
+
constructor(p1?: MdGeEdge | MdGePoint | object, p2?: MdGePlane | MdGePoint, p3?: MdGePlane);
|
|
4684
5137
|
FirstPoint(): MdGePoint;
|
|
4685
5138
|
SecondPoint(): MdGePoint;
|
|
4686
5139
|
FirstShape(): MdGeShape;
|
|
@@ -4695,9 +5148,11 @@ export declare class MdGeLengthDim {
|
|
|
4695
5148
|
/**
|
|
4696
5149
|
* 表示一条直线
|
|
4697
5150
|
*/
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
5151
|
+
/**
|
|
5152
|
+
* 表示一条直线
|
|
5153
|
+
*/
|
|
5154
|
+
export declare class MdGeLine extends MdGeObject {
|
|
5155
|
+
constructor(p1?: MdGePoint | object, p2?: MdGeDir);
|
|
4701
5156
|
Reverse(): void;
|
|
4702
5157
|
Reversed(): MdGeLine;
|
|
4703
5158
|
SetDirection(theV: MdGeDir): void;
|
|
@@ -4731,14 +5186,16 @@ export declare class MdGeLine {
|
|
|
4731
5186
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeLine;
|
|
4732
5187
|
Shape(): MdGeShape;
|
|
4733
5188
|
Wire(): MdGeWire;
|
|
4734
|
-
Edge(): MdGeEdge;
|
|
4735
|
-
Edge(p1: number, p2: number): MdGeEdge;
|
|
5189
|
+
Edge(p1?: number, p2?: number): MdGeEdge;
|
|
4736
5190
|
}
|
|
4737
5191
|
/**
|
|
4738
5192
|
* 表示形状链表迭代器
|
|
4739
5193
|
*/
|
|
4740
|
-
|
|
4741
|
-
|
|
5194
|
+
/**
|
|
5195
|
+
* 表示形状链表迭代器
|
|
5196
|
+
*/
|
|
5197
|
+
export declare class MdGeListIteratorOfListOfShape extends MdGeObject {
|
|
5198
|
+
constructor(p?: object);
|
|
4742
5199
|
More(): boolean;
|
|
4743
5200
|
Next(): void;
|
|
4744
5201
|
Value(): MdGeShape;
|
|
@@ -4747,15 +5204,17 @@ export declare class MdGeListIteratorOfListOfShape {
|
|
|
4747
5204
|
/**
|
|
4748
5205
|
* 表示形状链表
|
|
4749
5206
|
*/
|
|
4750
|
-
|
|
4751
|
-
|
|
5207
|
+
/**
|
|
5208
|
+
* 表示形状链表
|
|
5209
|
+
*/
|
|
5210
|
+
export declare class MdGeListOfShape extends MdGeObject {
|
|
5211
|
+
constructor(p?: object);
|
|
4752
5212
|
begin(): MdGeListIteratorOfListOfShape;
|
|
4753
5213
|
end(): MdGeListIteratorOfListOfShape;
|
|
4754
5214
|
Size(): number;
|
|
4755
5215
|
First(): MdGeShape;
|
|
4756
5216
|
Last(): MdGeShape;
|
|
4757
|
-
AppendShape(theShape: MdGeShape): void;
|
|
4758
|
-
AppendShape(theShape: MdGeShape, theIter: MdGeListIteratorOfListOfShape): void;
|
|
5217
|
+
AppendShape(theShape: MdGeShape, theIter?: MdGeListIteratorOfListOfShape): void;
|
|
4759
5218
|
AppendList(theOther: MdGeListOfShape): void;
|
|
4760
5219
|
PrependShape(theShape: MdGeShape): void;
|
|
4761
5220
|
PrependList(theOther: MdGeListOfShape): void;
|
|
@@ -4769,16 +5228,19 @@ export declare class MdGeListOfShape {
|
|
|
4769
5228
|
/**
|
|
4770
5229
|
* 表示放样
|
|
4771
5230
|
*/
|
|
4772
|
-
|
|
4773
|
-
|
|
5231
|
+
/**
|
|
5232
|
+
* 表示放样
|
|
5233
|
+
*/
|
|
5234
|
+
export declare class MdGeLoft extends MdGeObject {
|
|
5235
|
+
constructor(p1?: boolean | object, p2?: boolean, p3?: number);
|
|
4774
5236
|
Init(isSolid?: boolean, ruled?: boolean, pres3d?: number): void;
|
|
4775
5237
|
AddWire(wire: MdGeWire): void;
|
|
4776
5238
|
AddVertex(aVertex: MdGeVertex): void;
|
|
4777
5239
|
CheckCompatibility(check?: boolean): void;
|
|
4778
5240
|
SetSmoothing(UseSmoothing: boolean): void;
|
|
4779
|
-
SetContinuity(C: MxGAShapeEnum): void;
|
|
5241
|
+
SetContinuity(C: MdGe.MxGAShapeEnum): void;
|
|
4780
5242
|
SetMaxDegree(MaxDeg: number): void;
|
|
4781
|
-
Continuity(): MxGAShapeEnum;
|
|
5243
|
+
Continuity(): MdGe.MxGAShapeEnum;
|
|
4782
5244
|
MaxDegree(): number;
|
|
4783
5245
|
UseSmoothing(): boolean;
|
|
4784
5246
|
FirstShape(): MdGeShape;
|
|
@@ -4791,18 +5253,23 @@ export declare class MdGeLoft {
|
|
|
4791
5253
|
/**
|
|
4792
5254
|
* 表示薄实体
|
|
4793
5255
|
*/
|
|
4794
|
-
|
|
4795
|
-
|
|
5256
|
+
/**
|
|
5257
|
+
* 表示薄实体
|
|
5258
|
+
*/
|
|
5259
|
+
export declare class MdGeMakeThickSolid extends MdGeObject {
|
|
5260
|
+
constructor(p?: object);
|
|
4796
5261
|
MakeThickSolidBySimple(theS: MdGeShape, theOffsetValue: number): void;
|
|
4797
|
-
MakeThickSolidByJoin(S: MdGeShape, ClosingFaces: MdGeListOfShape, Offset: number, Tol: number, Mode?: MxOffsetModeEnum, Intersection?: boolean, SelfInter?: boolean, Join?: MxGAJoinTypeEnum, RemoveIntEdges?: boolean): void;
|
|
5262
|
+
MakeThickSolidByJoin(S: MdGeShape, ClosingFaces: MdGeListOfShape, Offset: number, Tol: number, Mode?: MdGe.MxOffsetModeEnum, Intersection?: boolean, SelfInter?: boolean, Join?: MdGe.MxGAJoinTypeEnum, RemoveIntEdges?: boolean): void;
|
|
4798
5263
|
Shape(): MdGeShape;
|
|
4799
5264
|
}
|
|
4800
5265
|
/**
|
|
4801
5266
|
* 表示抛物线
|
|
4802
5267
|
*/
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
5268
|
+
/**
|
|
5269
|
+
* 表示抛物线
|
|
5270
|
+
*/
|
|
5271
|
+
export declare class MdGeParab extends MdGeObject {
|
|
5272
|
+
constructor(p1?: MdGeCSYSR | object, p2?: number);
|
|
4806
5273
|
SetAxis(theA1: MdGeAxis): void;
|
|
4807
5274
|
SetFocal(theFocal: number): void;
|
|
4808
5275
|
SetLocation(theP: MdGePoint): void;
|
|
@@ -4834,15 +5301,16 @@ export declare class MdGeParab {
|
|
|
4834
5301
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeParab;
|
|
4835
5302
|
Shape(): MdGeShape;
|
|
4836
5303
|
Wire(): MdGeWire;
|
|
4837
|
-
Edge(): MdGeEdge;
|
|
4838
|
-
Edge(p1: number, p2: number): MdGeEdge;
|
|
5304
|
+
Edge(p1?: number, p2?: number): MdGeEdge;
|
|
4839
5305
|
}
|
|
4840
5306
|
/**
|
|
4841
5307
|
* 表示管道
|
|
4842
5308
|
*/
|
|
4843
|
-
|
|
4844
|
-
|
|
4845
|
-
|
|
5309
|
+
/**
|
|
5310
|
+
* 表示管道
|
|
5311
|
+
*/
|
|
5312
|
+
export declare class MdGePipe extends MdGeObject {
|
|
5313
|
+
constructor(p1?: MdGeWire | object, p2?: MdGeShape, p3?: MdGe.MxGFTrihedron, p4?: boolean);
|
|
4846
5314
|
FirstShape(): MdGeShape;
|
|
4847
5315
|
LastShape(): MdGeShape;
|
|
4848
5316
|
Generated(SSpine: MdGeShape, SProfile: MdGeShape): MdGeShape;
|
|
@@ -4852,48 +5320,53 @@ export declare class MdGePipe {
|
|
|
4852
5320
|
/**
|
|
4853
5321
|
* 表示拟合点B样条曲线
|
|
4854
5322
|
*/
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
5323
|
+
/**
|
|
5324
|
+
* 表示拟合B样条曲线
|
|
5325
|
+
*/
|
|
5326
|
+
export declare class MdGePointsToBSpl extends MdGeObject {
|
|
5327
|
+
constructor(p1?: MdGeArray1OfPnt | object, p2?: number, p3?: number, p4?: MdGe.MxGAShapeEnum, p5?: number);
|
|
5328
|
+
Init(Points: MdGeArray1OfPnt, Parameters: MdGeArray1OfReal, DegMin?: number, DegMax?: number, Continuity?: MdGe.MxGAShapeEnum, Tol3D?: number): void;
|
|
4859
5329
|
Curve(): MdGeBSplineCurve;
|
|
4860
5330
|
IsDone(): boolean;
|
|
4861
5331
|
}
|
|
4862
5332
|
/**
|
|
4863
5333
|
* 表示拟合B样条曲面
|
|
4864
5334
|
*/
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
5335
|
+
/**
|
|
5336
|
+
* 表示拟合B样条曲面
|
|
5337
|
+
*/
|
|
5338
|
+
export declare class MdGePointsToBSplSurface extends MdGeObject {
|
|
5339
|
+
constructor(p1?: MdGeArray2OfPnt, p2?: number, p3?: number, p4?: MdGe.MxGAShapeEnum, p5?: number);
|
|
5340
|
+
Init(Points: MdGeArray2OfPnt, DegMin?: number, DegMax?: number, Continuity?: MdGe.MxGAShapeEnum, Tol3D?: number): void;
|
|
5341
|
+
Interpolate(p1: MdGeArray2OfPnt | MdGeArray2OfReal, p2?: boolean | number, p3?: number, p4?: number, p5?: number): void;
|
|
4871
5342
|
IsDone(): boolean;
|
|
4872
5343
|
Surface(): MdGeBSplineSurface;
|
|
4873
5344
|
}
|
|
4874
5345
|
/**
|
|
4875
5346
|
* 表示拉伸体
|
|
4876
5347
|
*/
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
5348
|
+
/**
|
|
5349
|
+
* 表示拉伸体
|
|
5350
|
+
*/
|
|
5351
|
+
export declare class MdGePrism extends MdGeObject {
|
|
5352
|
+
constructor(p1?: MdGeShape | object, p2?: MdGeVec, p3?: boolean, p4?: boolean);
|
|
5353
|
+
FirstShape(theShape?: MdGeShape): MdGeShape;
|
|
5354
|
+
LastShape(theShape?: MdGeShape): MdGeShape;
|
|
4881
5355
|
IsDeleted(S: MdGeShape): boolean;
|
|
4882
|
-
FirstShape(theShape: MdGeShape): MdGeShape;
|
|
4883
|
-
LastShape(theShape: MdGeShape): MdGeShape;
|
|
4884
5356
|
Shape(): MdGeShape;
|
|
4885
5357
|
}
|
|
4886
5358
|
/**
|
|
4887
5359
|
* 表示半径标注
|
|
4888
5360
|
*/
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
5361
|
+
/**
|
|
5362
|
+
* 表示半径标注
|
|
5363
|
+
*/
|
|
5364
|
+
export declare class MdGeRadiusDim extends MdGeObject {
|
|
5365
|
+
constructor(p1?: MdGeCircle | object, p2?: MdGePoint);
|
|
4892
5366
|
Circle(): MdGeCircle;
|
|
4893
5367
|
AnchorPoint(): MdGePoint;
|
|
4894
5368
|
Shape(): MdGeShape;
|
|
4895
|
-
SetMeasuredGeometry(theCircle: MdGeCircle): void;
|
|
4896
|
-
SetMeasuredGeometry(theCircle: MdGeCircle, theAnchorPoint: MdGePoint, theHasAnchor?: boolean): void;
|
|
5369
|
+
SetMeasuredGeometry(theCircle: MdGeCircle, theAnchorPoint?: MdGePoint, theHasAnchor?: boolean): void;
|
|
4897
5370
|
SetTextPosition(theTextPos: MdGePoint): void;
|
|
4898
5371
|
GetTextPosition(): MdGePoint;
|
|
4899
5372
|
Display(): void;
|
|
@@ -4901,8 +5374,11 @@ export declare class MdGeRadiusDim {
|
|
|
4901
5374
|
/**
|
|
4902
5375
|
* 表示一个矩形
|
|
4903
5376
|
*/
|
|
4904
|
-
|
|
4905
|
-
|
|
5377
|
+
/**
|
|
5378
|
+
* 表示一个矩形
|
|
5379
|
+
*/
|
|
5380
|
+
export declare class MdGeRect extends MdGeObject {
|
|
5381
|
+
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
4906
5382
|
Position(): MdGeCSYSR;
|
|
4907
5383
|
SetPosition(thePosition: MdGeCSYSR): void;
|
|
4908
5384
|
X(): number;
|
|
@@ -4921,23 +5397,25 @@ export declare class MdGeRect {
|
|
|
4921
5397
|
/**
|
|
4922
5398
|
* 表示旋转体
|
|
4923
5399
|
*/
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
5400
|
+
/**
|
|
5401
|
+
* 表示旋转体
|
|
5402
|
+
*/
|
|
5403
|
+
export declare class MdGeRevol extends MdGeObject {
|
|
5404
|
+
constructor(p1?: MdGeShape | object, p2?: MdGeAxis, p3?: number, p4?: boolean);
|
|
5405
|
+
FirstShape(theShape?: MdGeShape): MdGeShape;
|
|
5406
|
+
LastShape(theShape?: MdGeShape): MdGeShape;
|
|
4928
5407
|
IsDeleted(S: MdGeShape): boolean;
|
|
4929
|
-
FirstShape(theShape: MdGeShape): MdGeShape;
|
|
4930
|
-
LastShape(theShape: MdGeShape): MdGeShape;
|
|
4931
5408
|
HasDegenerated(): boolean;
|
|
4932
5409
|
Shape(): MdGeShape;
|
|
4933
5410
|
}
|
|
4934
5411
|
/**
|
|
4935
5412
|
* 表示一个球体
|
|
4936
5413
|
*/
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
5414
|
+
/**
|
|
5415
|
+
* 表示一个球体
|
|
5416
|
+
*/
|
|
5417
|
+
export declare class MdGeSphere extends MdGeObject {
|
|
5418
|
+
constructor(p1?: MdGeCSYS | number | object, p2?: number, p3?: number, p4?: number);
|
|
4941
5419
|
SetLocation(theLoc: MdGePoint): void;
|
|
4942
5420
|
SetPosition(theA3: MdGeCSYS): void;
|
|
4943
5421
|
SetRadius(theR: number): void;
|
|
@@ -4967,20 +5445,17 @@ export declare class MdGeSphere {
|
|
|
4967
5445
|
TranslatedByVec(theV: MdGeVec): MdGeSphere;
|
|
4968
5446
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
4969
5447
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeSphere;
|
|
4970
|
-
Face(): MdGeFace;
|
|
4971
|
-
|
|
4972
|
-
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
4973
|
-
Shape(): MdGeShape;
|
|
4974
|
-
Shape(angle: number): MdGeShape;
|
|
4975
|
-
Shape(angle1: number, angle2: number): MdGeShape;
|
|
4976
|
-
Shape(angle1: number, angle2: number, angle3: number): MdGeShape;
|
|
5448
|
+
Face(p1?: MdGeWire | number, p2?: boolean | number, p3?: number, p4?: number): MdGeFace;
|
|
5449
|
+
Shape(p1?: number, p2?: number, p3?: number): MdGeShape;
|
|
4977
5450
|
}
|
|
4978
5451
|
/**
|
|
4979
5452
|
* 表示文字
|
|
4980
5453
|
*/
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
5454
|
+
/**
|
|
5455
|
+
* 表示文字
|
|
5456
|
+
*/
|
|
5457
|
+
export declare class MdGeText extends MdGeObject {
|
|
5458
|
+
constructor(p1?: string | object, p2?: number, p3?: MdGeCSYSR);
|
|
4984
5459
|
SetText(theText: string): void;
|
|
4985
5460
|
Position(): MdGePoint;
|
|
4986
5461
|
SetPosition(thePoint: MdGePoint): void;
|
|
@@ -4992,46 +5467,53 @@ export declare class MdGeText {
|
|
|
4992
5467
|
SetOwnAnchorPoint(theHasOwnAnchor: boolean): void;
|
|
4993
5468
|
Height(): number;
|
|
4994
5469
|
SetHeight(theHeight: number): void;
|
|
4995
|
-
HorizontalAlignment(): MxHorizontalTextAlignment;
|
|
4996
|
-
SetHorizontalAlignment(theJustification: MxHorizontalTextAlignment): void;
|
|
4997
|
-
VerticalAlignment(): MxVerticalTextAlignment;
|
|
4998
|
-
SetVerticalAlignment(theJustification: MxVerticalTextAlignment): void;
|
|
5470
|
+
HorizontalAlignment(): MdGe.MxHorizontalTextAlignment;
|
|
5471
|
+
SetHorizontalAlignment(theJustification: MdGe.MxHorizontalTextAlignment): void;
|
|
5472
|
+
VerticalAlignment(): MdGe.MxVerticalTextAlignment;
|
|
5473
|
+
SetVerticalAlignment(theJustification: MdGe.MxVerticalTextAlignment): void;
|
|
4999
5474
|
Shape(): MdGeShape;
|
|
5000
5475
|
}
|
|
5001
5476
|
/**
|
|
5002
5477
|
* 表示文字标签
|
|
5003
5478
|
*/
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5479
|
+
/**
|
|
5480
|
+
* 表示文字标签
|
|
5481
|
+
*/
|
|
5482
|
+
export declare class MdGeTextLabel extends MdGeObject {
|
|
5483
|
+
constructor(p1?: string | object, p2?: number, p3?: MdGePoint);
|
|
5007
5484
|
SetColor(theR: number, theG: number, theB: number): void;
|
|
5008
5485
|
SetText(text: string): void;
|
|
5009
5486
|
SetPositon(position: MdGePoint): void;
|
|
5010
|
-
SetHJustification(theHJust: MxHorizontalTextAlignment): void;
|
|
5011
|
-
SetVJustification(theVJust: MxVerticalTextAlignment): void;
|
|
5487
|
+
SetHJustification(theHJust: MdGe.MxHorizontalTextAlignment): void;
|
|
5488
|
+
SetVJustification(theVJust: MdGe.MxVerticalTextAlignment): void;
|
|
5012
5489
|
SetAngle(theAngle: number): void;
|
|
5013
5490
|
SetZoomable(theIsZoomable: boolean): void;
|
|
5014
5491
|
SetHeight(height: number): void;
|
|
5015
|
-
SetFontAspect(theFontAspect: MxFontAspect): void;
|
|
5492
|
+
SetFontAspect(theFontAspect: MdGe.MxFontAspect): void;
|
|
5016
5493
|
SetFont(theFont: string): void;
|
|
5017
5494
|
SetOrientation3D(theOrientation: MdGeCSYSR): void;
|
|
5018
5495
|
UnsetOrientation3D(): void;
|
|
5019
5496
|
Position(): MdGePoint;
|
|
5020
|
-
FontAspect(): MxFontAspect;
|
|
5497
|
+
FontAspect(): MdGe.MxFontAspect;
|
|
5021
5498
|
Orientation3D(): MdGeCSYSR;
|
|
5022
5499
|
HasOrientation3D(): boolean;
|
|
5023
5500
|
SetFlipping(theIsFlipping: boolean): void;
|
|
5024
5501
|
HasFlipping(): boolean;
|
|
5025
5502
|
HasOwnAnchorPoint(): boolean;
|
|
5026
5503
|
SetOwnAnchorPoint(theOwnAnchorPoint: boolean): void;
|
|
5027
|
-
SetDisplayType(theDisplayType: MxTypeOfDisplayText): void;
|
|
5504
|
+
SetDisplayType(theDisplayType: MdGe.MxTypeOfDisplayText): void;
|
|
5028
5505
|
SetColorSubTitle(theR: number, theG: number, theB: number): void;
|
|
5029
5506
|
Display(): void;
|
|
5030
5507
|
}
|
|
5508
|
+
/**
|
|
5509
|
+
* 拓扑转换类
|
|
5510
|
+
*/
|
|
5031
5511
|
/**
|
|
5032
5512
|
* 拓扑转换类
|
|
5033
5513
|
*/
|
|
5034
5514
|
export declare class MdGeTopo {
|
|
5515
|
+
protected imp: any;
|
|
5516
|
+
constructor();
|
|
5035
5517
|
Vertex(S: MdGeShape): MdGeVertex;
|
|
5036
5518
|
Edge(S: MdGeShape): MdGeEdge;
|
|
5037
5519
|
Wire(S: MdGeShape): MdGeWire;
|
|
@@ -5040,13 +5522,17 @@ export declare class MdGeTopo {
|
|
|
5040
5522
|
Solid(S: MdGeShape): MdGeSolid;
|
|
5041
5523
|
CompSolid(S: MdGeShape): MdGeCompSolid;
|
|
5042
5524
|
Compound(S: MdGeShape): MdGeCompound;
|
|
5525
|
+
DestroyObject(pObj: object): void;
|
|
5526
|
+
SetRegisterFuncPtr(jsFunPtr: number): void;
|
|
5043
5527
|
}
|
|
5044
5528
|
/**
|
|
5045
5529
|
* 表示圆环
|
|
5046
5530
|
*/
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5531
|
+
/**
|
|
5532
|
+
* 表示圆环
|
|
5533
|
+
*/
|
|
5534
|
+
export declare class MdGeTorus extends MdGeObject {
|
|
5535
|
+
constructor(p1?: MdGeCSYS | object, p2?: number, p3?: number);
|
|
5050
5536
|
SetAxis(theA1: MdGeAxis): void;
|
|
5051
5537
|
SetLocation(theLoc: MdGePoint): void;
|
|
5052
5538
|
SetMajorRadius(theMajorRadius: number): void;
|
|
@@ -5080,20 +5566,17 @@ export declare class MdGeTorus {
|
|
|
5080
5566
|
TranslatedByVec(theV: MdGeVec): MdGeTorus;
|
|
5081
5567
|
TranslateBy2Points(theP1: MdGePoint, theP2: MdGePoint): void;
|
|
5082
5568
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeTorus;
|
|
5083
|
-
Face(): MdGeFace;
|
|
5084
|
-
|
|
5085
|
-
Face(W: MdGeWire, Inside?: boolean): MdGeFace;
|
|
5086
|
-
Shape(): MdGeShape;
|
|
5087
|
-
Shape(angle: number): MdGeShape;
|
|
5088
|
-
Shape(angle1: number, angle2: number): MdGeShape;
|
|
5089
|
-
Shape(angle1: number, angle2: number, angle: number): MdGeShape;
|
|
5569
|
+
Face(p1?: MdGeWire | number, p2?: boolean | number, p3?: number, p4?: number): MdGeFace;
|
|
5570
|
+
Shape(p1?: number, p2?: number, p3?: number): MdGeShape;
|
|
5090
5571
|
}
|
|
5091
5572
|
/**
|
|
5092
5573
|
* 形状变换类
|
|
5093
5574
|
*/
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5575
|
+
/**
|
|
5576
|
+
* 形状变换类
|
|
5577
|
+
*/
|
|
5578
|
+
export declare class MdGeTransform extends MdGeObject {
|
|
5579
|
+
constructor(p1?: MdGeTrsf | MdGeShape | object, p2?: MdGeTrsf, p3?: boolean, p4?: boolean);
|
|
5097
5580
|
Perform(theShape: MdGeShape, theCopyGeom?: boolean, theCopyMesh?: boolean): void;
|
|
5098
5581
|
ModifiedShape(S: MdGeShape): MdGeShape;
|
|
5099
5582
|
Shape(): MdGeShape;
|
|
@@ -5101,15 +5584,127 @@ export declare class MdGeTransform {
|
|
|
5101
5584
|
/**
|
|
5102
5585
|
* 表示一个楔形
|
|
5103
5586
|
*/
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
constructor(
|
|
5587
|
+
/**
|
|
5588
|
+
* 表示一个楔形
|
|
5589
|
+
*/
|
|
5590
|
+
export declare class MdGeWedge extends MdGeObject {
|
|
5591
|
+
constructor(p1?: number | MdGeCSYSR | object, p2?: number, p3?: number, p4?: number, p5?: number, p6?: number, p7?: number, p8?: number);
|
|
5109
5592
|
Shell(): MdGeShell;
|
|
5110
5593
|
Solid(): MdGeSolid;
|
|
5111
5594
|
Shape(): MdGeShape;
|
|
5112
5595
|
}
|
|
5596
|
+
/**
|
|
5597
|
+
* 表示几何曲面句柄
|
|
5598
|
+
*/
|
|
5599
|
+
/**
|
|
5600
|
+
* 表示几何曲面句柄
|
|
5601
|
+
*/
|
|
5602
|
+
export declare class MdGeHGeomSurface extends MdGeObject {
|
|
5603
|
+
constructor(p?: object);
|
|
5604
|
+
DynamicType(): string;
|
|
5605
|
+
}
|
|
5606
|
+
/**
|
|
5607
|
+
* 表示几何平面句柄
|
|
5608
|
+
*/
|
|
5609
|
+
/**
|
|
5610
|
+
* 表示几何平面句柄
|
|
5611
|
+
*/
|
|
5612
|
+
export declare class MdGeHGeomPlane extends MdGeObject {
|
|
5613
|
+
constructor(p?: object);
|
|
5614
|
+
DownCast(hGeomSurface: MdGeHGeomSurface): MdGeHGeomPlane;
|
|
5615
|
+
Axis(): MdGeAxis;
|
|
5616
|
+
Location(): MdGePoint;
|
|
5617
|
+
Position(): MdGeCSYS;
|
|
5618
|
+
}
|
|
5619
|
+
/**
|
|
5620
|
+
* 表示BRep工具
|
|
5621
|
+
*/
|
|
5622
|
+
/**
|
|
5623
|
+
* 表示Brep工具
|
|
5624
|
+
*/
|
|
5625
|
+
export declare class MdGeBRep {
|
|
5626
|
+
protected imp: any;
|
|
5627
|
+
constructor();
|
|
5628
|
+
IsClosed(p1: MdGeShape | MdGeEdge, p2?: MdGeFace): boolean | undefined;
|
|
5629
|
+
Surface(F: MdGeFace): MdGeHGeomSurface;
|
|
5630
|
+
Tolerance(F: MdGeFace): number;
|
|
5631
|
+
NaturalRestriction(F: MdGeFace): boolean;
|
|
5632
|
+
IsGeometric(F: MdGeFace): boolean;
|
|
5633
|
+
SameParameter(E: MdGeEdge): boolean;
|
|
5634
|
+
SameRange(E: MdGeEdge): boolean;
|
|
5635
|
+
Degenerated(E: MdGeEdge): boolean;
|
|
5636
|
+
HasContinuity(E: MdGeEdge, F1?: MdGeFace, F2?: MdGeFace): boolean | undefined;
|
|
5637
|
+
Continuity(E: MdGeEdge, F1: MdGeFace, F2: MdGeFace): MdGe.MxGAShapeEnum;
|
|
5638
|
+
MaxContinuity(theEdge: MdGeEdge): MdGe.MxGAShapeEnum;
|
|
5639
|
+
Pnt(V: MdGeVertex): MdGePoint;
|
|
5640
|
+
Parameter(V: MdGeVertex, E: MdGeEdge, F?: MdGeFace): number;
|
|
5641
|
+
MaxTolerance(theShape: MdGeShape, theSubShape: MdGe.MxShapeEnum): number;
|
|
5642
|
+
}
|
|
5643
|
+
/**
|
|
5644
|
+
* 表示颜色
|
|
5645
|
+
*/
|
|
5646
|
+
/**
|
|
5647
|
+
* 表示颜色
|
|
5648
|
+
*/
|
|
5649
|
+
export declare class MdGeColor extends MdGeObject {
|
|
5650
|
+
constructor(p1?: MdGe.MxNameOfColor | number | object, p2?: number, p3?: number, p4?: MdGe.MxTypeOfColor);
|
|
5651
|
+
Name(): MdGe.MxNameOfColor;
|
|
5652
|
+
SetValues(p1: MdGe.MxNameOfColor | number, p2?: number, p3?: number, p4?: MdGe.MxTypeOfColor): void;
|
|
5653
|
+
Red(): number;
|
|
5654
|
+
Green(): number;
|
|
5655
|
+
Blue(): number;
|
|
5656
|
+
Hue(): number;
|
|
5657
|
+
Light(): number;
|
|
5658
|
+
ChangeIntensity(theDelta: number): void;
|
|
5659
|
+
Saturation(): number;
|
|
5660
|
+
ChangeContrast(theDelta: number): void;
|
|
5661
|
+
IsDifferent(theOther: MdGeColor): boolean;
|
|
5662
|
+
IsEqual(theOther: MdGeColor): boolean;
|
|
5663
|
+
Distance(theColor: MdGeColor): number;
|
|
5664
|
+
SquareDistance(theColor: MdGeColor): number;
|
|
5665
|
+
DeltaE2000(theOther: MdGeColor): number;
|
|
5666
|
+
StringName(theColor: MdGe.MxNameOfColor): string;
|
|
5667
|
+
}
|
|
5668
|
+
/**
|
|
5669
|
+
* 表示材质
|
|
5670
|
+
*/
|
|
5671
|
+
/**
|
|
5672
|
+
* 表示材质
|
|
5673
|
+
*/
|
|
5674
|
+
export declare class MdGeMaterialAspect extends MdGeObject {
|
|
5675
|
+
constructor(p?: MdGe.MxNameOfMaterial | object);
|
|
5676
|
+
NumberOfMaterials(): number;
|
|
5677
|
+
MaterialFromName(theName: string): MdGe.MxNameOfMaterial;
|
|
5678
|
+
Name(): MdGe.MxNameOfMaterial;
|
|
5679
|
+
RequestedName(): MdGe.MxNameOfMaterial;
|
|
5680
|
+
MaterialName(): string;
|
|
5681
|
+
SetMaterialName(theName: string): void;
|
|
5682
|
+
Reset(): void;
|
|
5683
|
+
Color(): MdGeColor;
|
|
5684
|
+
SetColor(theColor: MdGeColor): void;
|
|
5685
|
+
Transparency(): number;
|
|
5686
|
+
Alpha(): number;
|
|
5687
|
+
SetTransparency(theValue: number): void;
|
|
5688
|
+
SetAlpha(theValue: number): void;
|
|
5689
|
+
AmbientColor(): MdGeColor;
|
|
5690
|
+
SetAmbientColor(theColor: MdGeColor): void;
|
|
5691
|
+
DiffuseColor(): MdGeColor;
|
|
5692
|
+
SetDiffuseColor(theColor: MdGeColor): void;
|
|
5693
|
+
SpecularColor(): MdGeColor;
|
|
5694
|
+
SetSpecularColor(theColor: MdGeColor): void;
|
|
5695
|
+
EmissiveColor(): MdGeColor;
|
|
5696
|
+
SetEmissiveColor(theColor: MdGeColor): void;
|
|
5697
|
+
Shininess(): number;
|
|
5698
|
+
SetShininess(theValue: number): void;
|
|
5699
|
+
IncreaseShine(theDelta: number): void;
|
|
5700
|
+
RefractionIndex(): number;
|
|
5701
|
+
SetRefractionIndex(theValue: number): void;
|
|
5702
|
+
ReflectionMode(theType: MdGe.MxTypeOfReflection): boolean;
|
|
5703
|
+
MaterialType(): MdGe.MxTypeOfMaterial;
|
|
5704
|
+
SetMaterialType(theType: MdGe.MxTypeOfMaterial): void;
|
|
5705
|
+
IsDifferent(theOther: MdGeMaterialAspect): boolean;
|
|
5706
|
+
IsEqual(theOther: MdGeMaterialAspect): boolean;
|
|
5707
|
+
}
|
|
5113
5708
|
export declare function loadMxCADassembly3d(config: MxDraw3dConfig, call?: (mxDraw3d: MxDraw3d) => void): Promise<MxDraw3d>;
|
|
5114
5709
|
|
|
5115
5710
|
export {};
|