mxcad 1.0.204 → 1.0.205
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 +570 -27
- package/dist/mxcad.es.js +3217 -681
- package/dist/mxcad.umd.js +3 -3
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/dist/wasm/3d/mxdraw3d_min.js +20881 -15273
- package/dist/wasm/3d/mxdraw3d_min.wasm +0 -0
- package/package.json +1 -1
package/dist/mxcad.d.ts
CHANGED
|
@@ -863,6 +863,19 @@ export declare class MxCADUtilityClass {
|
|
|
863
863
|
*/
|
|
864
864
|
selectEnt(strPrompt?: string, filter?: MxCADResbuf | null, isSelectMxDraw?: boolean, init?: (getPoint: MrxDbgUiPrPoint) => any, callbackGetPoint?: (point: McGePoint3d) => void): Promise<McObjectId[]>;
|
|
865
865
|
/**
|
|
866
|
+
* 得到图上当前选择对象时,选择范围点.
|
|
867
|
+
* @example
|
|
868
|
+
* ```typescript
|
|
869
|
+
*
|
|
870
|
+
*
|
|
871
|
+
* ```
|
|
872
|
+
*/
|
|
873
|
+
getCurrentSelectPoints(): {
|
|
874
|
+
point1: McGePoint3d;
|
|
875
|
+
point2: McGePoint3d;
|
|
876
|
+
isvalid: boolean;
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
866
879
|
* 得到当前选中的对象。
|
|
867
880
|
*/
|
|
868
881
|
getCurrentSelect(filter?: MxCADResbuf | null): McObjectId[];
|
|
@@ -8269,15 +8282,19 @@ export declare function loadMxCADassembly3d(config: MxDraw3dConfig, call?: (mxDr
|
|
|
8269
8282
|
* MxCppType 类
|
|
8270
8283
|
*/
|
|
8271
8284
|
export declare class MxApp3DType extends PubSub<{
|
|
8272
|
-
|
|
8273
|
-
|
|
8274
|
-
|
|
8275
|
-
|
|
8276
|
-
|
|
8277
|
-
|
|
8278
|
-
|
|
8285
|
+
eventModesSelected: (ids: number[]) => void;
|
|
8286
|
+
eventAddToTree: (node: string) => void;
|
|
8287
|
+
eventRemoveFromTree: (ids: number[]) => void;
|
|
8288
|
+
eventFileSave: (fileName: string) => void;
|
|
8289
|
+
eventRebuildTree: (tree_str: string) => void;
|
|
8290
|
+
eventUpdatePointer: (pointer: number[]) => void;
|
|
8291
|
+
eventUpdateViewSize: (pointer: number[]) => void;
|
|
8279
8292
|
}> {
|
|
8293
|
+
init(imp: any): void;
|
|
8280
8294
|
imp?: any;
|
|
8295
|
+
cpp_app: any;
|
|
8296
|
+
tool: any;
|
|
8297
|
+
shapeDownCast: any;
|
|
8281
8298
|
}
|
|
8282
8299
|
export declare let MxApp3D: MxApp3DType;
|
|
8283
8300
|
export interface MxCAD3DConfig {
|
|
@@ -8298,6 +8315,11 @@ export declare class MxCAD3DObject {
|
|
|
8298
8315
|
private ctx;
|
|
8299
8316
|
private updateCanvasSizeFun;
|
|
8300
8317
|
constructor();
|
|
8318
|
+
getDocument(): MxNewMx3dDbDocument;
|
|
8319
|
+
update(isUpAllData: boolean): void;
|
|
8320
|
+
getModelCounts(): number;
|
|
8321
|
+
setProjectionType(theProjection: MdGe.MxCameraProjection): void;
|
|
8322
|
+
showCenterTrihedron(theToShow: boolean): void;
|
|
8301
8323
|
getImp(): any;
|
|
8302
8324
|
getCtx(): any;
|
|
8303
8325
|
updateCanvasSize(): void;
|
|
@@ -8308,43 +8330,446 @@ export declare class MxCAD3DObject {
|
|
|
8308
8330
|
callEvent(sEventName: string, param?: any): boolean;
|
|
8309
8331
|
create(config: MxCAD3DConfig): void;
|
|
8310
8332
|
}
|
|
8333
|
+
export declare class MxNewMx3dApplication {
|
|
8334
|
+
protected imp: any;
|
|
8335
|
+
constructor();
|
|
8336
|
+
createView(theDocName: string, theCanvasSelector: string): MxNewMx3dView;
|
|
8337
|
+
getCurrentActiveView(): MxNewMx3dView;
|
|
8338
|
+
}
|
|
8311
8339
|
export declare class MxNewMx3dBaseObject {
|
|
8312
8340
|
protected imp: any;
|
|
8313
8341
|
constructor(imp?: any);
|
|
8314
8342
|
getImp(): any;
|
|
8315
8343
|
protected initTempObject(imp: any): void;
|
|
8316
8344
|
}
|
|
8345
|
+
export declare class MxNewMx3dDimObject extends MxNewMx3dBaseObject {
|
|
8346
|
+
constructor(p?: object);
|
|
8347
|
+
}
|
|
8348
|
+
export declare class MxNewMx3dSymbolObject extends MxNewMx3dBaseObject {
|
|
8349
|
+
constructor(p?: object);
|
|
8350
|
+
}
|
|
8351
|
+
export declare class MxNewMx3dAlgoObject extends MxNewMx3dBaseObject {
|
|
8352
|
+
constructor(p?: object);
|
|
8353
|
+
}
|
|
8317
8354
|
export declare class MxNewMx3dGeObject extends MxNewMx3dBaseObject {
|
|
8318
8355
|
constructor(p?: object);
|
|
8319
8356
|
}
|
|
8357
|
+
export declare class MxNewMx3dGeCurve extends MxNewMx3dGeObject {
|
|
8358
|
+
constructor(p?: object);
|
|
8359
|
+
}
|
|
8320
8360
|
export declare class MxNewMx3dGePoint extends MxNewMx3dGeObject {
|
|
8321
|
-
constructor(
|
|
8361
|
+
constructor();
|
|
8362
|
+
constructor(theX: number, theY: number, theZ: number);
|
|
8322
8363
|
X(): number;
|
|
8323
8364
|
Y(): number;
|
|
8324
8365
|
Z(): number;
|
|
8325
8366
|
setX(theX: number): void;
|
|
8326
8367
|
setY(theY: number): void;
|
|
8327
8368
|
setZ(theZ: number): void;
|
|
8369
|
+
Vertex(): MxNewMx3dShapeVertex;
|
|
8370
|
+
}
|
|
8371
|
+
export declare class MxNewMx3dGeTrsf extends MxNewMx3dGeObject {
|
|
8372
|
+
constructor();
|
|
8373
|
+
SetMirrorByPoint(point: MxNewMx3dGePoint): void;
|
|
8374
|
+
SetMirrorByAxis(axis: MxNewMx3dGeAxis): void;
|
|
8375
|
+
SetMirrorByCSYSR(csysr: MxNewMx3dGeCSYSR): void;
|
|
8376
|
+
SetRotation(axis: MxNewMx3dGeAxis, ang: number): void;
|
|
8377
|
+
SetScale(point: MxNewMx3dGePoint, s: number): void;
|
|
8378
|
+
SetTranslationByVec(vec: MxNewMx3dGeVec): void;
|
|
8379
|
+
SetTranslationBy2Points(point1: MxNewMx3dGePoint, point2: MxNewMx3dGePoint): void;
|
|
8380
|
+
SetTranslationPart(vec: MxNewMx3dGeVec): void;
|
|
8381
|
+
SetScaleFactor(s: number): void;
|
|
8382
|
+
SetValues(a11: number, a12: number, a13: number, a14: number, a21: number, a22: number, a23: number, a24: number, a31: number, a32: number, a33: number, a34: number): void;
|
|
8383
|
+
IsNegative(): number;
|
|
8384
|
+
ScaleFactor(): number;
|
|
8385
|
+
Value(row: number, col: number): number;
|
|
8386
|
+
Invert(): void;
|
|
8387
|
+
Inverted(): MxNewMx3dGeTrsf;
|
|
8388
|
+
Multiplied(t: MxNewMx3dGeTrsf): MxNewMx3dGeTrsf;
|
|
8389
|
+
Multiply(t: MxNewMx3dGeTrsf): void;
|
|
8390
|
+
PreMultiply(t: MxNewMx3dGeTrsf): void;
|
|
8391
|
+
Power(n: number): void;
|
|
8392
|
+
Powered(n: number): MxNewMx3dGeTrsf;
|
|
8393
|
+
Transforms(x: number, y: number, z: number): void;
|
|
8394
|
+
}
|
|
8395
|
+
export declare class MxNewMx3dGeAxis extends MxNewMx3dGeObject {
|
|
8396
|
+
constructor();
|
|
8397
|
+
constructor(theLoc: MxNewMx3dGePoint, theDir: MxNewMx3dGeDir);
|
|
8398
|
+
Direction(): MxNewMx3dGeDir;
|
|
8399
|
+
Location(): MxNewMx3dGePoint;
|
|
8400
|
+
SetDirection(theDir: MxNewMx3dGeDir): void;
|
|
8401
|
+
SetLocation(theLoc: MxNewMx3dGePoint): void;
|
|
8402
|
+
}
|
|
8403
|
+
export declare class MxNewMx3dGeDir extends MxNewMx3dGeObject {
|
|
8404
|
+
constructor();
|
|
8405
|
+
constructor(theXv: number, theYv: number, theZv: number);
|
|
8406
|
+
X(): number;
|
|
8407
|
+
Y(): number;
|
|
8408
|
+
Z(): number;
|
|
8409
|
+
SetX(theX: number): void;
|
|
8410
|
+
SetY(theY: number): void;
|
|
8411
|
+
SetZ(theZ: number): void;
|
|
8412
|
+
SetXYZ(theXv: number, theYv: number, theZv: number): void;
|
|
8413
|
+
IsEqual(theOther: MxNewMx3dGeDir, theAngularTolerance: number): boolean;
|
|
8414
|
+
IsNormal(theOther: MxNewMx3dGeDir, theAngularTolerance: number): boolean;
|
|
8415
|
+
IsOpposite(theOther: MxNewMx3dGeDir, theAngularTolerance: number): boolean;
|
|
8416
|
+
IsParallel(theOther: MxNewMx3dGeDir, theAngularTolerance: number): boolean;
|
|
8417
|
+
Angle(theOther: MxNewMx3dGeDir): number;
|
|
8418
|
+
AngleWithRef(theOther: MxNewMx3dGeDir, theVRef: MxNewMx3dGeDir): number;
|
|
8419
|
+
Cross(theRight: MxNewMx3dGeDir): void;
|
|
8420
|
+
Crossed(theRight: MxNewMx3dGeDir): MxNewMx3dGeDir;
|
|
8421
|
+
CrossCross(theV1: MxNewMx3dGeDir, theV2: MxNewMx3dGeDir): void;
|
|
8422
|
+
CrossCrossed(theV1: MxNewMx3dGeDir, theV2: MxNewMx3dGeDir): MxNewMx3dGeDir;
|
|
8423
|
+
Dot(theOther: MxNewMx3dGeDir): number;
|
|
8424
|
+
DotCross(theV1: MxNewMx3dGeDir, theV2: MxNewMx3dGeDir): number;
|
|
8425
|
+
Reverse(): void;
|
|
8426
|
+
Reversed(): MxNewMx3dGeDir;
|
|
8427
|
+
MirrorByVec(theV: MxNewMx3dGeDir): void;
|
|
8428
|
+
MirroredByVec(theV: MxNewMx3dGeDir): MxNewMx3dGeDir;
|
|
8429
|
+
MirrorByAxis(theA1: MxNewMx3dGeAxis): void;
|
|
8430
|
+
MirroredByAxis(theA1: MxNewMx3dGeAxis): MxNewMx3dGeDir;
|
|
8431
|
+
MirrorByCSYSR(theA2: MxNewMx3dGeCSYSR): void;
|
|
8432
|
+
MirroredByCSYSR(theA2: MxNewMx3dGeCSYSR): MxNewMx3dGeDir;
|
|
8433
|
+
Rotate(theA1: MxNewMx3dGeAxis, theAng: number): void;
|
|
8434
|
+
Rotated(theA1: MxNewMx3dGeAxis, theAng: number): MxNewMx3dGeDir;
|
|
8435
|
+
Transform(theT: MxNewMx3dGeTrsf): void;
|
|
8436
|
+
Transformed(theT: MxNewMx3dGeTrsf): MxNewMx3dGeDir;
|
|
8437
|
+
}
|
|
8438
|
+
export declare class MxNewMx3dGeVec extends MxNewMx3dGeObject {
|
|
8439
|
+
constructor();
|
|
8440
|
+
constructor(x: number, y: number, z: number);
|
|
8441
|
+
constructor(thePoint1: MxNewMx3dGePoint, thePoint2: MxNewMx3dGePoint);
|
|
8442
|
+
X(): number;
|
|
8443
|
+
Y(): number;
|
|
8444
|
+
Z(): number;
|
|
8445
|
+
SetX(x: number): void;
|
|
8446
|
+
SetY(y: number): void;
|
|
8447
|
+
SetZ(z: number): void;
|
|
8448
|
+
SetXYZ(x: number, y: number, z: number): void;
|
|
8449
|
+
IsEqual(other: MxNewMx3dGeVec, linearTolerance: number, angularTolerance: number): boolean;
|
|
8450
|
+
IsNormal(other: MxNewMx3dGeVec, angularTolerance: number): boolean;
|
|
8451
|
+
IsOpposite(other: MxNewMx3dGeVec, angularTolerance: number): boolean;
|
|
8452
|
+
IsParallel(other: MxNewMx3dGeVec, angularTolerance: number): boolean;
|
|
8453
|
+
Angle(other: MxNewMx3dGeVec): number;
|
|
8454
|
+
AngleWithRef(other: MxNewMx3dGeVec, ref: MxNewMx3dGeVec): number;
|
|
8455
|
+
Magnitude(): number;
|
|
8456
|
+
SquareMagnitude(): number;
|
|
8457
|
+
Add(other: MxNewMx3dGeVec): void;
|
|
8458
|
+
Added(other: MxNewMx3dGeVec): MxNewMx3dGeVec;
|
|
8459
|
+
Subtract(right: MxNewMx3dGeVec): void;
|
|
8460
|
+
Subtracted(right: MxNewMx3dGeVec): MxNewMx3dGeVec;
|
|
8461
|
+
Multiply(scalar: number): void;
|
|
8462
|
+
Multiplied(scalar: number): MxNewMx3dGeVec;
|
|
8463
|
+
Divide(scalar: number): void;
|
|
8464
|
+
Divided(scalar: number): MxNewMx3dGeVec;
|
|
8465
|
+
Cross(right: MxNewMx3dGeVec): void;
|
|
8466
|
+
Crossed(right: MxNewMx3dGeVec): MxNewMx3dGeVec;
|
|
8467
|
+
CrossMagnitude(right: MxNewMx3dGeVec): number;
|
|
8468
|
+
CrossSquareMagnitude(right: MxNewMx3dGeVec): number;
|
|
8469
|
+
CrossCross(v1: MxNewMx3dGeVec, v2: MxNewMx3dGeVec): void;
|
|
8470
|
+
CrossCrossed(v1: MxNewMx3dGeVec, v2: MxNewMx3dGeVec): MxNewMx3dGeVec;
|
|
8471
|
+
Dot(other: MxNewMx3dGeVec): number;
|
|
8472
|
+
DotCross(v1: MxNewMx3dGeVec, v2: MxNewMx3dGeVec): number;
|
|
8473
|
+
Normalize(): void;
|
|
8474
|
+
Normalized(): MxNewMx3dGeVec;
|
|
8475
|
+
Reverse(): void;
|
|
8476
|
+
Reversed(): MxNewMx3dGeVec;
|
|
8477
|
+
SetLinearForm(v1: MxNewMx3dGeVec, v2: MxNewMx3dGeVec): void;
|
|
8478
|
+
SetLinearForm(a1: number, v1: MxNewMx3dGeVec, v2: MxNewMx3dGeVec): void;
|
|
8479
|
+
SetLinearForm(a1: number, v1: MxNewMx3dGeVec, a2: number, v2: MxNewMx3dGeVec): void;
|
|
8480
|
+
SetLinearForm(a1: number, v1: MxNewMx3dGeVec, a2: number, v2: MxNewMx3dGeVec, v3: MxNewMx3dGeVec): void;
|
|
8481
|
+
SetLinearForm(a1: number, v1: MxNewMx3dGeVec, a2: number, v2: MxNewMx3dGeVec, a3: number, v3: MxNewMx3dGeVec): void;
|
|
8482
|
+
SetLinearForm(a1: number, v1: MxNewMx3dGeVec, a2: number, v2: MxNewMx3dGeVec, a3: number, v3: MxNewMx3dGeVec, v4: MxNewMx3dGeVec): void;
|
|
8483
|
+
MirrorByVec(vec: MxNewMx3dGeVec): void;
|
|
8484
|
+
MirroredByVec(vec: MxNewMx3dGeVec): MxNewMx3dGeVec;
|
|
8485
|
+
MirrorByAxis(axis: MxNewMx3dGeAxis): void;
|
|
8486
|
+
MirroredByAxis(axis: MxNewMx3dGeAxis): MxNewMx3dGeVec;
|
|
8487
|
+
MirrorByCSYSR(csysr: MxNewMx3dGeCSYSR): void;
|
|
8488
|
+
MirroredByCSYSR(csysr: MxNewMx3dGeCSYSR): MxNewMx3dGeVec;
|
|
8489
|
+
Rotate(axis: MxNewMx3dGeAxis, ang: number): void;
|
|
8490
|
+
Rotated(axis: MxNewMx3dGeAxis, ang: number): MxNewMx3dGeVec;
|
|
8491
|
+
Scale(s: number): void;
|
|
8492
|
+
Scaled(s: number): MxNewMx3dGeVec;
|
|
8493
|
+
Transform(t: MxNewMx3dGeTrsf): void;
|
|
8494
|
+
Transformed(t: MxNewMx3dGeTrsf): MxNewMx3dGeVec;
|
|
8328
8495
|
}
|
|
8329
8496
|
export declare class MxNewMx3dGeBndBox extends MxNewMx3dGeObject {
|
|
8330
|
-
constructor(
|
|
8497
|
+
constructor();
|
|
8498
|
+
constructor(theMin: MxNewMx3dGePoint, theMax: MxNewMx3dGePoint);
|
|
8499
|
+
SetWhole(): void;
|
|
8500
|
+
SetVoid(): void;
|
|
8501
|
+
Set(P: MxNewMx3dGePoint, D: MxNewMx3dGeDir): void;
|
|
8502
|
+
Update(aXmin: number, aYmin: number, aZmin: number, aXmax: number, aYmax: number, aZmax: number): void;
|
|
8503
|
+
GetGap(): number;
|
|
8504
|
+
SetGap(Tol: number): void;
|
|
8505
|
+
Enlarge(Tol: number): void;
|
|
8506
|
+
CornerMin(): MxNewMx3dGePoint;
|
|
8507
|
+
CornerMax(): MxNewMx3dGePoint;
|
|
8508
|
+
OpenXmin(): void;
|
|
8509
|
+
OpenXmax(): void;
|
|
8510
|
+
OpenYmin(): void;
|
|
8511
|
+
OpenYmax(): void;
|
|
8512
|
+
OpenZmin(): void;
|
|
8513
|
+
OpenZmax(): void;
|
|
8514
|
+
IsOpen(): boolean;
|
|
8515
|
+
IsOpenXmin(): boolean;
|
|
8516
|
+
IsOpenXmax(): boolean;
|
|
8517
|
+
IsOpenYmin(): boolean;
|
|
8518
|
+
IsOpenYmax(): boolean;
|
|
8519
|
+
IsOpenZmin(): boolean;
|
|
8520
|
+
IsOpenZmax(): boolean;
|
|
8521
|
+
IsWhole(): boolean;
|
|
8522
|
+
IsVoid(): boolean;
|
|
8523
|
+
IsXThin(tol: number): boolean;
|
|
8524
|
+
IsYThin(tol: number): boolean;
|
|
8525
|
+
IsZThin(tol: number): boolean;
|
|
8526
|
+
IsThin(tol: number): boolean;
|
|
8527
|
+
Transformed(T: MxNewMx3dGeTrsf): MxNewMx3dGeBndBox;
|
|
8528
|
+
AddBndBox(Other: MxNewMx3dGeBndBox): void;
|
|
8529
|
+
AddPoint(P: MxNewMx3dGePoint): void;
|
|
8530
|
+
AddPointDir(P: MxNewMx3dGePoint, D: MxNewMx3dGeDir): void;
|
|
8531
|
+
AddDir(D: MxNewMx3dGeDir): void;
|
|
8532
|
+
IsOutPoint(P: MxNewMx3dGePoint): boolean;
|
|
8533
|
+
IsOutBndBox(Other: MxNewMx3dGeBndBox): boolean;
|
|
8534
|
+
IsOutBndBox(Other: MxNewMx3dGeBndBox, T: MxNewMx3dGeTrsf): boolean;
|
|
8535
|
+
IsOutTBT(T1: MxNewMx3dGeTrsf, Other: MxNewMx3dGeBndBox, T2: MxNewMx3dGeTrsf): boolean;
|
|
8536
|
+
IsOutPPD(P1: MxNewMx3dGePoint, P2: MxNewMx3dGePoint, D: MxNewMx3dGeDir): boolean;
|
|
8537
|
+
Distance(Other: MxNewMx3dGeBndBox): number;
|
|
8538
|
+
SquareExtent(): number;
|
|
8539
|
+
FinitePart(): MxNewMx3dGeBndBox;
|
|
8540
|
+
HasFinitePart(): boolean;
|
|
8541
|
+
}
|
|
8542
|
+
export declare class MxNewMx3dGeBox extends MxNewMx3dGeObject {
|
|
8543
|
+
constructor(P1: MxNewMx3dGePoint, P2: MxNewMx3dGePoint);
|
|
8544
|
+
constructor(dx: number, dy: number, dz: number);
|
|
8545
|
+
constructor(Axes: MxNewMx3dGeCSYSR, dx: number, dy: number, dz: number);
|
|
8546
|
+
Shape(): MxNewMx3dShapeObject;
|
|
8331
8547
|
}
|
|
8332
8548
|
export declare class MxNewMx3dShapeObject extends MxNewMx3dBaseObject {
|
|
8333
8549
|
constructor(p?: object);
|
|
8334
8550
|
getBndBox(): MxNewMx3dGeBndBox;
|
|
8335
|
-
|
|
8551
|
+
move(theLocation: MxNewMx3dGeLocation): void;
|
|
8552
|
+
moved(theLocation: MxNewMx3dGeLocation): MxNewMx3dShapeObject;
|
|
8553
|
+
clone(): MxNewMx3dShapeObject;
|
|
8554
|
+
fuse(theOther: MxNewMx3dShapeObject): MxNewMx3dShapeObject;
|
|
8555
|
+
cut(theOther: MxNewMx3dShapeObject): MxNewMx3dShapeObject;
|
|
8556
|
+
common(theOther: MxNewMx3dShapeObject): MxNewMx3dShapeObject;
|
|
8557
|
+
section(theOther: MxNewMx3dShapeObject): MxNewMx3dShapeObject;
|
|
8558
|
+
spliter(theTools: MxNewMx3dShapeObject[]): MxNewMx3dShapeObject[];
|
|
8559
|
+
MirrorByPoint(theP: MxNewMx3dGePoint): void;
|
|
8560
|
+
MirroredByPoint(theP: MxNewMx3dGePoint): MxNewMx3dShapeObject;
|
|
8561
|
+
MirrorByAxis(axis: MxNewMx3dGeAxis): void;
|
|
8562
|
+
MirroredByAxis(axis: MxNewMx3dGeAxis): MxNewMx3dShapeObject;
|
|
8563
|
+
MirrorByCSYSR(csysr: MxNewMx3dGeCSYSR): void;
|
|
8564
|
+
MirroredByCSYSR(csysr: MxNewMx3dGeCSYSR): MxNewMx3dShapeObject;
|
|
8565
|
+
Rotate(axis: MxNewMx3dGeAxis, ang: number): void;
|
|
8566
|
+
Rotated(axis: MxNewMx3dGeAxis, ang: number): MxNewMx3dShapeObject;
|
|
8567
|
+
Scale(point: MxNewMx3dGePoint, s: number): void;
|
|
8568
|
+
Scaled(point: MxNewMx3dGePoint, s: number): MxNewMx3dShapeObject;
|
|
8569
|
+
Transform(trsf: MxNewMx3dGeTrsf): void;
|
|
8570
|
+
Transformed(trsf: MxNewMx3dGeTrsf): MxNewMx3dShapeObject;
|
|
8571
|
+
TranslateByVec(vec: MxNewMx3dGeVec): void;
|
|
8572
|
+
TranslateByVec(theX: number, theY: number, theZ: number): void;
|
|
8573
|
+
TranslatedByVec(vec: MxNewMx3dGeVec): MxNewMx3dShapeObject;
|
|
8574
|
+
TranslatedByVec(theX: number, theY: number, theZ: number): MxNewMx3dShapeObject;
|
|
8575
|
+
TranslateBy2Points(point1: MxNewMx3dGePoint, point2: MxNewMx3dGePoint): void;
|
|
8576
|
+
TranslatedBy2Points(point1: MxNewMx3dGePoint, point2: MxNewMx3dGePoint): MxNewMx3dShapeObject;
|
|
8577
|
+
Explore(ToFind: MdGe.MxShapeEnum): MxNewMx3dShapeObject[];
|
|
8578
|
+
}
|
|
8579
|
+
export declare class MxNewMx3dShapeFace extends MxNewMx3dShapeObject {
|
|
8580
|
+
constructor(p?: object);
|
|
8581
|
+
}
|
|
8582
|
+
export declare class MxNewMx3dShapeVertex extends MxNewMx3dShapeObject {
|
|
8583
|
+
constructor(p?: object);
|
|
8584
|
+
}
|
|
8585
|
+
export declare class MxNewMx3dShapeEdge extends MxNewMx3dShapeObject {
|
|
8586
|
+
constructor();
|
|
8587
|
+
constructor(pt1: MxNewMx3dGePoint, pt2: MxNewMx3dGePoint);
|
|
8588
|
+
}
|
|
8589
|
+
export declare class MxNewMx3dShapeWire extends MxNewMx3dShapeObject {
|
|
8590
|
+
constructor(p?: object);
|
|
8591
|
+
}
|
|
8592
|
+
export declare class MxNewMx3dShapeShell extends MxNewMx3dShapeObject {
|
|
8593
|
+
constructor(p?: object);
|
|
8594
|
+
}
|
|
8595
|
+
export declare class MxNewMx3dShapeSolid extends MxNewMx3dShapeObject {
|
|
8596
|
+
constructor(p?: object);
|
|
8597
|
+
}
|
|
8598
|
+
export declare class MxNewMx3dShapeCompSolid extends MxNewMx3dShapeObject {
|
|
8599
|
+
constructor(p?: object);
|
|
8600
|
+
}
|
|
8601
|
+
export declare class MxNewMx3dShapeCompound extends MxNewMx3dShapeObject {
|
|
8602
|
+
constructor(p?: object);
|
|
8603
|
+
}
|
|
8604
|
+
export declare class MxNewMx3dAlgoFillet extends MxNewMx3dAlgoObject {
|
|
8605
|
+
constructor(S: MxNewMx3dShapeObject, FShape: MdGe.MxCF3dFilletShapeEnum);
|
|
8606
|
+
Add(Radius: number, E: MxNewMx3dShapeEdge): void;
|
|
8607
|
+
Shape(): MxNewMx3dShapeObject;
|
|
8608
|
+
}
|
|
8609
|
+
export declare class MxNewMx3dShapeObjectSequence extends MxNewMx3dBaseObject {
|
|
8610
|
+
constructor();
|
|
8611
|
+
Length(): number;
|
|
8612
|
+
Value(theIndex: number): MxNewMx3dShapeObject;
|
|
8613
|
+
Remove(theIndex: number): void;
|
|
8614
|
+
Remove(theFromIndex: number, theToIndex: number): void;
|
|
8615
|
+
Append(theShape: MxNewMx3dShapeObject): void;
|
|
8616
|
+
Prepend(theShape: MxNewMx3dShapeObject): void;
|
|
8336
8617
|
}
|
|
8337
8618
|
export declare class MxNewMx3dDbObject extends MxNewMx3dBaseObject {
|
|
8338
8619
|
constructor(p?: object);
|
|
8339
8620
|
}
|
|
8621
|
+
export declare class MxNewMx3dView extends MxNewMx3dBaseObject {
|
|
8622
|
+
constructor(p: object);
|
|
8623
|
+
getDoc(): MxNewMx3dDbDocument;
|
|
8624
|
+
update(isUpAllData: boolean): void;
|
|
8625
|
+
getModelCounts(): number;
|
|
8626
|
+
setProjectionType(theProjection: MdGe.MxCameraProjection): void;
|
|
8627
|
+
showCenterTrihedron(theToShow: boolean): void;
|
|
8628
|
+
}
|
|
8340
8629
|
export declare class MxNewMx3dGeColor extends MxNewMx3dBaseObject {
|
|
8341
|
-
constructor(
|
|
8630
|
+
constructor();
|
|
8631
|
+
constructor(theColorName: MdGe.MxNameOfColor);
|
|
8632
|
+
constructor(theR: number, theG: number, theB: number, theType: MdGe.MxTypeOfColor);
|
|
8633
|
+
Name(): MdGe.MxNameOfColor;
|
|
8634
|
+
SetValues(theName: MdGe.MxNameOfColor): void;
|
|
8635
|
+
SetValues(theC1: number, theC2: number, theC3: number, theType: MdGe.MxTypeOfColor): void;
|
|
8636
|
+
Red(): number;
|
|
8637
|
+
Green(): number;
|
|
8638
|
+
Blue(): number;
|
|
8639
|
+
Hue(): number;
|
|
8640
|
+
Light(): number;
|
|
8641
|
+
ChangeIntensity(theDelta: number): void;
|
|
8642
|
+
Saturation(): number;
|
|
8643
|
+
ChangeContrast(theDelta: number): void;
|
|
8644
|
+
IsDifferent(theOther: MxNewMx3dGeColor): boolean;
|
|
8645
|
+
IsEqual(theOther: MxNewMx3dGeColor): boolean;
|
|
8646
|
+
Distance(theColor: MxNewMx3dGeColor): number;
|
|
8647
|
+
SquareDistance(theColor: MxNewMx3dGeColor): number;
|
|
8648
|
+
DeltaE2000(theOther: MxNewMx3dGeColor): number;
|
|
8649
|
+
}
|
|
8650
|
+
/**
|
|
8651
|
+
* 左手坐标系
|
|
8652
|
+
*/
|
|
8653
|
+
export declare class MxNewMx3dGeCSYS extends MxNewMx3dGeObject {
|
|
8654
|
+
constructor();
|
|
8655
|
+
constructor(csysr: MxNewMx3dGeCSYSR);
|
|
8656
|
+
constructor(origin: MxNewMx3dGePoint, z_axis: MxNewMx3dGeDir);
|
|
8657
|
+
constructor(origin: MxNewMx3dGePoint, z_axis: MxNewMx3dGeDir, x_vec: MxNewMx3dGeDir);
|
|
8658
|
+
XReverse(): void;
|
|
8659
|
+
YReverse(): void;
|
|
8660
|
+
ZReverse(): void;
|
|
8661
|
+
SetAxis(z_axis: MxNewMx3dGeAxis): void;
|
|
8662
|
+
SetDirection(z_dir: MxNewMx3dGeDir): void;
|
|
8663
|
+
SetLocation(origin: MxNewMx3dGePoint): void;
|
|
8664
|
+
SetLocation(theX: number, theY: number, theZ: number): void;
|
|
8665
|
+
SetXDirection(x_dir: MxNewMx3dGeDir): void;
|
|
8666
|
+
SetYDirection(y_dir: MxNewMx3dGeDir): void;
|
|
8667
|
+
Angle(other: MxNewMx3dGeCSYS): number;
|
|
8668
|
+
Axis(): MxNewMx3dGeAxis;
|
|
8669
|
+
CSYSR(): MxNewMx3dGeCSYSR;
|
|
8670
|
+
Direction(): MxNewMx3dGeDir;
|
|
8671
|
+
Location(): MxNewMx3dGePoint;
|
|
8672
|
+
XDirection(): MxNewMx3dGeDir;
|
|
8673
|
+
YDirection(): MxNewMx3dGeDir;
|
|
8674
|
+
Direct(): boolean;
|
|
8675
|
+
IsCoplanarWithCSYS(other: MxNewMx3dGeCSYS, linearTolerance: number, angularTolerance: number): boolean;
|
|
8676
|
+
IsCoplanarWithAxis(axis: MxNewMx3dGeAxis, linearTolerance: number, angularTolerance: number): boolean;
|
|
8677
|
+
MirrorByPoint(point: MxNewMx3dGePoint): void;
|
|
8678
|
+
MirroredByPoint(point: MxNewMx3dGePoint): MxNewMx3dGeCSYS;
|
|
8679
|
+
MirrorByAxis(axis: MxNewMx3dGeAxis): void;
|
|
8680
|
+
MirroredByAxis(axis: MxNewMx3dGeAxis): MxNewMx3dGeCSYS;
|
|
8681
|
+
MirrorByCSYSR(csysr: MxNewMx3dGeCSYSR): void;
|
|
8682
|
+
MirroredByCSYSR(csysr: MxNewMx3dGeCSYSR): MxNewMx3dGeCSYS;
|
|
8683
|
+
Rotate(axis: MxNewMx3dGeAxis, ang: number): void;
|
|
8684
|
+
Rotated(axis: MxNewMx3dGeAxis, ang: number): MxNewMx3dGeCSYS;
|
|
8685
|
+
Scale(point: MxNewMx3dGePoint, s: number): void;
|
|
8686
|
+
Scaled(point: MxNewMx3dGePoint, s: number): MxNewMx3dGeCSYS;
|
|
8687
|
+
Transform(t: MxNewMx3dGeTrsf): void;
|
|
8688
|
+
Transformed(t: MxNewMx3dGeTrsf): MxNewMx3dGeCSYS;
|
|
8689
|
+
TranslateByVec(vec: MxNewMx3dGeVec): void;
|
|
8690
|
+
TranslatedByVec(vec: MxNewMx3dGeVec): MxNewMx3dGeCSYS;
|
|
8691
|
+
TranslateBy2Points(point1: MxNewMx3dGePoint, point2: MxNewMx3dGePoint): void;
|
|
8692
|
+
TranslatedBy2Points(point1: MxNewMx3dGePoint, point2: MxNewMx3dGePoint): MxNewMx3dGeCSYS;
|
|
8693
|
+
}
|
|
8694
|
+
/**
|
|
8695
|
+
* 右手坐标系
|
|
8696
|
+
*/
|
|
8697
|
+
export declare class MxNewMx3dGeCSYSR extends MxNewMx3dGeObject {
|
|
8698
|
+
constructor();
|
|
8699
|
+
constructor(origin: MxNewMx3dGePoint, z_axis: MxNewMx3dGeDir, x_vec: MxNewMx3dGeDir);
|
|
8700
|
+
Location(): MxNewMx3dGePoint;
|
|
8701
|
+
XDirection(): MxNewMx3dGeDir;
|
|
8702
|
+
YDirection(): MxNewMx3dGeDir;
|
|
8703
|
+
Direction(): MxNewMx3dGeDir;
|
|
8704
|
+
SetLocation(origin: MxNewMx3dGePoint): void;
|
|
8705
|
+
SetLocation(theX: number, theY: number, theZ: number): void;
|
|
8706
|
+
SetXDirection(x_dir: MxNewMx3dGePoint): void;
|
|
8707
|
+
SetYDirection(y_dir: MxNewMx3dGeDir): void;
|
|
8708
|
+
SetDirection(z_dir: MxNewMx3dGeDir): void;
|
|
8709
|
+
Angle(theOther: MxNewMx3dGeCSYSR): number;
|
|
8710
|
+
Axis(): MxNewMx3dGeAxis;
|
|
8711
|
+
IsCoplanarWithCSYSR(Other: MxNewMx3dGeCSYSR, LinearTolerance: number, AngularTolerance: number): boolean;
|
|
8712
|
+
IsCoplanarWithAxis(A1: MxNewMx3dGeAxis, LinearTolerance: number, AngularTolerance: number): boolean;
|
|
8713
|
+
MirrorByPoint(P: MxNewMx3dGePoint): void;
|
|
8714
|
+
MirroredByPoint(P: MxNewMx3dGePoint): MxNewMx3dGeCSYSR;
|
|
8715
|
+
MirrorByAxis(A1: MxNewMx3dGeAxis): void;
|
|
8716
|
+
MirroredByAxis(A1: MxNewMx3dGeAxis): MxNewMx3dGeCSYSR;
|
|
8717
|
+
MirrorByCSYSR(A2: MxNewMx3dGeCSYSR): void;
|
|
8718
|
+
MirroredByCSYSR(A2: MxNewMx3dGeCSYSR): MxNewMx3dGeCSYSR;
|
|
8719
|
+
Rotate(theA1: MxNewMx3dGeAxis, theAng: number): void;
|
|
8720
|
+
Rotated(theA1: MxNewMx3dGeAxis, theAng: number): MxNewMx3dGeCSYSR;
|
|
8721
|
+
Scale(theP: MxNewMx3dGePoint, theS: number): void;
|
|
8722
|
+
Scaled(theP: MxNewMx3dGePoint, theS: number): MxNewMx3dGeCSYSR;
|
|
8723
|
+
Transform(theT: MxNewMx3dGeTrsf): void;
|
|
8724
|
+
Transformed(theT: MxNewMx3dGeTrsf): MxNewMx3dGeCSYSR;
|
|
8725
|
+
TranslateByVec(theV: MxNewMx3dGeVec): void;
|
|
8726
|
+
TranslatedByVec(theV: MxNewMx3dGeVec): MxNewMx3dGeCSYSR;
|
|
8727
|
+
TranslateBy2Points(theP1: MxNewMx3dGePoint, theP2: MxNewMx3dGePoint): void;
|
|
8728
|
+
TranslatedBy2Points(theP1: MxNewMx3dGePoint, theP2: MxNewMx3dGePoint): MxNewMx3dGeCSYSR;
|
|
8729
|
+
}
|
|
8730
|
+
/**
|
|
8731
|
+
* 圆柱体
|
|
8732
|
+
*/
|
|
8733
|
+
export declare class MxNewMx3dGeCylinder extends MxNewMx3dGeObject {
|
|
8734
|
+
constructor();
|
|
8735
|
+
constructor(theA3: MxNewMx3dGeCSYS, theRadius: number);
|
|
8736
|
+
SetAxis(theA1: MxNewMx3dGeAxis): void;
|
|
8737
|
+
SetLocation(theLoc: MxNewMx3dGePoint): void;
|
|
8738
|
+
SetPosition(theA3: MxNewMx3dGeCSYS): void;
|
|
8739
|
+
SetRadius(theR: number): void;
|
|
8740
|
+
UReverse(): void;
|
|
8741
|
+
VReverse(): void;
|
|
8742
|
+
Direct(): boolean;
|
|
8743
|
+
Axis(): MxNewMx3dGeAxis;
|
|
8744
|
+
Location(): MxNewMx3dGePoint;
|
|
8745
|
+
Position(): MxNewMx3dGeCSYS;
|
|
8746
|
+
Radius(): number;
|
|
8747
|
+
XAxis(): MxNewMx3dGeAxis;
|
|
8748
|
+
YAxis(): MxNewMx3dGeAxis;
|
|
8749
|
+
MirrorByPoint(theP: MxNewMx3dGePoint): void;
|
|
8750
|
+
MirroredByPoint(theP: MxNewMx3dGePoint): MxNewMx3dGeCylinder;
|
|
8751
|
+
MirrorByAxis(theA1: MxNewMx3dGeAxis): void;
|
|
8752
|
+
MirroredByAxis(theA1: MxNewMx3dGeAxis): MxNewMx3dGeCylinder;
|
|
8753
|
+
MirrorByCSYSR(theA2: MxNewMx3dGeCSYSR): void;
|
|
8754
|
+
MirroredByCSYSR(theA2: MxNewMx3dGeCSYSR): MxNewMx3dGeCylinder;
|
|
8755
|
+
Rotate(theA1: MxNewMx3dGeAxis, theAng: number): void;
|
|
8756
|
+
Rotated(theA1: MxNewMx3dGeAxis, theAng: number): MxNewMx3dGeCylinder;
|
|
8757
|
+
Scale(theP: MxNewMx3dGePoint, theS: number): void;
|
|
8758
|
+
Scaled(theP: MxNewMx3dGePoint, theS: number): MxNewMx3dGeCylinder;
|
|
8759
|
+
Transform(theT: MxNewMx3dGeTrsf): void;
|
|
8760
|
+
Transformed(theT: MxNewMx3dGeTrsf): MxNewMx3dGeCylinder;
|
|
8761
|
+
TranslateByVec(theV: MxNewMx3dGeVec): void;
|
|
8762
|
+
TranslatedByVec(theV: MxNewMx3dGeVec): MxNewMx3dGeCylinder;
|
|
8763
|
+
TranslateBy2Points(theP1: MxNewMx3dGePoint, theP2: MxNewMx3dGePoint): void;
|
|
8764
|
+
TranslatedBy2Points(theP1: MxNewMx3dGePoint, theP2: MxNewMx3dGePoint): MxNewMx3dGeCylinder;
|
|
8765
|
+
Shape(H: number, Angle?: number): MxNewMx3dShapeObject;
|
|
8342
8766
|
}
|
|
8343
8767
|
/**
|
|
8344
8768
|
* 表示一维整数数组。
|
|
8345
8769
|
*/
|
|
8346
8770
|
export declare class MxNewMdGeArray1OfInteger extends MxNewMx3dBaseObject {
|
|
8347
|
-
constructor(
|
|
8771
|
+
constructor();
|
|
8772
|
+
constructor(theLower: number, theUpper: number);
|
|
8348
8773
|
Init(theInteger: number): void;
|
|
8349
8774
|
Size(): number;
|
|
8350
8775
|
Length(): number;
|
|
@@ -8360,26 +8785,30 @@ export declare class MxNewMdGeArray1OfInteger extends MxNewMx3dBaseObject {
|
|
|
8360
8785
|
Resize(theLower: number, theUpper: number, theToCopyData: boolean): void;
|
|
8361
8786
|
}
|
|
8362
8787
|
export declare class MxNewMx3dDbDocument extends MxNewMx3dDbObject {
|
|
8363
|
-
constructor(
|
|
8364
|
-
read(
|
|
8788
|
+
constructor();
|
|
8789
|
+
read(theFile: File, theFormat: MdGe.MxFormat): Promise<boolean>;
|
|
8365
8790
|
getAccessLabel(): MxNewMx3dDbLabel;
|
|
8366
8791
|
getShapesLabel(): MxNewMx3dDbLabel;
|
|
8367
8792
|
getColorsLabel(): MxNewMx3dDbLabel;
|
|
8368
8793
|
getLayersLabel(): MxNewMx3dDbLabel;
|
|
8369
8794
|
addShapeLabel(): MxNewMx3dDbLabel;
|
|
8370
|
-
|
|
8795
|
+
removeShapeLabel(theLabel: MxNewMx3dDbLabel): boolean;
|
|
8796
|
+
removeComponent(theLabel: MxNewMx3dDbLabel): void;
|
|
8797
|
+
getTopFreeLabels(): MxNewMx3dDbLabel[];
|
|
8371
8798
|
getDocName(): string;
|
|
8799
|
+
getView(): MxNewMx3dView;
|
|
8800
|
+
write(theFilePath: string, theFormat: MdGe.MxFormat): boolean;
|
|
8372
8801
|
}
|
|
8373
8802
|
export declare class MxNewMx3dDbLabel extends MxNewMx3dDbObject {
|
|
8374
8803
|
constructor(p?: object);
|
|
8375
|
-
setShape(theShape: MxNewMx3dShapeObject):
|
|
8804
|
+
setShape(theShape: MxNewMx3dShapeObject): void;
|
|
8376
8805
|
getShape(): MxNewMx3dShapeObject;
|
|
8377
8806
|
hasChildLabel(): boolean;
|
|
8378
|
-
getChildLabels():
|
|
8807
|
+
getChildLabels(): MxNewMx3dDbLabel[];
|
|
8379
8808
|
hasParentLabel(): boolean;
|
|
8380
8809
|
getParentLabel(): MxNewMx3dDbLabel;
|
|
8381
8810
|
addChildLabel(): MxNewMx3dDbLabel;
|
|
8382
|
-
|
|
8811
|
+
addSubShape(theShape: MxNewMx3dShapeObject): MxNewMx3dDbLabel;
|
|
8383
8812
|
isReference(): boolean;
|
|
8384
8813
|
isAssembly(): boolean;
|
|
8385
8814
|
isSimpleShape(): boolean;
|
|
@@ -8390,8 +8819,8 @@ export declare class MxNewMx3dDbLabel extends MxNewMx3dDbObject {
|
|
|
8390
8819
|
isCompound(): boolean;
|
|
8391
8820
|
isSubShape(): boolean;
|
|
8392
8821
|
getReferredLabel(): MxNewMx3dDbLabel;
|
|
8393
|
-
addAssemblyLabel(theShape: MxNewMx3dShapeObject): MxNewMx3dDbLabel;
|
|
8394
8822
|
getLocation(): MxNewMx3dGeLocation;
|
|
8823
|
+
addComponent(comp: MxNewMx3dDbLabel, Loc: MxNewMx3dGeLocation): MxNewMx3dDbLabel;
|
|
8395
8824
|
isSetColor(): boolean;
|
|
8396
8825
|
setColor(theColor: MxNewMx3dGeColor): void;
|
|
8397
8826
|
getColor(): MxNewMx3dGeColor;
|
|
@@ -8400,17 +8829,131 @@ export declare class MxNewMx3dDbLabel extends MxNewMx3dDbObject {
|
|
|
8400
8829
|
getAttributeStr(): string;
|
|
8401
8830
|
}
|
|
8402
8831
|
export declare class MxNewMx3dLabelSequence extends MxNewMx3dBaseObject {
|
|
8403
|
-
constructor(
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
constructor(theLabelSequence: MxNewMx3dLabelSequence | object);
|
|
8407
|
-
More(): boolean;
|
|
8408
|
-
Next(): void;
|
|
8409
|
-
Value(): MxNewMx3dDbLabel;
|
|
8832
|
+
constructor();
|
|
8833
|
+
Length(): number;
|
|
8834
|
+
Value(theIndex: number): MxNewMx3dDbLabel;
|
|
8410
8835
|
}
|
|
8411
8836
|
export declare class MxNewMx3dGeLocation extends MxNewMx3dGeObject {
|
|
8412
|
-
constructor(
|
|
8837
|
+
constructor();
|
|
8838
|
+
constructor(theTrsf: MxNewMx3dGeTrsf);
|
|
8839
|
+
IsIdentity(): boolean;
|
|
8840
|
+
Identity(): void;
|
|
8841
|
+
FirstPower(): number;
|
|
8842
|
+
NextLocation(): MxNewMx3dGeLocation;
|
|
8843
|
+
Inverted(): MxNewMx3dGeLocation;
|
|
8413
8844
|
Multiplied(theLocation: MxNewMx3dGeLocation): MxNewMx3dGeLocation;
|
|
8845
|
+
Divided(Other: MxNewMx3dGeLocation): MxNewMx3dGeLocation;
|
|
8846
|
+
Predivided(Other: MxNewMx3dGeLocation): MxNewMx3dGeLocation;
|
|
8847
|
+
Powered(pwr: number): MxNewMx3dGeLocation;
|
|
8848
|
+
IsEqual(Other: MxNewMx3dGeLocation): boolean;
|
|
8849
|
+
IsDifferent(Other: MxNewMx3dGeLocation): boolean;
|
|
8850
|
+
Clear(): void;
|
|
8851
|
+
ScalePrec(): number;
|
|
8852
|
+
}
|
|
8853
|
+
export declare class MxNewMx3dGePlane extends MxNewMx3dGeObject {
|
|
8854
|
+
constructor();
|
|
8855
|
+
constructor(theA3: MxNewMx3dGeCSYS);
|
|
8856
|
+
constructor(theP: MxNewMx3dGePoint, theV: MxNewMx3dGeDir);
|
|
8857
|
+
constructor(theA: number, theB: number, theC: number, theD: number);
|
|
8858
|
+
SetAxis(theA1: MxNewMx3dGeAxis): void;
|
|
8859
|
+
SetLocation(theLoc: MxNewMx3dGePoint): void;
|
|
8860
|
+
SetPosition(theA3: MxNewMx3dGeCSYS): void;
|
|
8861
|
+
UReverse(): void;
|
|
8862
|
+
VReverse(): void;
|
|
8863
|
+
Direct(): boolean;
|
|
8864
|
+
Axis(): MxNewMx3dGeAxis;
|
|
8865
|
+
Location(): MxNewMx3dGePoint;
|
|
8866
|
+
Position(): MxNewMx3dGeCSYS;
|
|
8867
|
+
DistanceToPoint(theP: MxNewMx3dGePoint): number;
|
|
8868
|
+
DistanceToPlane(theOther: MxNewMx3dGePlane): number;
|
|
8869
|
+
SquareDistanceToPoint(theP: MxNewMx3dGePoint): number;
|
|
8870
|
+
SquareDistanceToPlane(theOther: MxNewMx3dGePlane): number;
|
|
8871
|
+
XAxis(): MxNewMx3dGeAxis;
|
|
8872
|
+
YAxis(): MxNewMx3dGeAxis;
|
|
8873
|
+
Contains(theP: MxNewMx3dGePoint, theLinearTolerance: number): boolean;
|
|
8874
|
+
MirrorByPoint(theP: MxNewMx3dGePoint): void;
|
|
8875
|
+
MirroredByPoint(theP: MxNewMx3dGePoint): MxNewMx3dGePlane;
|
|
8876
|
+
MirrorByAxis(theA1: MxNewMx3dGeAxis): void;
|
|
8877
|
+
MirroredByAxis(theA1: MxNewMx3dGeAxis): MxNewMx3dGePlane;
|
|
8878
|
+
MirrorByCSYSR(theA2: MxNewMx3dGeCSYSR): void;
|
|
8879
|
+
MirroredByCSYSR(theA2: MxNewMx3dGeCSYSR): MxNewMx3dGePlane;
|
|
8880
|
+
Rotate(theA1: MxNewMx3dGeAxis, theAng: number): void;
|
|
8881
|
+
Rotated(theA1: MxNewMx3dGeAxis, theAng: number): MxNewMx3dGePlane;
|
|
8882
|
+
Scale(theP: MxNewMx3dGePoint, theS: number): void;
|
|
8883
|
+
Scaled(theP: MxNewMx3dGePoint, theS: number): MxNewMx3dGePlane;
|
|
8884
|
+
Transform(theT: MxNewMx3dGeTrsf): void;
|
|
8885
|
+
Transformed(theT: MxNewMx3dGeTrsf): MxNewMx3dGePlane;
|
|
8886
|
+
TranslateByVec(theV: MxNewMx3dGeVec): void;
|
|
8887
|
+
TranslatedByVec(theV: MxNewMx3dGeVec): MxNewMx3dGePlane;
|
|
8888
|
+
TranslateBy2Points(theP1: MxNewMx3dGePoint, theP2: MxNewMx3dGePoint): void;
|
|
8889
|
+
TranslatedBy2Points(theP1: MxNewMx3dGePoint, theP2: MxNewMx3dGePoint): MxNewMx3dGePlane;
|
|
8890
|
+
Shape(): MxNewMx3dShapeObject;
|
|
8891
|
+
Shape(UMin: number, UMax: number, VMin: number, VMax: number): MxNewMx3dShapeObject;
|
|
8892
|
+
}
|
|
8893
|
+
export declare class MxNewMx3dSymbolText extends MxNewMx3dSymbolObject {
|
|
8894
|
+
constructor();
|
|
8895
|
+
constructor(text: string, height: number, position: MxNewMx3dGePoint);
|
|
8896
|
+
SetColor(theColor: MxNewMx3dGeColor): void;
|
|
8897
|
+
SetColor(theR: number, theG: number, theB: number): void;
|
|
8898
|
+
SetText(text: string): void;
|
|
8899
|
+
SetPositon(position: MxNewMx3dGePoint): void;
|
|
8900
|
+
SetHJustification(theHJust: MdGe.MxHorizontalTextAlignment): void;
|
|
8901
|
+
SetVJustification(theVJust: MdGe.MxVerticalTextAlignment): void;
|
|
8902
|
+
SetAngle(theAngle: number): void;
|
|
8903
|
+
SetZoomable(theIsZoomable: boolean): void;
|
|
8904
|
+
SetHeight(height: number): void;
|
|
8905
|
+
SetFontAspect(theFontAspect: MdGe.MxFontAspect): void;
|
|
8906
|
+
SetFont(theFont: string): void;
|
|
8907
|
+
SetOrientation3D(theOrientation: MxNewMx3dGeCSYSR): void;
|
|
8908
|
+
UnsetOrientation3D(): void;
|
|
8909
|
+
Position(): MxNewMx3dGePoint;
|
|
8910
|
+
FontAspect(): MdGe.MxFontAspect;
|
|
8911
|
+
Orientation3D(): MxNewMx3dGeCSYSR;
|
|
8912
|
+
HasOrientation3D(): boolean;
|
|
8913
|
+
SetFlipping(theIsFlipping: boolean): void;
|
|
8914
|
+
HasFlipping(): boolean;
|
|
8915
|
+
HasOwnAnchorPoint(): boolean;
|
|
8916
|
+
SetOwnAnchorPoint(theOwnAnchorPoint: boolean): void;
|
|
8917
|
+
SetDisplayType(theDisplayType: MdGe.MxTypeOfDisplayText): void;
|
|
8918
|
+
SetColorSubTitle(theR: number, theG: number, theB: number): void;
|
|
8919
|
+
}
|
|
8920
|
+
export declare class Mx3dShapeDownCast {
|
|
8921
|
+
static Vertex(S: MxNewMx3dShapeObject): MxNewMx3dShapeVertex;
|
|
8922
|
+
static Edge(S: MxNewMx3dShapeObject): MxNewMx3dShapeEdge;
|
|
8923
|
+
static Wire(S: MxNewMx3dShapeObject): MxNewMx3dShapeWire;
|
|
8924
|
+
static Face(S: MxNewMx3dShapeObject): MxNewMx3dShapeFace;
|
|
8925
|
+
static Shell(S: MxNewMx3dShapeObject): MxNewMx3dShapeShell;
|
|
8926
|
+
static Solid(S: MxNewMx3dShapeObject): MxNewMx3dShapeSolid;
|
|
8927
|
+
static CompSolid(S: MxNewMx3dShapeObject): MxNewMx3dShapeCompSolid;
|
|
8928
|
+
static Compound(S: MxNewMx3dShapeObject): MxNewMx3dShapeCompound;
|
|
8929
|
+
}
|
|
8930
|
+
export declare class MxNewMx3dGeLine extends MxNewMx3dGeCurve {
|
|
8931
|
+
constructor(A1: MxNewMx3dGeAxis);
|
|
8932
|
+
constructor(P: MxNewMx3dGePoint, V: MxNewMx3dGeDir);
|
|
8933
|
+
SetDirection(V: MxNewMx3dGeDir): void;
|
|
8934
|
+
SetLocation(P: MxNewMx3dGePoint): void;
|
|
8935
|
+
SetPosition(A1: MxNewMx3dGeAxis): void;
|
|
8936
|
+
Position(): MxNewMx3dGeAxis;
|
|
8937
|
+
Reverse(): void;
|
|
8938
|
+
Reversed(): MxNewMx3dGeLine;
|
|
8939
|
+
ReversedParameter(U: number): number;
|
|
8940
|
+
FirstParameter(): number;
|
|
8941
|
+
LastParameter(): number;
|
|
8942
|
+
IsClosed(): boolean;
|
|
8943
|
+
IsPeriodic(): boolean;
|
|
8944
|
+
Continuity(): MdGe.MxGAShapeEnum;
|
|
8945
|
+
IsCN(N: number): boolean;
|
|
8946
|
+
D0(U: number, P: MxNewMx3dGePoint): void;
|
|
8947
|
+
D1(U: number, P: MxNewMx3dGePoint, V1: MxNewMx3dGeVec): void;
|
|
8948
|
+
D2(U: number, P: MxNewMx3dGePoint, V1: MxNewMx3dGeVec, V2: MxNewMx3dGeVec): void;
|
|
8949
|
+
D3(U: number, P: MxNewMx3dGePoint, V1: MxNewMx3dGeVec, V2: MxNewMx3dGeVec, V3: MxNewMx3dGeVec): void;
|
|
8950
|
+
DN(U: number, N: number): MxNewMx3dGeVec;
|
|
8951
|
+
Transform(T: MxNewMx3dGeTrsf): void;
|
|
8952
|
+
TransformedParameter(U: number, T: MxNewMx3dGeTrsf): number;
|
|
8953
|
+
ParametricTransformation(T: MxNewMx3dGeTrsf): number;
|
|
8954
|
+
Period(): number;
|
|
8955
|
+
Value(U: number): MxNewMx3dGePoint;
|
|
8956
|
+
Edge(p1: number, p2: number): MxNewMx3dShapeEdge;
|
|
8414
8957
|
}
|
|
8415
8958
|
export type Map = any;
|
|
8416
8959
|
export declare class MxMap {
|