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