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