mxcad 1.0.218 → 1.0.219
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 +1652 -1339
- package/dist/mxcad.es.js +2429 -2288
- package/dist/mxcad.umd.js +2 -2
- package/dist/wasm/2d/mxdrawassembly_min.js +1812 -1771
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +1772 -1731
- 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 +117 -50
- package/dist/wasm/3d/mxdraw3d_min.wasm +0 -0
- package/package.json +3 -3
package/dist/mxcad.d.ts
CHANGED
|
@@ -614,6 +614,14 @@ export declare class McDbObject extends McRxObject {
|
|
|
614
614
|
* ```
|
|
615
615
|
*/
|
|
616
616
|
freeTempRelationObject(): void;
|
|
617
|
+
/**
|
|
618
|
+
* 设置对象被改变的状态,可自动触发更新显示函数,更新显示。
|
|
619
|
+
* 比如块表记录更新了,需要通知块引用更新显示,可以调用该函数。
|
|
620
|
+
* @example
|
|
621
|
+
* ```ts
|
|
622
|
+
* ```
|
|
623
|
+
*/
|
|
624
|
+
assertObjectModification(autoUndo?: boolean): number;
|
|
617
625
|
}
|
|
618
626
|
/** McDbObject 的一个数组,该数组存储了多个 McDbObject 对象的引用。 */
|
|
619
627
|
export declare class McDbObjectArray {
|
|
@@ -2184,7 +2192,7 @@ export declare class MxCADResbuf extends McRxObject {
|
|
|
2184
2192
|
* @param imp 内部实现对象。
|
|
2185
2193
|
* @example
|
|
2186
2194
|
* ```ts
|
|
2187
|
-
* import { MxCADResbuf } from "mxcad"
|
|
2195
|
+
* import { MxCADResbuf, DxfCode } from "mxcad"
|
|
2188
2196
|
* // 定义过滤器,过滤实体类型:直线,圆弧,圆,多义线
|
|
2189
2197
|
* const filter = new MxCADResbuf([DxfCode.kEntityType, "LINE,ARC,CIRCLE,LWPOLYLINE"]));
|
|
2190
2198
|
* ```
|
|
@@ -4020,12 +4028,13 @@ export declare class McDbEntity extends McDbObject {
|
|
|
4020
4028
|
* @example
|
|
4021
4029
|
* ```ts
|
|
4022
4030
|
* import { McDbEntity, MxCADResbuf } from "mxcad";
|
|
4023
|
-
*
|
|
4031
|
+
* // 获取目标对象
|
|
4024
4032
|
* let getEnt = new MxCADUiPrEntity();
|
|
4025
|
-
* getEnt.setMessage("
|
|
4033
|
+
* getEnt.setMessage("选择打碎对象:");
|
|
4026
4034
|
* let id = await getEnt.go();
|
|
4027
4035
|
* let ent:McDbEntity = id.getMcDbEntity();
|
|
4028
4036
|
* if (ent === null) return;
|
|
4037
|
+
* // 打碎对象
|
|
4029
4038
|
* let retExplode: MxCADResbuf = ent.explode();
|
|
4030
4039
|
* ```
|
|
4031
4040
|
*/
|
|
@@ -4537,7 +4546,7 @@ export declare class McDbEntity extends McDbObject {
|
|
|
4537
4546
|
* @example
|
|
4538
4547
|
* ```ts
|
|
4539
4548
|
* // 下面代码演示了,选择一个曲线,然后选择其它曲线,计算曲线与这个曲线的交点,然后在交点处打断曲线。
|
|
4540
|
-
import { MxCADUiPrEntity, MxCADResbuf, MxCpp, MxCADUtility, McDbCurve
|
|
4549
|
+
import { MxCADUiPrEntity, MxCADResbuf, MxCpp, MxCADUtility, McDbCurve } from "mxcad";
|
|
4541
4550
|
|
|
4542
4551
|
async function Mx_IntersectBreak() {
|
|
4543
4552
|
// 选择参考曲线
|
|
@@ -5058,13 +5067,45 @@ export declare class McDbLine extends McDbCurve {
|
|
|
5058
5067
|
* //绘垂直中间对齐的文字 pt(McGePoint3d) 文字位置点
|
|
5059
5068
|
* import { MxCpp, McDbText } from "mxcad"
|
|
5060
5069
|
*
|
|
5061
|
-
* const text = new McDbText();
|
|
5062
|
-
* text.textString = "测试文字";
|
|
5063
|
-
* text.horizontalMode = McDb.TextHorzMode.kTextMid;
|
|
5064
|
-
* text.alignmentPoint = text.position = pt;
|
|
5065
|
-
* MxCpp.getCurrentMxCAD().drawEntity(text);
|
|
5070
|
+
* const text = new McDbText(); // 构造文字实体对象
|
|
5071
|
+
* text.textString = "测试文字"; // 设置对象内容
|
|
5072
|
+
* text.horizontalMode = McDb.TextHorzMode.kTextMid; // 设置文字对齐方式
|
|
5073
|
+
* text.alignmentPoint = text.position = pt; // 设置文字对齐点和文字位置
|
|
5074
|
+
* MxCpp.getCurrentMxCAD().drawEntity(text); // 绘制文字对象
|
|
5066
5075
|
*
|
|
5067
5076
|
* ```
|
|
5077
|
+
* ```ts
|
|
5078
|
+
// 按线对齐:选择文字对象按目标直线方向对齐
|
|
5079
|
+
import { MxCADResbuf, MxCADUiPrEntity } from "mxcad";
|
|
5080
|
+
|
|
5081
|
+
async function Mx_AlignByLine() {
|
|
5082
|
+
// 选择目标直线对象
|
|
5083
|
+
let filter = new MxCADResbuf();
|
|
5084
|
+
filter.AddMcDbEntityTypes("LINE");
|
|
5085
|
+
const getLineObj = new MxCADUiPrEntity();
|
|
5086
|
+
getLineObj.setMessage("请选择目标对齐线对象(选择直线)");
|
|
5087
|
+
getLineObj.setFilter(filter);
|
|
5088
|
+
const lineObj_id = await getLineObj.go();
|
|
5089
|
+
if (!lineObj_id.id) return;
|
|
5090
|
+
const lineObj = lineObj_id.getMcDbEntity() as McDbLine;
|
|
5091
|
+
const getTextObj = new MxCADUiPrEntity();
|
|
5092
|
+
// 选择目标文字对象
|
|
5093
|
+
let filter2 = new MxCADResbuf();
|
|
5094
|
+
filter2.AddMcDbEntityTypes("TEXT");
|
|
5095
|
+
getTextObj.setMessage("请选择目标文字对象");
|
|
5096
|
+
getTextObj.setFilter(filter2);
|
|
5097
|
+
const textObj_id = await getTextObj.go();
|
|
5098
|
+
if (!textObj_id.id) return;
|
|
5099
|
+
const textObj = textObj_id.getMcDbEntity() as McDbText;
|
|
5100
|
+
// 计算直线与文字对象角度
|
|
5101
|
+
const line_v = lineObj.getFirstDeriv(lineObj.getStartPoint().val);// 直线初始点切向量
|
|
5102
|
+
let angle1 = line_v.val.angleTo2(McGeVector3d.kXAxis, McGeVector3d.kNegateZAxis);//直线与水平方向角度
|
|
5103
|
+
let angle2 = textObj.rotation;//文字初始角度
|
|
5104
|
+
textObj.rotate(textObj.position, angle1 - angle2) // 文字对象旋转
|
|
5105
|
+
const mxcad = MxCpp.App.getCurrentMxCAD();
|
|
5106
|
+
mxcad.updateDisplay() // 更新显示
|
|
5107
|
+
}
|
|
5108
|
+
* ```
|
|
5068
5109
|
*/
|
|
5069
5110
|
export declare class McDbText extends McDbEntity {
|
|
5070
5111
|
/**
|
|
@@ -5293,26 +5334,28 @@ export declare class McDbText extends McDbEntity {
|
|
|
5293
5334
|
* ```ts
|
|
5294
5335
|
// 在块中插入属性文字 ent:块实体
|
|
5295
5336
|
let blkRef: McDbBlockReference = ent;
|
|
5296
|
-
const blkrecId = blkRef.blockTableRecordId
|
|
5297
|
-
let blkRecord: any = blkrecId.getMcDbBlockTableRecord()
|
|
5298
|
-
let ids = blkRecord.getAllEntityId();
|
|
5337
|
+
const blkrecId = blkRef.blockTableRecordId; // 获取块表记录id
|
|
5338
|
+
let blkRecord: any = blkrecId.getMcDbBlockTableRecord();// 获取块表记录对象
|
|
5339
|
+
let ids = blkRecord.getAllEntityId(); // 获取块表记录中所有实例对象ID
|
|
5299
5340
|
ids.forEach((id: any, index: any) => {
|
|
5341
|
+
// 筛选 McDbAttributeDefinition 对象
|
|
5300
5342
|
if (!id.isKindOf("McDbAttributeDefinition")) return;
|
|
5301
5343
|
let attribDef = id.getMcDbEntity() as McDbAttributeDefinition;
|
|
5302
|
-
let tag = attribDef.tag;
|
|
5303
|
-
let txt = attribDef.textString;
|
|
5344
|
+
let tag = attribDef.tag; // 获取属性标签
|
|
5345
|
+
let txt = attribDef.textString; // 获取文字的字符串
|
|
5304
5346
|
|
|
5305
|
-
let attrib = new McDbAttribute();
|
|
5306
|
-
attrib.position = attribDef.position;
|
|
5307
|
-
attrib.alignmentPoint = attribDef.alignmentPoint
|
|
5308
|
-
attrib.height = attribDef.height
|
|
5309
|
-
attrib.trueColor = attribDef.trueColor
|
|
5310
|
-
attrib.widthFactor = attribDef.widthFactor
|
|
5347
|
+
let attrib = new McDbAttribute(); // 构造新属性定义文字对象
|
|
5348
|
+
attrib.position = attribDef.position; // 设置对象位置
|
|
5349
|
+
attrib.alignmentPoint = attribDef.alignmentPoint // 设置对象对齐位置
|
|
5350
|
+
attrib.height = attribDef.height ; // 设置对象字高
|
|
5351
|
+
attrib.trueColor = attribDef.trueColor // 设置对象颜色
|
|
5352
|
+
attrib.widthFactor = attribDef.widthFactor; // 设置对象宽度因子
|
|
5353
|
+
// 设置文字的字符串
|
|
5311
5354
|
if (txt.length > 0) attrib.textString = txt;
|
|
5312
5355
|
else attrib.textString = "test" + index;
|
|
5313
|
-
attrib.tag = tag
|
|
5356
|
+
attrib.tag = tag;// 设置属性标签
|
|
5314
5357
|
attrib.isInvisible = attribDef.isInvisible;
|
|
5315
|
-
attrib.transformBy(blkRef.blockTransform);
|
|
5358
|
+
attrib.transformBy(blkRef.blockTransform); // 块转换
|
|
5316
5359
|
attrib = blkRef.appendAttribute(attrib).getMcDbEntity() as McDbAttribute;
|
|
5317
5360
|
attrib.textStyle = attribDef.textStyle
|
|
5318
5361
|
attrib.layer = attribDef.layer
|
|
@@ -5381,7 +5424,7 @@ export declare class McDbAttribute extends McDbText {
|
|
|
5381
5424
|
set isInvisible(val: boolean);
|
|
5382
5425
|
}
|
|
5383
5426
|
/**
|
|
5384
|
-
*
|
|
5427
|
+
* 用于定义块属性的属性定义,并提供了一些方法来获取和设置属性的各种参数
|
|
5385
5428
|
*/
|
|
5386
5429
|
export declare class McDbAttributeDefinition extends McDbText {
|
|
5387
5430
|
/**
|
|
@@ -5482,14 +5525,15 @@ export declare class McDbAttributeDefinition extends McDbText {
|
|
|
5482
5525
|
* 多行文本实体类
|
|
5483
5526
|
* @example
|
|
5484
5527
|
* ```ts
|
|
5485
|
-
import { McDbMText, MxCpp } from 'mxcad'
|
|
5486
5528
|
// 绘制多行文本
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
mText
|
|
5490
|
-
mText.
|
|
5491
|
-
mText.
|
|
5492
|
-
|
|
5529
|
+
import { McDbMText, MxCpp } from 'mxcad'
|
|
5530
|
+
|
|
5531
|
+
const mText = new McDbMText();// 构造新多行文本对象
|
|
5532
|
+
mText.textHeight = 10;// 设置文本高度
|
|
5533
|
+
mText.attachment = McDb.AttachmentPoint.kMiddleLeft;// 设置文本对齐方式
|
|
5534
|
+
mText.contents = '控件:\\P 多行文本'; // 设置文本内容
|
|
5535
|
+
mText.location = new McGePoint3d(0,0,0); // 设置文本位置
|
|
5536
|
+
MxCpp.getCurrentMxCAD().drawEntity(mText); // 绘制多行文本
|
|
5493
5537
|
* ```
|
|
5494
5538
|
*/
|
|
5495
5539
|
export declare class McDbMText extends McDbEntity {
|
|
@@ -5658,13 +5702,14 @@ export declare class McDbMText extends McDbEntity {
|
|
|
5658
5702
|
let point3: McGePoint3d | null | undefined
|
|
5659
5703
|
let endPoint1: McGePoint3d | null | undefined
|
|
5660
5704
|
let endPoint2: McGePoint3d | null | undefined
|
|
5661
|
-
|
|
5705
|
+
// 循环取点
|
|
5662
5706
|
while (true) {
|
|
5663
5707
|
if(typeof drawMethod === "undefined") {
|
|
5664
5708
|
getPoint.setKeyWords("[三点(3P)/两点(2P)]");// 设置关键词
|
|
5665
5709
|
drawMethod = "default"
|
|
5666
5710
|
}
|
|
5667
5711
|
if (drawMethod === "default") {
|
|
5712
|
+
// 设置圆心
|
|
5668
5713
|
if (!center) {
|
|
5669
5714
|
getPoint.setMessage("\n指定圆的圆心");
|
|
5670
5715
|
const point = await getPoint.go()
|
|
@@ -5679,6 +5724,7 @@ export declare class McDbMText extends McDbEntity {
|
|
|
5679
5724
|
if (!point) return
|
|
5680
5725
|
center = point
|
|
5681
5726
|
}
|
|
5727
|
+
// 设置半径
|
|
5682
5728
|
if (!radius) {
|
|
5683
5729
|
const getDist = new MxCADUiPrDist()
|
|
5684
5730
|
getDist.setBasePt(center)
|
|
@@ -5687,6 +5733,7 @@ export declare class McDbMText extends McDbEntity {
|
|
|
5687
5733
|
isRadius = true
|
|
5688
5734
|
}
|
|
5689
5735
|
getDist.setMessage(_ML_String("McDbCircle_Radius", "指定圆的" + (isRadius ? "半径" : "直径")));
|
|
5736
|
+
// 动态绘制圆
|
|
5690
5737
|
getDist.setUserDraw(
|
|
5691
5738
|
(
|
|
5692
5739
|
currentPoint,
|
|
@@ -5877,13 +5924,56 @@ export declare class McDbCircle extends McDbCurve {
|
|
|
5877
5924
|
* import { McDbPolyline, MxCpp } from 'mxcad'
|
|
5878
5925
|
* //绘制线宽为10的矩形,pt1,pt2,pt3,pt4为矩形的4点个顶点
|
|
5879
5926
|
* const pl = new McDbPolyline();
|
|
5880
|
-
* pl.constantWidth = 10
|
|
5927
|
+
* pl.constantWidth = 10;// 设置多段线线宽为10
|
|
5928
|
+
* // 设置多段线端点
|
|
5881
5929
|
* pl.addVertexAt(pt1);
|
|
5882
5930
|
* pl.addVertexAt(pt2);
|
|
5883
5931
|
* pl.addVertexAt(pt3);
|
|
5884
5932
|
* pl.addVertexAt(pt4);
|
|
5885
|
-
* pl.isClosed = true;
|
|
5886
|
-
* MxCpp.getCurrentMxCAD().drawEntity(pl);
|
|
5933
|
+
* pl.isClosed = true; // 设置多段线是否闭合
|
|
5934
|
+
* MxCpp.getCurrentMxCAD().drawEntity(pl); // 绘制多段线
|
|
5935
|
+
* ```
|
|
5936
|
+
* ```ts
|
|
5937
|
+
// 绘制中心矩形:指定矩形宽高与中心点,动态绘制矩形
|
|
5938
|
+
import { McDbPolyline, MxCpp, MxCADUiPrDist, MxCADUiPrPoint } from 'mxcad';
|
|
5939
|
+
|
|
5940
|
+
async function Mx_CenterRect() {
|
|
5941
|
+
// 设置矩形宽度
|
|
5942
|
+
let width = 5;
|
|
5943
|
+
const getWidth = new MxCADUiPrDist();
|
|
5944
|
+
getWidth.setMessage("\n请输入矩形宽度<5>");
|
|
5945
|
+
const widthVal = await getWidth.go();
|
|
5946
|
+
if (widthVal) {
|
|
5947
|
+
width = getWidth.value()
|
|
5948
|
+
}
|
|
5949
|
+
// 设置矩形高度
|
|
5950
|
+
let height = 10;
|
|
5951
|
+
const getHeight = new MxCADUiPrDist();
|
|
5952
|
+
getHeight.setMessage("\n请输入矩形高度<10>");
|
|
5953
|
+
const heightVal = await getHeight.go();
|
|
5954
|
+
if (heightVal) {
|
|
5955
|
+
height = getHeight.value()
|
|
5956
|
+
}
|
|
5957
|
+
// 设置矩形的中心点
|
|
5958
|
+
const getCenterPt = new MxCADUiPrPoint();
|
|
5959
|
+
getCenterPt.setMessage("请点击确定矩形中心");
|
|
5960
|
+
const centerPt = await getCenterPt.go();
|
|
5961
|
+
if (!centerPt) return;
|
|
5962
|
+
// 根据矩形的中心点和宽高计算矩形的四个顶点
|
|
5963
|
+
let pt1 = new McGePoint3d(centerPt.x + width / 2, centerPt.y + height / 2, centerPt.z)
|
|
5964
|
+
let pt2 = new McGePoint3d(centerPt.x - width / 2, centerPt.y + height / 2, centerPt.z)
|
|
5965
|
+
let pt3 = new McGePoint3d(centerPt.x - width / 2, centerPt.y - height / 2, centerPt.z)
|
|
5966
|
+
let pt4 = new McGePoint3d(centerPt.x + width / 2, centerPt.y - height / 2, centerPt.z)
|
|
5967
|
+
let pl = new McDbPolyline;// 构造一个多段线对象
|
|
5968
|
+
// 依次添加矩形顶点
|
|
5969
|
+
pl.addVertexAt(pt1)
|
|
5970
|
+
pl.addVertexAt(pt2)
|
|
5971
|
+
pl.addVertexAt(pt3)
|
|
5972
|
+
pl.addVertexAt(pt4)
|
|
5973
|
+
const mxcad = MxCpp.App.getCurrentMxCAD();
|
|
5974
|
+
pl.isClosed = true; // 设置多段线闭合
|
|
5975
|
+
mxcad.drawEntity(pl); // 绘制多段线对象
|
|
5976
|
+
}
|
|
5887
5977
|
* ```
|
|
5888
5978
|
*/
|
|
5889
5979
|
export declare class McDbPolyline extends McDbCurve {
|
|
@@ -6110,17 +6200,19 @@ export declare class McDbPolyline extends McDbCurve {
|
|
|
6110
6200
|
* ```ts
|
|
6111
6201
|
* //插入图块
|
|
6112
6202
|
import { McDbBlockReference } from "mxcad"
|
|
6113
|
-
|
|
6114
|
-
// blkFilePath:图块路径
|
|
6203
|
+
|
|
6115
6204
|
let mxcad = MxCpp.App.getCurrentMxCAD();
|
|
6205
|
+
// blkFilePath:图块路径,插入图块
|
|
6116
6206
|
let blkrecId = await mxcad.insertBlock(blkFilePath, "tree");
|
|
6117
6207
|
if (!blkrecId.isValid()) {
|
|
6118
6208
|
// 插入图块
|
|
6119
6209
|
return;
|
|
6120
6210
|
}
|
|
6121
|
-
|
|
6211
|
+
// 构造一个新图块引用实体对象
|
|
6122
6212
|
let blkRef = new McDbBlockReference();
|
|
6213
|
+
// 设置图块记录对象ID
|
|
6123
6214
|
blkRef.blockTableRecordId = blkrecId;
|
|
6215
|
+
// 得到图块的最小外包
|
|
6124
6216
|
let box = blkRef.getBoundingBox();
|
|
6125
6217
|
if (box.ret) {
|
|
6126
6218
|
let dLen = box.maxPt.distanceTo(box.minPt);
|
|
@@ -6128,10 +6220,10 @@ export declare class McDbPolyline extends McDbCurve {
|
|
|
6128
6220
|
blkRef.setScale(mxcad.getMxDrawObject().screenCoordLong2Doc(100) / dLen);
|
|
6129
6221
|
}
|
|
6130
6222
|
}
|
|
6131
|
-
|
|
6223
|
+
// 设置图块插入点
|
|
6132
6224
|
let getPoint = new MxCADUiPrPoint();
|
|
6133
6225
|
getPoint.setMessage("\指定插入基点");
|
|
6134
|
-
|
|
6226
|
+
// 动态绘制图块
|
|
6135
6227
|
getPoint.setUserDraw((v, worldDraw) => {
|
|
6136
6228
|
blkRef.position = v;
|
|
6137
6229
|
worldDraw.drawMcDbEntity(blkRef);
|
|
@@ -6139,8 +6231,8 @@ export declare class McDbPolyline extends McDbCurve {
|
|
|
6139
6231
|
|
|
6140
6232
|
let pt = await getPoint.go();
|
|
6141
6233
|
if (!pt) return;
|
|
6142
|
-
blkRef.position = pt
|
|
6143
|
-
let newBlkRefId = mxcad.drawEntity(blkRef)
|
|
6234
|
+
blkRef.position = pt;// 设置块位置
|
|
6235
|
+
let newBlkRefId = mxcad.drawEntity(blkRef);// 绘制图块
|
|
6144
6236
|
if (!newBlkRefId.isValid) {
|
|
6145
6237
|
console.log("insert error");
|
|
6146
6238
|
return;
|
|
@@ -6514,17 +6606,17 @@ export declare class McDbDimension extends McDbEntity {
|
|
|
6514
6606
|
* 对齐标注尺寸类。
|
|
6515
6607
|
* @example
|
|
6516
6608
|
* ```ts
|
|
6517
|
-
import { McDbAlignedDimension, MxCpp } from "mxcad"
|
|
6518
|
-
*
|
|
6519
6609
|
//绘制对齐标注
|
|
6520
|
-
|
|
6521
|
-
|
|
6522
|
-
mDimension
|
|
6523
|
-
mDimension.
|
|
6524
|
-
mDimension.
|
|
6525
|
-
mDimension.
|
|
6526
|
-
mDimension.
|
|
6527
|
-
|
|
6610
|
+
import { McDbAlignedDimension, MxCpp } from "mxcad"
|
|
6611
|
+
|
|
6612
|
+
const mDimension = new McDbAlignedDimension() // 构造对齐标注对象
|
|
6613
|
+
mDimension.xLine1Point = new McGePoint3d(-1800, 800) // 设置对象第一条线的端点
|
|
6614
|
+
mDimension.xLine2Point = new McGePoint3d(1800,800) // 设置对象第二条线的端点
|
|
6615
|
+
mDimension.dimLinePoint = new McGePoint3d(800, 500) // 设置对象标注线的端点
|
|
6616
|
+
mDimension.textAttachment = McDb.AttachmentPoint.kTopLeft // 设置对象文本对齐方式
|
|
6617
|
+
mDimension.trueColor = new McCmColor(200, 255, 0) // 设置对象颜色
|
|
6618
|
+
mDimension.oblique = 0 // 设置对象倾斜角度
|
|
6619
|
+
MxCpp.getCurrentMxCAD().drawEntity(mDimension); //绘制对齐标注对象
|
|
6528
6620
|
* ```
|
|
6529
6621
|
*/
|
|
6530
6622
|
export declare class McDbAlignedDimension extends McDbDimension {
|
|
@@ -6632,20 +6724,20 @@ export declare class McDbAlignedDimension extends McDbDimension {
|
|
|
6632
6724
|
* 旋转标注尺寸类。
|
|
6633
6725
|
* @example
|
|
6634
6726
|
* ```ts
|
|
6635
|
-
import { McDbRotatedDimension, MxCpp } from "mxcad"
|
|
6636
|
-
|
|
6637
6727
|
//旋转标注
|
|
6638
|
-
|
|
6639
|
-
|
|
6640
|
-
rDimension
|
|
6641
|
-
rDimension.
|
|
6642
|
-
rDimension.
|
|
6643
|
-
rDimension.
|
|
6644
|
-
rDimension.
|
|
6645
|
-
rDimension.
|
|
6646
|
-
rDimension.
|
|
6647
|
-
rDimension.
|
|
6648
|
-
|
|
6728
|
+
import { McDbRotatedDimension, MxCpp } from "mxcad"
|
|
6729
|
+
|
|
6730
|
+
const rDimension = new McDbRotatedDimension() // 构造旋转标注对象
|
|
6731
|
+
rDimension.xLine1Point = new McGePoint3d(-1800, -800) // 设置对象第一条线的端点
|
|
6732
|
+
rDimension.xLine2Point = new McGePoint3d(1800, -800) // 设置对象第二条线的端点
|
|
6733
|
+
rDimension.dimLinePoint = new McGePoint3d(-800, -500) // 设置对象标注线的端点
|
|
6734
|
+
rDimension.textAttachment = McDb.AttachmentPoint.kTopLeft // 设置对象文本对齐方式
|
|
6735
|
+
rDimension.textRotation = 0.6 // 设置对象文字旋转角度
|
|
6736
|
+
rDimension.trueColor = new McCmColor(200, 255, 0) // 设置对象颜色
|
|
6737
|
+
rDimension.oblique = 0 // 设置对象倾斜角度
|
|
6738
|
+
rDimension.rotation = 0 // 设置对象旋转角度
|
|
6739
|
+
rDimension.dimensionText = "标注文本" // 设置对象文本内容
|
|
6740
|
+
MxCpp.getCurrentMxCAD().drawEntity(rDimension);//绘制旋转标注对象
|
|
6649
6741
|
* ```
|
|
6650
6742
|
*/
|
|
6651
6743
|
export declare class McDbRotatedDimension extends McDbDimension {
|
|
@@ -7049,22 +7141,22 @@ export declare class McDbArc extends McDbCurve {
|
|
|
7049
7141
|
* ```ts
|
|
7050
7142
|
import { McDbEllipse, MxCpp } from "mxcad"
|
|
7051
7143
|
//绘制椭圆弧
|
|
7052
|
-
const ellipse_arc = new McDbEllipse()
|
|
7053
|
-
ellipse_arc.center = new McGePoint3d(-380, -200)
|
|
7054
|
-
ellipse_arc.majorAxis = new McGeVector3d(0, 150, 0)
|
|
7055
|
-
ellipse_arc.minorAxis = new McGeVector3d(280, 0, 0)
|
|
7056
|
-
ellipse_arc.startAngle = Math.PI / 2
|
|
7057
|
-
ellipse_arc.endAngle = Math.PI * 3 / 2
|
|
7058
|
-
ellipse_arc.trueColor = new McCmColor(0, 255, 255)
|
|
7059
|
-
MxCpp.getCurrentMxCAD().drawEntity(ellipse_arc)
|
|
7144
|
+
const ellipse_arc = new McDbEllipse() // 构造椭圆对象
|
|
7145
|
+
ellipse_arc.center = new McGePoint3d(-380, -200) // 设置对象圆心
|
|
7146
|
+
ellipse_arc.majorAxis = new McGeVector3d(0, 150, 0) // 设置对象主轴向量
|
|
7147
|
+
ellipse_arc.minorAxis = new McGeVector3d(280, 0, 0) // 设置对象副轴向量
|
|
7148
|
+
ellipse_arc.startAngle = Math.PI / 2 // 设置对象开始角度
|
|
7149
|
+
ellipse_arc.endAngle = Math.PI * 3 / 2 // 设置对象结束角度
|
|
7150
|
+
ellipse_arc.trueColor = new McCmColor(0, 255, 255) //设置对象颜色
|
|
7151
|
+
MxCpp.getCurrentMxCAD().drawEntity(ellipse_arc) // 绘制椭圆对象
|
|
7060
7152
|
|
|
7061
7153
|
//绘制椭圆
|
|
7062
|
-
const ellipse = new McDbEllipse()
|
|
7063
|
-
ellipse.center = new McGePoint3d(-200, -200)
|
|
7064
|
-
ellipse.majorAxis = new McGeVector3d(0, 300, 0)
|
|
7065
|
-
ellipse.radiusRatio = 0.5
|
|
7066
|
-
ellipse.trueColor = new McCmColor(255, 233, 0)
|
|
7067
|
-
MxCpp.getCurrentMxCAD().drawEntity(ellipse)
|
|
7154
|
+
const ellipse = new McDbEllipse() // 构造椭圆对象
|
|
7155
|
+
ellipse.center = new McGePoint3d(-200, -200) // 设置对象圆心
|
|
7156
|
+
ellipse.majorAxis = new McGeVector3d(0, 300, 0) // 设置对象主轴向量
|
|
7157
|
+
ellipse.radiusRatio = 0.5 // 设置椭圆的副轴长度与主轴长度的比值
|
|
7158
|
+
ellipse.trueColor = new McCmColor(255, 233, 0) //设置对象颜色
|
|
7159
|
+
MxCpp.getCurrentMxCAD().drawEntity(ellipse) // 绘制椭圆对象
|
|
7068
7160
|
* ```
|
|
7069
7161
|
*/
|
|
7070
7162
|
export declare class McDbEllipse extends McDbCurve {
|
|
@@ -7165,7 +7257,7 @@ export declare class McDbEllipse extends McDbCurve {
|
|
|
7165
7257
|
* import { McDbEllipse } from "mxcad";
|
|
7166
7258
|
*
|
|
7167
7259
|
* const ellipse = new McDbEllipse();
|
|
7168
|
-
* ellipse.
|
|
7260
|
+
* ellipse.setMinorAxis(20,0,0);
|
|
7169
7261
|
* ```
|
|
7170
7262
|
*/
|
|
7171
7263
|
setMinorAxis(x: number, y: number, z?: number): void;
|
|
@@ -7260,11 +7352,11 @@ export declare class McDbEllipse extends McDbCurve {
|
|
|
7260
7352
|
* //绘制一个点对象
|
|
7261
7353
|
import { McDbPoint } from "mxcad"
|
|
7262
7354
|
|
|
7263
|
-
const point = new McDbPoint()
|
|
7355
|
+
const point = new McDbPoint() // 构造一个点对象
|
|
7264
7356
|
const color = new McCmColor(0,255,0)
|
|
7265
|
-
point.trueColor = color
|
|
7266
|
-
point.setPosition(0, 0)
|
|
7267
|
-
MxCpp.getCurrentMxCAD().drawEntity(point)
|
|
7357
|
+
point.trueColor = color // 设置点对象颜色
|
|
7358
|
+
point.setPosition(0, 0) // 设置点对象位置
|
|
7359
|
+
MxCpp.getCurrentMxCAD().drawEntity(point) // 绘制点对象
|
|
7268
7360
|
* ```
|
|
7269
7361
|
*/
|
|
7270
7362
|
export declare class McDbPoint extends McDbEntity {
|
|
@@ -7336,10 +7428,15 @@ export declare class McDbPoint extends McDbEntity {
|
|
|
7336
7428
|
console.log("没有找到闭合区域\n")
|
|
7337
7429
|
return;
|
|
7338
7430
|
}
|
|
7431
|
+
// 清除填充图案效果
|
|
7339
7432
|
hatch.clearPatternDefinition();
|
|
7433
|
+
// 添加图案填充定义
|
|
7340
7434
|
hatch.addPatternDefinition(45, 1, 1, 1, 0.25, [45, 0.17677695, 0, 0, 0.25, 0.125, -0.0625])
|
|
7435
|
+
// 设置填充图案
|
|
7341
7436
|
hatch.setPattern(McDb.HatchPatternType.kCustomDefined, 'test')
|
|
7437
|
+
// 设置填充颜色
|
|
7342
7438
|
hatch.trueColor = new McCmColor(0, 133, 122)
|
|
7439
|
+
// 绘制填充对象
|
|
7343
7440
|
MxCpp.getCurrentMxCAD().drawEntity(hatch);
|
|
7344
7441
|
* ```
|
|
7345
7442
|
*/
|
|
@@ -7730,12 +7827,15 @@ export declare class McDbHatch extends McDbEntity {
|
|
|
7730
7827
|
* 代理实体类型,是一种特殊类型的实体,其几何形状和属性信息存储在外部源中,例如外部文件或数据库。
|
|
7731
7828
|
* @example
|
|
7732
7829
|
* ```ts
|
|
7733
|
-
* import { MxCADSelectionSet, McDbProxyEntity } from "mxcad";
|
|
7734
7830
|
* //遍历代理实体中的文字
|
|
7735
|
-
*
|
|
7831
|
+
* import { MxCADSelectionSet, McDbProxyEntity } from "mxcad";
|
|
7832
|
+
*
|
|
7833
|
+
* let ss = new MxCADSelectionSet();// 构造选择集对象
|
|
7834
|
+
* // 设置过滤器
|
|
7736
7835
|
* let filter = new MxCADResbuf();
|
|
7737
7836
|
* filter.AddMcDbEntityTypes("TEXT,MTEXT,INSERT,ACAD_PROXY_ENTITY");
|
|
7738
|
-
* ss.allSelect(filter)
|
|
7837
|
+
* ss.allSelect(filter);// 筛选图纸上所有的文本、图块、代理实体对象
|
|
7838
|
+
* // 遍历选择对象
|
|
7739
7839
|
* ss.forEach((id,item)=>{
|
|
7740
7840
|
* const ent = id.getMcDbEntity();
|
|
7741
7841
|
* if(ent instanceof McDbProxyEntity){
|
|
@@ -8162,13 +8262,15 @@ export declare namespace McDb {
|
|
|
8162
8262
|
import { McCmColor, McDbEntity} from "mxcad";
|
|
8163
8263
|
// 修改对象颜色
|
|
8164
8264
|
async function Mx_Test_ChangeColor() {
|
|
8265
|
+
// 选择标注对象
|
|
8165
8266
|
let getEntity = new MxCADUiPrEntity();
|
|
8166
8267
|
getEntity.setMessage("选择标注对象");
|
|
8167
8268
|
let id = await getEntity.go();
|
|
8168
8269
|
if (!id.isValid()) return;
|
|
8169
|
-
|
|
8270
|
+
|
|
8271
|
+
let ent = id.getMcDbEntity();// 获取目标McDbEntity对象
|
|
8170
8272
|
if (!ent) return;
|
|
8171
|
-
ent.trueColor = new McCmColor(255, 0, 255)
|
|
8273
|
+
ent.trueColor = new McCmColor(255, 0, 255);// 修改对象颜色
|
|
8172
8274
|
}
|
|
8173
8275
|
* ```
|
|
8174
8276
|
*/
|
|
@@ -8355,17 +8457,22 @@ export declare class McCmColor {
|
|
|
8355
8457
|
* 表示一个线型表记录对象,实现了对线型的属性相关操作函数。
|
|
8356
8458
|
* @example
|
|
8357
8459
|
* ```ts
|
|
8358
|
-
*
|
|
8460
|
+
* // 添加线型
|
|
8359
8461
|
import { MxCpp, McDbLinetypeTableRecord } from "mxcad"
|
|
8360
8462
|
|
|
8361
8463
|
const mxcad = MxCpp.getCurrentMxCAD();
|
|
8362
8464
|
// 拿到当前线型样式表
|
|
8363
8465
|
let linetypeTable = mxcad.getDatabase().getLinetypeTable();
|
|
8466
|
+
// 构造新线型表记录对象
|
|
8364
8467
|
let newLinetypeRecord = new McDbLinetypeTableRecord();
|
|
8468
|
+
// 设置线型对象的虚线数量
|
|
8365
8469
|
newLinetypeRecord.numDashes = 0.2
|
|
8470
|
+
// 设置线型对象的名字
|
|
8366
8471
|
newLinetypeRecord.name = "TestMyLine"
|
|
8367
|
-
|
|
8368
|
-
|
|
8472
|
+
// 添加线型
|
|
8473
|
+
const res = linetypeTable.add(newLinetypeRecord).isValid()
|
|
8474
|
+
if (res) {
|
|
8475
|
+
console.log("add ok");
|
|
8369
8476
|
}
|
|
8370
8477
|
* ```
|
|
8371
8478
|
*/
|
|
@@ -8635,14 +8742,22 @@ export declare class McDbLinetypeTableRecord extends McDbObject {
|
|
|
8635
8742
|
const mxcad = MxCpp.getCurrentMxCAD();
|
|
8636
8743
|
// 拿到当前文字样式表
|
|
8637
8744
|
const textSyleTable = mxcad.getDatabase().getTextStyleTable();
|
|
8745
|
+
// 构造一个文字样式表记录对象
|
|
8638
8746
|
let newTextStyleRecord = new McDbTextStyleTableRecord();
|
|
8747
|
+
// 设置对象文件名
|
|
8639
8748
|
newTextStyleRecord.fileName = "txt.shx";
|
|
8749
|
+
// 设置对象大字体名称
|
|
8640
8750
|
newTextStyleRecord.bigFontFileName = "hztxt.shx";
|
|
8751
|
+
// 设置对象文字大小
|
|
8641
8752
|
newTextStyleRecord.textSize = 10;
|
|
8753
|
+
// 设置对象名
|
|
8642
8754
|
newTextStyleRecord.name = sMyTextStyle;
|
|
8755
|
+
// 设置对象宽度因子
|
|
8643
8756
|
newTextStyleRecord.xScale = 0.7;
|
|
8644
|
-
|
|
8645
|
-
|
|
8757
|
+
// 添加文字样式
|
|
8758
|
+
const res = textSyleTable.add(newTextStyleRecord).isValid()
|
|
8759
|
+
if (res) {
|
|
8760
|
+
console.log("add ok");
|
|
8646
8761
|
}
|
|
8647
8762
|
* ```
|
|
8648
8763
|
*/
|
|
@@ -8711,7 +8826,7 @@ export declare class McDbTextStyleTableRecord extends McDbObject {
|
|
|
8711
8826
|
get textSize(): number;
|
|
8712
8827
|
set textSize(val: number);
|
|
8713
8828
|
/**
|
|
8714
|
-
*
|
|
8829
|
+
*
|
|
8715
8830
|
* @example
|
|
8716
8831
|
* ```ts
|
|
8717
8832
|
* import { McDbTextStyleTableRecord } from 'mxcad';
|
|
@@ -8829,14 +8944,23 @@ export declare class McDbTextStyleTableRecord extends McDbObject {
|
|
|
8829
8944
|
* import { McCmColor, MxCpp, McDbLayerTableRecord, McDb } from "mxcad"
|
|
8830
8945
|
*
|
|
8831
8946
|
* const mxcad = MxCpp.getCurrentMxCAD();
|
|
8947
|
+
* // 构造新图层表记录对象
|
|
8832
8948
|
* const layer = new McDbLayerTableRecord()
|
|
8949
|
+
* // 设置图层颜色
|
|
8833
8950
|
* layer.color = new McCmColor(0, 0, 0)
|
|
8951
|
+
* // 设置图层是否被冻结
|
|
8834
8952
|
* layer.isFrozen = true
|
|
8953
|
+
* // 设置图层是否被锁定
|
|
8835
8954
|
* layer.isLocked = true
|
|
8955
|
+
* // 设置图层是否被关闭
|
|
8836
8956
|
* layer.isOff = true
|
|
8957
|
+
* // 设置图层线宽
|
|
8837
8958
|
* layer.lineWeight = McDb.LineWeight.kLnWt018
|
|
8959
|
+
* // 设置图层名
|
|
8838
8960
|
* layer.name = "图层名称"
|
|
8961
|
+
* // 获取当前图层表
|
|
8839
8962
|
* const layerTable = mxcad.getDatabase().getLayerTable();
|
|
8963
|
+
* // 向图表中添加图层
|
|
8840
8964
|
* const objId = layerTable.add(layer)
|
|
8841
8965
|
* mxcad.updateDisplay()
|
|
8842
8966
|
* ```
|
|
@@ -8950,13 +9074,15 @@ export declare class McDbLayerTableRecord extends McDbObject {
|
|
|
8950
9074
|
* ```ts
|
|
8951
9075
|
* //获取所有图层
|
|
8952
9076
|
* import { MxCpp, McDbLayerTable } from "mxcad"
|
|
8953
|
-
*
|
|
9077
|
+
* // 获取当前cad对象的图层表
|
|
8954
9078
|
* let layerTable:McDbLayerTable = MxCpp.getCurrentMxCAD().getDatabase().getLayerTable();
|
|
9079
|
+
* // 获取图层表中的所有记录对象ID
|
|
8955
9080
|
* let aryId = layerTable.getAllRecordId();
|
|
9081
|
+
* // 遍历图层表记录对象
|
|
8956
9082
|
* aryId.forEach((id) => {
|
|
8957
9083
|
* let layerRec = id.getMcDbLayerTableRecord();
|
|
8958
|
-
*
|
|
8959
|
-
*
|
|
9084
|
+
* if (layerRec === null) return;
|
|
9085
|
+
* console.log(layerRec);
|
|
8960
9086
|
* console.log("layerRec.color:" + layerRec.color.getColorString());
|
|
8961
9087
|
* console.log("layerRec.name:" + layerRec.name);
|
|
8962
9088
|
* });
|
|
@@ -9036,12 +9162,15 @@ export declare class McDbLayerTable extends McDbObject {
|
|
|
9036
9162
|
* 表示数据库线型表,所有的线型定义都存放在这里。
|
|
9037
9163
|
* @example
|
|
9038
9164
|
* ```ts
|
|
9039
|
-
*
|
|
9165
|
+
* // 获取所有线型
|
|
9040
9166
|
* import { MxCpp, McDbLinetypeTable } from "mxcad"
|
|
9041
|
-
*
|
|
9167
|
+
* // 获取当前CAD对象
|
|
9042
9168
|
* let mxcad = MxCpp.getCurrentMxCAD();
|
|
9169
|
+
* // 获取数据库线型表
|
|
9043
9170
|
* let linetypeTable: McDbLinetypeTable = mxcad.getDatabase().getLinetypeTable();
|
|
9171
|
+
* // 获取线性表中的所有线型表记录对象ID
|
|
9044
9172
|
* let aryId = linetypeTable.getAllRecordId();
|
|
9173
|
+
* // 遍历线型表记录对象
|
|
9045
9174
|
* aryId.forEach((id) => {
|
|
9046
9175
|
* let linetypeRec = id.getMcDbLinetypeTableRecord();
|
|
9047
9176
|
* if (linetypeRec === null) return;
|
|
@@ -9129,10 +9258,13 @@ export declare class McDbLinetypeTable extends McDbObject {
|
|
|
9129
9258
|
* ```ts
|
|
9130
9259
|
* // 获取所有文字样式
|
|
9131
9260
|
* import { MxCpp, McDbTextStyleTable } from "mxcad"
|
|
9132
|
-
*
|
|
9261
|
+
* // 获取当前CAD对象
|
|
9133
9262
|
* let mxcad = MxCpp.getCurrentMxCAD();
|
|
9263
|
+
* // 获取数据库文字样式表
|
|
9134
9264
|
* let textSyleTable: McDbTextStyleTable = mxcad.getDatabase().getTextStyleTable();
|
|
9265
|
+
* // 获取文字样式表中的所有文字样式表记录对象ID
|
|
9135
9266
|
* let aryId = textSyleTable.getAllRecordId();
|
|
9267
|
+
* // 遍历文字样式表记录对象
|
|
9136
9268
|
* aryId.forEach((id) => {
|
|
9137
9269
|
* let textSyleRec = id.getMcDbTextStyleTableRecord();
|
|
9138
9270
|
* if (textSyleRec === null) return;
|
|
@@ -9381,6 +9513,27 @@ export declare class McDbDatabase extends McRxObject {
|
|
|
9381
9513
|
*/
|
|
9382
9514
|
getNamedObjectsDictionary(): McDbDictionary;
|
|
9383
9515
|
/**
|
|
9516
|
+
* 得到对象所在组中的所有对象id
|
|
9517
|
+
* @returns McDbDictionary
|
|
9518
|
+
* @example
|
|
9519
|
+
* ```
|
|
9520
|
+
*/
|
|
9521
|
+
getEntitiesInTheGroup(id: McObjectId): McObjectId[];
|
|
9522
|
+
/**
|
|
9523
|
+
* 得到图纸的组字典对象。
|
|
9524
|
+
* @returns McDbDictionary
|
|
9525
|
+
* @example
|
|
9526
|
+
* ```
|
|
9527
|
+
*/
|
|
9528
|
+
GetGroupDictionary(): McDbDictionary;
|
|
9529
|
+
/**
|
|
9530
|
+
* 把一堆对象创建一个组
|
|
9531
|
+
* @returns McDbDictionary
|
|
9532
|
+
* @example
|
|
9533
|
+
* ```
|
|
9534
|
+
*/
|
|
9535
|
+
CreateGroup(ids: McObjectId[], name?: string): boolean;
|
|
9536
|
+
/**
|
|
9384
9537
|
* 获取块表
|
|
9385
9538
|
* @example
|
|
9386
9539
|
* ```ts
|
|
@@ -9679,7 +9832,7 @@ export declare class McDbDatabase extends McRxObject {
|
|
|
9679
9832
|
async function Mx_BlkColor() {
|
|
9680
9833
|
// 选择目标块
|
|
9681
9834
|
let filter = new MxCADResbuf();
|
|
9682
|
-
filter.AddMcDbEntityTypes("INSERT");//
|
|
9835
|
+
filter.AddMcDbEntityTypes("INSERT");// 设置过滤器,选择块对象
|
|
9683
9836
|
const getBlockEvent = new MxCADUiPrEntity()
|
|
9684
9837
|
getBlockEvent.setMessage('选择需要修改基点的块');
|
|
9685
9838
|
getBlockEvent.setFilter(filter);
|
|
@@ -9688,7 +9841,7 @@ export declare class McDbDatabase extends McRxObject {
|
|
|
9688
9841
|
// 块实体
|
|
9689
9842
|
const blkRef = block_id.getMcDbEntity() as McDbBlockReference;
|
|
9690
9843
|
let blkRec = blkRef.blockTableRecordId.getMcDbBlockTableRecord();
|
|
9691
|
-
Mx_ModyfBlockRecordEntityColor(blkRec);//
|
|
9844
|
+
Mx_ModyfBlockRecordEntityColor(blkRec);// 设置块颜色类型为随块
|
|
9692
9845
|
|
|
9693
9846
|
// 设置块颜色
|
|
9694
9847
|
const getColor = new MxCADUiPrInt();
|
|
@@ -9975,11 +10128,17 @@ export declare class McDbRasterImageDef extends McDbObject {
|
|
|
9975
10128
|
* 数据库中的字典类,用户的自定义数据可以存放在字典中,它可以理解一个映射表,字符串是关键字,可以映射到任何一个对象。字典中可以再包含字典。
|
|
9976
10129
|
* @example
|
|
9977
10130
|
* ```ts
|
|
9978
|
-
* //遍历字典
|
|
9979
10131
|
* import { McDbDictionary, McDbXrecord } from "mxcad"
|
|
9980
10132
|
*
|
|
9981
|
-
*
|
|
10133
|
+
* //遍历字典
|
|
10134
|
+
* function MxTest_GetNamedObjectsDictionary() {
|
|
10135
|
+
* // 获取当前CAD对象
|
|
10136
|
+
* let mxcad = MxCpp.getCurrentMxCAD();
|
|
10137
|
+
* // 获取数据库中的字典对象
|
|
10138
|
+
* let dict = mxcad.getDatabase().getNamedObjectsDictionary();
|
|
10139
|
+
* // 获取字典中所有的对象名
|
|
9982
10140
|
* let aryName = dict.getAllObjectName();
|
|
10141
|
+
* // 遍历对象名
|
|
9983
10142
|
* aryName.forEach((name) => {
|
|
9984
10143
|
* console.log(name);
|
|
9985
10144
|
* let id = dict.getAt(name);
|
|
@@ -9987,19 +10146,12 @@ export declare class McDbRasterImageDef extends McDbObject {
|
|
|
9987
10146
|
* if (obj instanceof McDbDictionary) {
|
|
9988
10147
|
* let dict: McDbDictionary = obj;
|
|
9989
10148
|
* console.log(dict);
|
|
9990
|
-
* MxTest_DictionaryData(dict)
|
|
9991
|
-
* }
|
|
9992
|
-
* else if (obj instanceof McDbXrecord) {
|
|
9993
|
-
* let xrec: McDbXrecord = obj;
|
|
9994
|
-
* let data = xrec.getData()
|
|
9995
|
-
* data.PrintData();
|
|
10149
|
+
* MxTest_DictionaryData(dict);// 递归遍历字典对象
|
|
9996
10150
|
* }
|
|
9997
10151
|
* })
|
|
9998
10152
|
* }
|
|
9999
10153
|
*
|
|
10000
|
-
* function
|
|
10001
|
-
* let mxcad = MxCpp.getCurrentMxCAD();
|
|
10002
|
-
* let dict = mxcad.getDatabase().getNamedObjectsDictionary();
|
|
10154
|
+
* function MxTest_DictionaryData(dict: McDbDictionary) {
|
|
10003
10155
|
* let aryName = dict.getAllObjectName();
|
|
10004
10156
|
* aryName.forEach((name) => {
|
|
10005
10157
|
* console.log(name);
|
|
@@ -10010,10 +10162,13 @@ export declare class McDbRasterImageDef extends McDbObject {
|
|
|
10010
10162
|
* console.log(dict);
|
|
10011
10163
|
* MxTest_DictionaryData(dict);
|
|
10012
10164
|
* }
|
|
10165
|
+
* else if (obj instanceof McDbXrecord) {
|
|
10166
|
+
* let xrec: McDbXrecord = obj;
|
|
10167
|
+
* let data = xrec.getData()
|
|
10168
|
+
* data.PrintData();
|
|
10169
|
+
* }
|
|
10013
10170
|
* })
|
|
10014
10171
|
* }
|
|
10015
|
-
*
|
|
10016
|
-
* MxTest_GetNamedObjectsDictionary()
|
|
10017
10172
|
* ```
|
|
10018
10173
|
*/
|
|
10019
10174
|
export declare class McDbDictionary extends McDbObject {
|
|
@@ -10104,38 +10259,40 @@ export declare class McDbDictionary extends McDbObject {
|
|
|
10104
10259
|
* 扩展记录类型,实体可以设置它的扩展记录,用于存放更多的信息。
|
|
10105
10260
|
* @example
|
|
10106
10261
|
* ```ts
|
|
10107
|
-
*
|
|
10262
|
+
* // 写扩展记录
|
|
10108
10263
|
* import { MxCpp, McDbDictionary, McDbXrecord, MxCADResbuf } from "mxcad"
|
|
10109
|
-
*
|
|
10264
|
+
* // 获取当前CAD对象的字典对象
|
|
10110
10265
|
* let mxcad = MxCpp.getCurrentMxCAD();
|
|
10111
10266
|
* let dict = mxcad.getDatabase().getNamedObjectsDictionary();
|
|
10112
|
-
*
|
|
10267
|
+
* // 获取字典中指定对象"MyDict"
|
|
10113
10268
|
* let sName = "MyDict";
|
|
10114
10269
|
* let idDict = dict.getAt(sName);
|
|
10115
10270
|
* if (idDict.isNull()) {
|
|
10271
|
+
* // 向字典中添加对象
|
|
10116
10272
|
* let newDict = new McDbDictionary;
|
|
10117
10273
|
* idDict = dict.addObject(sName, newDict);
|
|
10118
10274
|
* }
|
|
10119
10275
|
* let myDict = idDict.getMcDbDictionary();
|
|
10120
10276
|
* if (myDict) {
|
|
10121
|
-
* let xrec = new McDbXrecord()
|
|
10122
|
-
* let data = new MxCADResbuf()
|
|
10123
|
-
* data.AddString("TestData")
|
|
10124
|
-
* xrec.setData(data)
|
|
10125
|
-
* myDict.addObject("MyRecord", xrec);
|
|
10277
|
+
* let xrec = new McDbXrecord();// 构造新扩展记录类型
|
|
10278
|
+
* let data = new MxCADResbuf();// 构造resbuf对象
|
|
10279
|
+
* data.AddString("TestData");// 添加字符串到 resbuf 中
|
|
10280
|
+
* xrec.setData(data);// 设置扩展记录中的数据
|
|
10281
|
+
* myDict.addObject("MyRecord", xrec); // 向字典中添加对象
|
|
10126
10282
|
* console.log("write xrecord ok");
|
|
10127
10283
|
* }
|
|
10128
10284
|
*
|
|
10129
10285
|
* // 读取扩展数据。
|
|
10130
10286
|
* async function MxTest_ReadxData() {
|
|
10287
|
+
* // 选择目标对象
|
|
10131
10288
|
* let selEntity = new MxCADUiPrEntity();
|
|
10132
10289
|
* selEntity.setMessage("选择对象");
|
|
10133
10290
|
* let id = await selEntity.go();
|
|
10134
10291
|
* if (!id.isValid()) return;
|
|
10135
|
-
*
|
|
10292
|
+
* // 获取实例对象
|
|
10136
10293
|
* let ent = id.getMcDbEntity();
|
|
10137
10294
|
* if (ent === null) return;
|
|
10138
|
-
*
|
|
10295
|
+
* // 读取扩展数据
|
|
10139
10296
|
* let data = ent.getxData();
|
|
10140
10297
|
* data.forEach((val, type, dxf) => {
|
|
10141
10298
|
* console.log(JSON.stringify({ val: val, type: type, dxf: dxf }));
|
|
@@ -10193,6 +10350,90 @@ export declare class McDbXrecord extends McDbObject {
|
|
|
10193
10350
|
*/
|
|
10194
10351
|
getData(): MxCADResbuf;
|
|
10195
10352
|
}
|
|
10353
|
+
/**
|
|
10354
|
+
* 组对象
|
|
10355
|
+
* @example
|
|
10356
|
+
* ```ts
|
|
10357
|
+
* 选择一堆对象,把他们创建到一个组中 。
|
|
10358
|
+
* let ss = new MxCADSelectionSet();
|
|
10359
|
+
* if (!await ss.userSelect("选择要做成组的对象:")) return;
|
|
10360
|
+
* if (ss.count() == 0) return;
|
|
10361
|
+
* let mxcad = MxCpp.getCurrentMxCAD();
|
|
10362
|
+
* mxcad.getDatabase().CreateGroup(ss.getIds());
|
|
10363
|
+
* ```
|
|
10364
|
+
*/
|
|
10365
|
+
export declare class McDbGroup extends McDbObject {
|
|
10366
|
+
/**
|
|
10367
|
+
* 构造函数。
|
|
10368
|
+
*/
|
|
10369
|
+
constructor(imp?: any);
|
|
10370
|
+
/**
|
|
10371
|
+
* 说明内容
|
|
10372
|
+
* @example
|
|
10373
|
+
* ```ts
|
|
10374
|
+
* ```
|
|
10375
|
+
*/
|
|
10376
|
+
set description(description: string);
|
|
10377
|
+
get description(): string;
|
|
10378
|
+
/**
|
|
10379
|
+
* 组名
|
|
10380
|
+
* @example
|
|
10381
|
+
* ```ts
|
|
10382
|
+
* ```
|
|
10383
|
+
*/
|
|
10384
|
+
set name(name: string);
|
|
10385
|
+
get name(): string;
|
|
10386
|
+
/**
|
|
10387
|
+
* 是否选择操作
|
|
10388
|
+
* @example
|
|
10389
|
+
* ```ts
|
|
10390
|
+
* ```
|
|
10391
|
+
*/
|
|
10392
|
+
set isSelectable(val: boolean);
|
|
10393
|
+
get isSelectable(): boolean;
|
|
10394
|
+
/**
|
|
10395
|
+
* 清空组
|
|
10396
|
+
* @example
|
|
10397
|
+
* ```ts
|
|
10398
|
+
* ```
|
|
10399
|
+
*/
|
|
10400
|
+
clear(): boolean;
|
|
10401
|
+
/**
|
|
10402
|
+
* 向组添加对象
|
|
10403
|
+
* @example
|
|
10404
|
+
* ```ts
|
|
10405
|
+
* ```
|
|
10406
|
+
*/
|
|
10407
|
+
append(id: McObjectId): boolean;
|
|
10408
|
+
/**
|
|
10409
|
+
* 向组添加对象数组
|
|
10410
|
+
* @example
|
|
10411
|
+
* ```ts
|
|
10412
|
+
* ```
|
|
10413
|
+
*/
|
|
10414
|
+
appendArray(aryId: McObjectId[]): boolean;
|
|
10415
|
+
/**
|
|
10416
|
+
*组中是否有该对象
|
|
10417
|
+
* @example
|
|
10418
|
+
* ```ts
|
|
10419
|
+
* ```
|
|
10420
|
+
*/
|
|
10421
|
+
has(id: McObjectId): boolean;
|
|
10422
|
+
/**
|
|
10423
|
+
*得到组中所有对象
|
|
10424
|
+
* @example
|
|
10425
|
+
* ```ts
|
|
10426
|
+
* ```
|
|
10427
|
+
*/
|
|
10428
|
+
getAllEntityId(): McObjectId[];
|
|
10429
|
+
/**
|
|
10430
|
+
*得到组中所有对象数量
|
|
10431
|
+
* @example
|
|
10432
|
+
* ```ts
|
|
10433
|
+
* ```
|
|
10434
|
+
*/
|
|
10435
|
+
numEntities(): number;
|
|
10436
|
+
}
|
|
10196
10437
|
declare class MxAI {
|
|
10197
10438
|
private serverUrl;
|
|
10198
10439
|
private mapFun;
|
|
@@ -11550,35 +11791,8 @@ export declare class McAppType {
|
|
|
11550
11791
|
/** 内部实现对象 */
|
|
11551
11792
|
private imp;
|
|
11552
11793
|
/**
|
|
11553
|
-
*
|
|
11554
|
-
*
|
|
11555
|
-
* ```ts
|
|
11556
|
-
* import { MxCADResbuf, MxCADUtility, McGeLongArray, MxCpp } from "mxcad";
|
|
11557
|
-
* //分解对象
|
|
11558
|
-
* async function Mx_Explode() {
|
|
11559
|
-
* let filter = new MxCADResbuf();
|
|
11560
|
-
* filter.AddMcDbEntityTypes("INSERT,MTEXT,ROTATEDDIMENSION,ALIGNEDDIMENSION,DIMENSION,LWPOLYLINE");
|
|
11561
|
-
* let aryId = await MxCADUtility.userSelect("选择分解对象", filter);
|
|
11562
|
-
* if (aryId.length == 0) { return; }
|
|
11563
|
-
* let aryIdLong = new McGeLongArray;
|
|
11564
|
-
* aryIdLong.copyFormAryId(aryId);
|
|
11565
|
-
*
|
|
11566
|
-
* MxCpp.App.MxCADAssist.MxExplode(aryIdLong.imp);
|
|
11567
|
-
* }
|
|
11568
|
-
* ```
|
|
11569
|
-
* ```ts
|
|
11570
|
-
* import { MxCADResbuf, MxCADUtility, McGeLongArray, MxCpp } from "mxcad";
|
|
11571
|
-
* //合并对象
|
|
11572
|
-
* async function Mx_Join() {
|
|
11573
|
-
* let filter = new MxCADResbuf();
|
|
11574
|
-
* filter.AddMcDbEntityTypes("LWPOLYLINE,ARC,LINE");
|
|
11575
|
-
* let aryId = await MxCADUtility.userSelect("选择要合并的对象", filter);
|
|
11576
|
-
* if (aryId.length == 0) { return; }
|
|
11577
|
-
* let aryIdLong = new McGeLongArray;
|
|
11578
|
-
* aryIdLong.copyFormAryId(aryId);
|
|
11579
|
-
*
|
|
11580
|
-
* MxCpp.App.MxCADAssist.MxJoin(aryIdLong.imp);
|
|
11581
|
-
* }
|
|
11794
|
+
* @internal
|
|
11795
|
+
* MxCAD辅助,内部使用
|
|
11582
11796
|
* ```
|
|
11583
11797
|
*/
|
|
11584
11798
|
MxCADAssist: any;
|
|
@@ -11637,15 +11851,16 @@ export declare class McAppType {
|
|
|
11637
11851
|
* @returns 返回当前的 McObject 对象。
|
|
11638
11852
|
* @example
|
|
11639
11853
|
* ```ts
|
|
11640
|
-
* import { MxCpp } from 'mxcad'
|
|
11641
|
-
*
|
|
11642
11854
|
* //添加图层
|
|
11855
|
+
* import { MxCpp } from 'mxcad'
|
|
11856
|
+
* // 获取当前cad对象
|
|
11643
11857
|
* let mxcad = MxCpp.App.getCurrentMxCAD();
|
|
11858
|
+
* // 获取图层表
|
|
11644
11859
|
* let layerTable = mxcad.getDatabase().getLayerTable();
|
|
11645
11860
|
* if (!layerTable.has("xxx11")) {
|
|
11646
|
-
* let newLayer = new McDbLayerTableRecord()
|
|
11647
|
-
* newLayer.name = "xxx11"
|
|
11648
|
-
* layerTable.add(newLayer)
|
|
11861
|
+
* let newLayer = new McDbLayerTableRecord();// 构造新图层记录对象
|
|
11862
|
+
* newLayer.name = "xxx11";// 设置新图层名为:"xxx11"
|
|
11863
|
+
* layerTable.add(newLayer);// 图层表新增图层记录对象
|
|
11649
11864
|
* }
|
|
11650
11865
|
*
|
|
11651
11866
|
* if (layerTable.has("xxx11")) {
|
|
@@ -11688,12 +11903,12 @@ export declare class McAppType {
|
|
|
11688
11903
|
* @example
|
|
11689
11904
|
* ```ts
|
|
11690
11905
|
* import { MxCADUiPrEntity } from "mxcad";
|
|
11691
|
-
*
|
|
11906
|
+
* // 选择目标对象
|
|
11692
11907
|
* let selEntity = new MxCADUiPrEntity();
|
|
11693
11908
|
* selEntity.setMessage("选择对象");
|
|
11694
11909
|
* let val = await selEntity.go();
|
|
11695
11910
|
* if (!val.isValid()) return;
|
|
11696
|
-
*
|
|
11911
|
+
* // 判断目标对象是为多段线类
|
|
11697
11912
|
* const isSuccess = MxCpp.objectIdIsKindOf(val.id, "McDbPolyline");
|
|
11698
11913
|
* if(isSuccess){
|
|
11699
11914
|
* console.log("目标对象为多段线")
|
|
@@ -11714,7 +11929,7 @@ export declare class McAppType {
|
|
|
11714
11929
|
* @example
|
|
11715
11930
|
* ```ts
|
|
11716
11931
|
* import { MxCADUiPrEntity, MxCpp } from "mxcad";
|
|
11717
|
-
*
|
|
11932
|
+
* // 获取目标对象
|
|
11718
11933
|
* let selEntity = new MxCADUiPrEntity();
|
|
11719
11934
|
* let val = await selEntity.go();
|
|
11720
11935
|
* if (!val.isValid()) return;
|
|
@@ -11730,12 +11945,13 @@ export declare class McAppType {
|
|
|
11730
11945
|
* @example
|
|
11731
11946
|
* ```ts
|
|
11732
11947
|
* import { MxCADUiPrEntity, MxCpp } from "mxcad";
|
|
11733
|
-
*
|
|
11948
|
+
* // 获取目标对象
|
|
11734
11949
|
* let selEntity = new MxCADUiPrEntity();
|
|
11735
11950
|
* let val = await selEntity.go();
|
|
11736
11951
|
* if (!val.isValid()) return;
|
|
11737
|
-
*
|
|
11738
|
-
* const
|
|
11952
|
+
*
|
|
11953
|
+
* const obj = MxCpp.App.objectIdToObject(val.id);// 对象id转 McDbObject 对象
|
|
11954
|
+
* const obj_clone = MxCpp.App.createCloneObject(obj?.getImp());// 克隆目标对象
|
|
11739
11955
|
* ```
|
|
11740
11956
|
*/
|
|
11741
11957
|
createCloneObject(clonobjImp: any): McDbObject | null;
|
|
@@ -12224,16 +12440,18 @@ export declare enum MxCADCloneType {
|
|
|
12224
12440
|
* @example
|
|
12225
12441
|
* ```ts
|
|
12226
12442
|
import { McDbCustomEntity, IMcDbDwgFiler } from "mxcad";
|
|
12227
|
-
|
|
12443
|
+
// 自定义实体类 继承 McDbCustomEntity
|
|
12228
12444
|
class McDbTestLineCustomEntity extends McDbCustomEntity {
|
|
12445
|
+
// 定义实体内 pt1、pt2 两个点对象
|
|
12229
12446
|
private pt1: McGePoint3d = new McGePoint3d();
|
|
12230
12447
|
private pt2: McGePoint3d = new McGePoint3d();
|
|
12231
|
-
|
|
12448
|
+
// 读取自定义实体的数据字段 pt1、pt2
|
|
12232
12449
|
public dwgInFields(filter: IMcDbDwgFiler): boolean {
|
|
12233
12450
|
this.pt1 = filter.readPoint("pt1").val;
|
|
12234
12451
|
this.pt2 = filter.readPoint("pt2").val;
|
|
12235
12452
|
return true;
|
|
12236
12453
|
}
|
|
12454
|
+
// 写入自定义实体的数据字段 pt1、pt2
|
|
12237
12455
|
public dwgOutFields(filter: IMcDbDwgFiler): boolean {
|
|
12238
12456
|
filter.writePoint("pt1", this.pt1);
|
|
12239
12457
|
filter.writePoint("pt2", this.pt2);
|
|
@@ -12338,16 +12556,20 @@ export declare abstract class IMcDbDwgFiler {
|
|
|
12338
12556
|
* @example
|
|
12339
12557
|
* ```ts
|
|
12340
12558
|
import { McDbCustomEntity, McGePoint3d, MxCADWorldDraw, McDbPolyline } from "mxcad";
|
|
12341
|
-
|
|
12559
|
+
// 自定义实体类 继承 McDbCustomEntity
|
|
12342
12560
|
class McDbTestLineCustomEntity extends McDbCustomEntity {
|
|
12561
|
+
// 定义实体内 pt1、pt2 两个点对象
|
|
12343
12562
|
private pt1: McGePoint3d = new McGePoint3d();
|
|
12344
12563
|
private pt2: McGePoint3d = new McGePoint3d();
|
|
12345
|
-
|
|
12564
|
+
// 绘制自定义实体
|
|
12346
12565
|
public worldDraw(draw: MxCADWorldDraw): void {
|
|
12566
|
+
// 构造一个新多段线对象pl
|
|
12347
12567
|
let pl= new McDbPolyline()
|
|
12568
|
+
// pl新增点对象
|
|
12348
12569
|
pl.addVertexAt(this.pt1)
|
|
12349
12570
|
pl.addVertexAt(this.pt2)
|
|
12350
12571
|
pl.addVertexAt(new McGePoint3d())
|
|
12572
|
+
// 绘制pl多段线
|
|
12351
12573
|
draw.drawEntity(pl);
|
|
12352
12574
|
}
|
|
12353
12575
|
}
|
|
@@ -12380,38 +12602,39 @@ export declare class MxCADWorldDraw {
|
|
|
12380
12602
|
* 自定义实体。
|
|
12381
12603
|
* @example
|
|
12382
12604
|
* ```ts
|
|
12383
|
-
|
|
12384
|
-
|
|
12605
|
+
* import { IMcDbDwgFiler, McDbCustomEntity, McDbLine, McDbPolyline, McGePoint3d, McGePoint3dArray, MxCADUiPrPoint, MxCADWorldDraw, MxCpp } from "mxcad";
|
|
12606
|
+
* import { MxFun } from "mxdraw";
|
|
12385
12607
|
|
|
12608
|
+
// 新创建 McDbTestLineCustomEntity 类继承 McDbCustomEntity
|
|
12386
12609
|
class McDbTestLineCustomEntity extends McDbCustomEntity {
|
|
12387
|
-
|
|
12610
|
+
// 定义McDbTestLineCustomEntity内部的点对象 pt1、pt2
|
|
12388
12611
|
private pt1: McGePoint3d = new McGePoint3d();
|
|
12389
12612
|
private pt2: McGePoint3d = new McGePoint3d();
|
|
12390
|
-
|
|
12613
|
+
// 构造函数
|
|
12391
12614
|
constructor(imp?: any) {
|
|
12392
12615
|
super(imp);
|
|
12393
12616
|
}
|
|
12394
|
-
|
|
12617
|
+
// 创建函数
|
|
12395
12618
|
public create(imp: any) {
|
|
12396
12619
|
return new McDbTestLineCustomEntity(imp)
|
|
12397
12620
|
}
|
|
12398
|
-
|
|
12621
|
+
// 获取类名
|
|
12399
12622
|
public getTypeName(): string {
|
|
12400
12623
|
return "McDbTestLineCustomEntity";
|
|
12401
12624
|
}
|
|
12402
|
-
|
|
12625
|
+
// 读取自定义实体数据pt1、pt2
|
|
12403
12626
|
public dwgInFields(filter: IMcDbDwgFiler): boolean {
|
|
12404
12627
|
this.pt1 = filter.readPoint("pt1").val;
|
|
12405
12628
|
this.pt2 = filter.readPoint("pt2").val;
|
|
12406
12629
|
return true;
|
|
12407
12630
|
}
|
|
12408
|
-
|
|
12631
|
+
// 写入自定义实体数据pt1、pt2
|
|
12409
12632
|
public dwgOutFields(filter: IMcDbDwgFiler): boolean {
|
|
12410
12633
|
filter.writePoint("pt1", this.pt1);
|
|
12411
12634
|
filter.writePoint("pt2", this.pt2);
|
|
12412
12635
|
return true;
|
|
12413
12636
|
}
|
|
12414
|
-
|
|
12637
|
+
// 处理夹点编辑效果
|
|
12415
12638
|
public moveGripPointsAt(iIndex: number, dXOffset: number, dYOffset: number, dZOffset: number) {
|
|
12416
12639
|
this.assertWrite();
|
|
12417
12640
|
if (iIndex == 0) {
|
|
@@ -12425,14 +12648,14 @@ export declare class MxCADWorldDraw {
|
|
|
12425
12648
|
this.pt2.z += dZOffset;
|
|
12426
12649
|
}
|
|
12427
12650
|
};
|
|
12428
|
-
|
|
12651
|
+
// 设置对象编辑点位
|
|
12429
12652
|
public getGripPoints(): McGePoint3dArray {
|
|
12430
12653
|
let ret = new McGePoint3dArray()
|
|
12431
12654
|
ret.append(this.pt1);
|
|
12432
12655
|
ret.append(this.pt2);
|
|
12433
12656
|
return ret;
|
|
12434
12657
|
};
|
|
12435
|
-
|
|
12658
|
+
// 绘制实体
|
|
12436
12659
|
public worldDraw(draw: MxCADWorldDraw): void {
|
|
12437
12660
|
// let tmpline = new McDbLine(this.pt1, this.pt2);
|
|
12438
12661
|
let pl= new McDbPolyline()
|
|
@@ -12441,21 +12664,21 @@ export declare class MxCADWorldDraw {
|
|
|
12441
12664
|
pl.addVertexAt(new McGePoint3d())
|
|
12442
12665
|
draw.drawEntity(pl);
|
|
12443
12666
|
}
|
|
12444
|
-
|
|
12667
|
+
// 设置pt1
|
|
12445
12668
|
public setPoint1(pt1: McGePoint3d) {
|
|
12446
12669
|
this.assertWrite();
|
|
12447
12670
|
this.pt1 = pt1.clone();
|
|
12448
12671
|
}
|
|
12449
|
-
|
|
12672
|
+
// 设置pt2
|
|
12450
12673
|
public setPoint2(pt2: McGePoint3d) {
|
|
12451
12674
|
this.assertWrite();
|
|
12452
12675
|
this.pt2 = pt2.clone();
|
|
12453
12676
|
}
|
|
12454
|
-
|
|
12677
|
+
// 获取pt1
|
|
12455
12678
|
public getPoint1() {
|
|
12456
12679
|
return this.pt1;
|
|
12457
12680
|
}
|
|
12458
|
-
|
|
12681
|
+
// 获取pt2
|
|
12459
12682
|
public getPoint2() {
|
|
12460
12683
|
return this.pt2;
|
|
12461
12684
|
}
|
|
@@ -12473,10 +12696,11 @@ export declare abstract class McDbCustomEntity extends McDbEntity {
|
|
|
12473
12696
|
* @example
|
|
12474
12697
|
* ```ts
|
|
12475
12698
|
* import { MxFun } from 'mxdraw
|
|
12699
|
+
* // MxCAD创建成功
|
|
12476
12700
|
* MxFun.on("mxcadApplicationCreatedMxCADObject", (param) => {
|
|
12477
|
-
* //McDbTestLineCustomEntity 自定义实体
|
|
12478
|
-
* new McDbTestLineCustomEntity().rxInit()
|
|
12479
|
-
|
|
12701
|
+
* // McDbTestLineCustomEntity 自定义实体
|
|
12702
|
+
* new McDbTestLineCustomEntity().rxInit();// 自定义实体注册
|
|
12703
|
+
* MxFun.addCommand("MxTest_DrawCustomEntity");// 注册绘制实体命令
|
|
12480
12704
|
* })
|
|
12481
12705
|
* ```
|
|
12482
12706
|
*/
|
|
@@ -12487,8 +12711,8 @@ export declare abstract class McDbCustomEntity extends McDbEntity {
|
|
|
12487
12711
|
* ```ts
|
|
12488
12712
|
* import { McDbCustomEntity } from "mxcad";
|
|
12489
12713
|
*
|
|
12490
|
-
* const customEnt = new McDbCustomEntity()
|
|
12491
|
-
* const cloneEnt = customEnt.clone()
|
|
12714
|
+
* const customEnt = new McDbCustomEntity();// 构造新自定义实体对象
|
|
12715
|
+
* const cloneEnt = customEnt.clone();// 复制实体
|
|
12492
12716
|
* ```
|
|
12493
12717
|
*/
|
|
12494
12718
|
clone(): McDbObject | null;
|
|
@@ -12506,11 +12730,12 @@ export declare abstract class McDbCustomEntity extends McDbEntity {
|
|
|
12506
12730
|
* @example
|
|
12507
12731
|
* ```ts
|
|
12508
12732
|
import { McDbCustomEntity, MxCADWorldDraw, McDbLine } from 'mxcad';
|
|
12509
|
-
|
|
12733
|
+
// 新创建 McDbTestLineCustomEntity 类继承 McDbCustomEntity
|
|
12510
12734
|
class McDbTestLineCustomEntity extends McDbCustomEntity {
|
|
12735
|
+
// 定义McDbTestLineCustomEntity内部的点对象 pt1、pt2
|
|
12511
12736
|
private pt1: McGePoint3d = new McGePoint3d();
|
|
12512
12737
|
private pt2: McGePoint3d = new McGePoint3d();
|
|
12513
|
-
|
|
12738
|
+
// 移动自定义对象的夹点。
|
|
12514
12739
|
public moveGripPointsAt(iIndex: number, dXOffset: number, dYOffset: number, dZOffset: number) {
|
|
12515
12740
|
this.assertWrite();
|
|
12516
12741
|
if (iIndex == 0) {
|
|
@@ -12547,10 +12772,12 @@ export declare abstract class McDbCustomEntity extends McDbEntity {
|
|
|
12547
12772
|
* @example
|
|
12548
12773
|
* ```ts
|
|
12549
12774
|
import { McDbCustomEntity, IMcDbDwgFiler } from 'mxcad'
|
|
12775
|
+
// 新创建 McDbTestLineCustomEntity 类继承 McDbCustomEntity
|
|
12550
12776
|
class McDbTestLineCustomEntity extends McDbCustomEntity {
|
|
12777
|
+
// 定义McDbTestLineCustomEntity内部的点对象 pt1、pt2
|
|
12551
12778
|
private pt1: McGePoint3d = new McGePoint3d();
|
|
12552
12779
|
private pt2: McGePoint3d = new McGePoint3d();
|
|
12553
|
-
|
|
12780
|
+
// 读取自定义实体的数据字段pt1、pt2
|
|
12554
12781
|
public dwgInFields(filter: IMcDbDwgFiler): boolean {
|
|
12555
12782
|
this.pt1 = filter.readPoint("pt1").val;
|
|
12556
12783
|
this.pt2 = filter.readPoint("pt2").val;
|
|
@@ -12564,10 +12791,13 @@ export declare abstract class McDbCustomEntity extends McDbEntity {
|
|
|
12564
12791
|
* 将自定义实体的数据字段写入到 DWG 文件中
|
|
12565
12792
|
* @example
|
|
12566
12793
|
* ```ts
|
|
12794
|
+
// 新创建 McDbTestLineCustomEntity 类继承 McDbCustomEntity
|
|
12567
12795
|
import { McDbCustomEntity, IMcDbDwgFiler } from 'mxcad'
|
|
12568
12796
|
class McDbTestLineCustomEntity extends McDbCustomEntity {
|
|
12797
|
+
// 定义McDbTestLineCustomEntity内部的点对象 pt1、pt2
|
|
12569
12798
|
private pt1: McGePoint3d = new McGePoint3d();
|
|
12570
12799
|
private pt2: McGePoint3d = new McGePoint3d();
|
|
12800
|
+
// 写入自定义实体的数据字段pt1、pt2
|
|
12571
12801
|
public dwgOutFields(filter: IMcDbDwgFiler): boolean {
|
|
12572
12802
|
filter.writePoint("pt1", this.pt1);
|
|
12573
12803
|
filter.writePoint("pt2", this.pt2);
|
|
@@ -12581,10 +12811,13 @@ export declare abstract class McDbCustomEntity extends McDbEntity {
|
|
|
12581
12811
|
* 绘制自定义实体
|
|
12582
12812
|
* @example
|
|
12583
12813
|
* ```ts
|
|
12584
|
-
|
|
12585
|
-
|
|
12814
|
+
import { McDbCustomEntity, MxCADWorldDraw, McDbLine } from 'mxcad'
|
|
12815
|
+
// 新创建 McDbTestLineCustomEntity 类继承 McDbCustomEntity
|
|
12816
|
+
class McDbTestLineCustomEntity extends McDbCustomEntity {
|
|
12817
|
+
// 定义McDbTestLineCustomEntity内部的点对象 pt1、pt2
|
|
12586
12818
|
private pt1: McGePoint3d = new McGePoint3d();
|
|
12587
12819
|
private pt2: McGePoint3d = new McGePoint3d();
|
|
12820
|
+
//绘制实体
|
|
12588
12821
|
public worldDraw(draw: MxCADWorldDraw): void {
|
|
12589
12822
|
let tmpline = new McDbLine(this.pt1, this.pt2);
|
|
12590
12823
|
draw.drawEntity(tmpline);
|
|
@@ -13998,7 +14231,7 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
13998
14231
|
/** 表示几何曲面句柄 */
|
|
13999
14232
|
MdGeHGeomSurface: typeof MdGeHGeomSurface;
|
|
14000
14233
|
/** 所有类的父类,除MdGeTopo,MdGeBRep */
|
|
14001
|
-
|
|
14234
|
+
MxOldMx3dBaseObject: typeof MxOldMx3dBaseObject;
|
|
14002
14235
|
/** 表示颜色 */
|
|
14003
14236
|
MdGeColor: typeof MdGeColor;
|
|
14004
14237
|
/** 表示材质 */
|
|
@@ -14059,38 +14292,38 @@ export interface MxDraw3d extends WasmConfig {
|
|
|
14059
14292
|
MdGeAisTexturedShape: typeof MdGeAisTexturedShape;
|
|
14060
14293
|
/** MdGeSpliter */
|
|
14061
14294
|
MdGeSpliter: typeof MdGeSpliter;
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
|
|
14066
|
-
|
|
14067
|
-
|
|
14068
|
-
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14073
|
-
|
|
14074
|
-
app:
|
|
14295
|
+
MxOldMx3dGeBndBox: typeof MxOldMx3dGeBndBox;
|
|
14296
|
+
MxOldMx3dGeColor: typeof MxOldMx3dGeColor;
|
|
14297
|
+
MxOldMx3dDbDocument: typeof MxOldMx3dDbDocument;
|
|
14298
|
+
MxOldMx3dDbLabel: typeof MxOldMx3dDbLabel;
|
|
14299
|
+
MxOldMx3dLabelSequence: typeof MxOldMx3dLabelSequence;
|
|
14300
|
+
MxOldMx3dLabelSequenceIterator: typeof MxOldMx3dLabelSequenceIterator;
|
|
14301
|
+
MxOldMx3dGeLocation: typeof MxOldMx3dGeLocation;
|
|
14302
|
+
MxOldMx3dGePoint: typeof MxOldMx3dGePoint;
|
|
14303
|
+
MxOldMx3dShapeObject: typeof MxOldMx3dShapeObject;
|
|
14304
|
+
MxOldMx3dGeObject: typeof MxOldMx3dGeObject;
|
|
14305
|
+
MxOldMx3dDbObject: typeof MxOldMx3dDbObject;
|
|
14306
|
+
MxOldMx3dApplication: typeof MxOldMx3dApplication;
|
|
14307
|
+
app: MxOldMx3dApplication;
|
|
14075
14308
|
}
|
|
14076
14309
|
/**
|
|
14077
14310
|
* 所有类的父类, 除去MdGeTopo以及MdGeBrep
|
|
14078
14311
|
*/
|
|
14079
|
-
export declare class
|
|
14312
|
+
export declare class MxOldMx3dBaseObject {
|
|
14080
14313
|
protected imp: any;
|
|
14081
14314
|
constructor(imp?: any);
|
|
14082
14315
|
getImp(): any;
|
|
14083
14316
|
protected initTempObject(imp: any): void;
|
|
14084
14317
|
}
|
|
14085
|
-
export declare class
|
|
14318
|
+
export declare class MxOldMx3dShapeObject extends MxOldMx3dBaseObject {
|
|
14086
14319
|
constructor(p?: object);
|
|
14087
|
-
getBndBox():
|
|
14320
|
+
getBndBox(): MxOldMx3dGeBndBox;
|
|
14088
14321
|
Draw(): void;
|
|
14089
14322
|
}
|
|
14090
|
-
export declare class
|
|
14323
|
+
export declare class MxOldMx3dGeObject extends MxOldMx3dBaseObject {
|
|
14091
14324
|
constructor(p?: object);
|
|
14092
14325
|
}
|
|
14093
|
-
export declare class
|
|
14326
|
+
export declare class MxOldMx3dDbObject extends MxOldMx3dBaseObject {
|
|
14094
14327
|
constructor(p?: object);
|
|
14095
14328
|
}
|
|
14096
14329
|
/**
|
|
@@ -14099,7 +14332,7 @@ export declare class Mx3dDbObject extends Mx3dBaseObject {
|
|
|
14099
14332
|
/**
|
|
14100
14333
|
* 表示一个形状
|
|
14101
14334
|
*/
|
|
14102
|
-
export declare class MdGeShape extends
|
|
14335
|
+
export declare class MdGeShape extends MxOldMx3dBaseObject {
|
|
14103
14336
|
constructor(p?: object);
|
|
14104
14337
|
Fuse(other: MdGeShape): MdGeShape;
|
|
14105
14338
|
Cut(remove: MdGeShape): MdGeShape;
|
|
@@ -14203,7 +14436,7 @@ export declare class MdGeCompound extends MdGeShape {
|
|
|
14203
14436
|
/**
|
|
14204
14437
|
* 表示一个矩阵
|
|
14205
14438
|
*/
|
|
14206
|
-
export declare class MdGeMat extends
|
|
14439
|
+
export declare class MdGeMat extends MxOldMx3dBaseObject {
|
|
14207
14440
|
constructor(p1?: MdGeXYZ | number | object, p2?: MdGeXYZ | number, p3?: MdGeXYZ | number, p4?: number, p5?: number, p6?: number, p7?: number, p8?: number, p9?: number);
|
|
14208
14441
|
SetCol(col: number, value: MdGeXYZ): void;
|
|
14209
14442
|
SetCols(col1: MdGeXYZ, col2: MdGeXYZ, col3: MdGeXYZ): void;
|
|
@@ -14247,7 +14480,7 @@ export declare class MdGeMat extends Mx3dBaseObject {
|
|
|
14247
14480
|
/**
|
|
14248
14481
|
* 表示一个坐标
|
|
14249
14482
|
*/
|
|
14250
|
-
export declare class MdGeXYZ extends
|
|
14483
|
+
export declare class MdGeXYZ extends MxOldMx3dBaseObject {
|
|
14251
14484
|
constructor(p1?: number | object, p2?: number, p3?: number);
|
|
14252
14485
|
SetCoord(x: number, y: number, z?: number): void;
|
|
14253
14486
|
SetX(x: number): void;
|
|
@@ -14292,7 +14525,7 @@ export declare class MdGeXYZ extends Mx3dBaseObject {
|
|
|
14292
14525
|
/**
|
|
14293
14526
|
* 表示一个变换
|
|
14294
14527
|
*/
|
|
14295
|
-
export declare class MdGeTrsf extends
|
|
14528
|
+
export declare class MdGeTrsf extends MxOldMx3dBaseObject {
|
|
14296
14529
|
constructor(p?: object);
|
|
14297
14530
|
SetMirrorByPoint(point: MdGePoint): void;
|
|
14298
14531
|
SetMirrorByAxis(axis: MdGeAxis): void;
|
|
@@ -14322,7 +14555,7 @@ export declare class MdGeTrsf extends Mx3dBaseObject {
|
|
|
14322
14555
|
/**
|
|
14323
14556
|
* 表示一个方向
|
|
14324
14557
|
*/
|
|
14325
|
-
export declare class MdGeDir extends
|
|
14558
|
+
export declare class MdGeDir extends MxOldMx3dBaseObject {
|
|
14326
14559
|
constructor(p1?: MdGeVec | number | object, p2?: number, p3?: number);
|
|
14327
14560
|
SetCoord(p1: number, p2: number, p3?: number): void;
|
|
14328
14561
|
SetX(theXv: number): void;
|
|
@@ -14365,7 +14598,7 @@ export declare class MdGeDir extends Mx3dBaseObject {
|
|
|
14365
14598
|
/**
|
|
14366
14599
|
* 表示一个轴
|
|
14367
14600
|
*/
|
|
14368
|
-
export declare class MdGeAxis extends
|
|
14601
|
+
export declare class MdGeAxis extends MxOldMx3dBaseObject {
|
|
14369
14602
|
constructor(p1?: MdGePoint | object, p2?: MdGeDir);
|
|
14370
14603
|
Direction(): MdGeDir;
|
|
14371
14604
|
Location(): MdGePoint;
|
|
@@ -14378,7 +14611,7 @@ export declare class MdGeAxis extends Mx3dBaseObject {
|
|
|
14378
14611
|
/**
|
|
14379
14612
|
* 表示右手坐标系。
|
|
14380
14613
|
*/
|
|
14381
|
-
export declare class MdGeCSYSR extends
|
|
14614
|
+
export declare class MdGeCSYSR extends MxOldMx3dBaseObject {
|
|
14382
14615
|
constructor(p1?: MdGePoint | object, p2?: MdGeDir, p3?: MdGeDir);
|
|
14383
14616
|
Origin(): MdGePoint;
|
|
14384
14617
|
XDirection(): MdGeDir;
|
|
@@ -14415,7 +14648,7 @@ export declare class MdGeCSYSR extends Mx3dBaseObject {
|
|
|
14415
14648
|
/**
|
|
14416
14649
|
* 表示一个点。
|
|
14417
14650
|
*/
|
|
14418
|
-
export declare class MdGePoint extends
|
|
14651
|
+
export declare class MdGePoint extends MxOldMx3dBaseObject {
|
|
14419
14652
|
constructor(p1?: number | object, p2?: number, p3?: number);
|
|
14420
14653
|
X(): number;
|
|
14421
14654
|
Y(): number;
|
|
@@ -14453,7 +14686,7 @@ export declare class MdGePoint extends Mx3dBaseObject {
|
|
|
14453
14686
|
/**
|
|
14454
14687
|
* 表示一个向量。
|
|
14455
14688
|
*/
|
|
14456
|
-
export declare class MdGeVec extends
|
|
14689
|
+
export declare class MdGeVec extends MxOldMx3dBaseObject {
|
|
14457
14690
|
constructor(p1?: MdGePoint | number | object, p2?: MdGePoint | number, p3?: number);
|
|
14458
14691
|
SetCoord(p1: number, p2: number, p3?: number): void;
|
|
14459
14692
|
X(): number;
|
|
@@ -14536,7 +14769,7 @@ export declare class MdGeVec extends Mx3dBaseObject {
|
|
|
14536
14769
|
/**
|
|
14537
14770
|
* 表示角度标注
|
|
14538
14771
|
*/
|
|
14539
|
-
export declare class MdGeAngleDim extends
|
|
14772
|
+
export declare class MdGeAngleDim extends MxOldMx3dBaseObject {
|
|
14540
14773
|
constructor(p1?: MdGeEdge | MdGePoint | object, p2?: MdGeEdge | MdGePoint, p3?: MdGePoint);
|
|
14541
14774
|
FirstPoint(): MdGePoint;
|
|
14542
14775
|
SecondPoint(): MdGePoint;
|
|
@@ -14581,7 +14814,7 @@ export declare class MdGeAngleDim extends Mx3dBaseObject {
|
|
|
14581
14814
|
/**
|
|
14582
14815
|
* 表示一维整数数组。
|
|
14583
14816
|
*/
|
|
14584
|
-
export declare class MdGeArray1OfInteger extends
|
|
14817
|
+
export declare class MdGeArray1OfInteger extends MxOldMx3dBaseObject {
|
|
14585
14818
|
constructor(p1?: number | object, p2?: number);
|
|
14586
14819
|
Init(theInteger: number): void;
|
|
14587
14820
|
Size(): number;
|
|
@@ -14603,7 +14836,7 @@ export declare class MdGeArray1OfInteger extends Mx3dBaseObject {
|
|
|
14603
14836
|
/**
|
|
14604
14837
|
* 表示一维点数组。
|
|
14605
14838
|
*/
|
|
14606
|
-
export declare class MdGeArray1OfPnt extends
|
|
14839
|
+
export declare class MdGeArray1OfPnt extends MxOldMx3dBaseObject {
|
|
14607
14840
|
constructor(p1?: number | object, p2?: number);
|
|
14608
14841
|
Init(thePnt: MdGePoint): void;
|
|
14609
14842
|
Size(): number;
|
|
@@ -14625,7 +14858,7 @@ export declare class MdGeArray1OfPnt extends Mx3dBaseObject {
|
|
|
14625
14858
|
/**
|
|
14626
14859
|
* 表示一维实数数组。
|
|
14627
14860
|
*/
|
|
14628
|
-
export declare class MdGeArray1OfReal extends
|
|
14861
|
+
export declare class MdGeArray1OfReal extends MxOldMx3dBaseObject {
|
|
14629
14862
|
constructor(p1?: number | object, p2?: number);
|
|
14630
14863
|
Init(theReal: number): void;
|
|
14631
14864
|
Size(): number;
|
|
@@ -14647,7 +14880,7 @@ export declare class MdGeArray1OfReal extends Mx3dBaseObject {
|
|
|
14647
14880
|
/**
|
|
14648
14881
|
* 表示二维点数组。
|
|
14649
14882
|
*/
|
|
14650
|
-
export declare class MdGeArray2OfPnt extends
|
|
14883
|
+
export declare class MdGeArray2OfPnt extends MxOldMx3dBaseObject {
|
|
14651
14884
|
constructor(p1?: number | MdGePoint | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
14652
14885
|
Init(thePoint: MdGePoint): void;
|
|
14653
14886
|
Size(): number;
|
|
@@ -14671,7 +14904,7 @@ export declare class MdGeArray2OfPnt extends Mx3dBaseObject {
|
|
|
14671
14904
|
/**
|
|
14672
14905
|
* 表示二维实数数组。
|
|
14673
14906
|
*/
|
|
14674
|
-
export declare class MdGeArray2OfReal extends
|
|
14907
|
+
export declare class MdGeArray2OfReal extends MxOldMx3dBaseObject {
|
|
14675
14908
|
constructor(p1?: number | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
14676
14909
|
Init(theReal: number): void;
|
|
14677
14910
|
Size(): number;
|
|
@@ -14695,7 +14928,7 @@ export declare class MdGeArray2OfReal extends Mx3dBaseObject {
|
|
|
14695
14928
|
/**
|
|
14696
14929
|
* 表示贝塞尔曲线
|
|
14697
14930
|
*/
|
|
14698
|
-
export declare class MdGeBezierCurve extends
|
|
14931
|
+
export declare class MdGeBezierCurve extends MxOldMx3dBaseObject {
|
|
14699
14932
|
constructor(p1?: MdGeArray1OfPnt | object, p2?: MdGeArray1OfReal);
|
|
14700
14933
|
Increase(Degree: number): void;
|
|
14701
14934
|
InsertPoleAfter(p1: number, p2: MdGePoint, p3?: number): void;
|
|
@@ -14734,7 +14967,7 @@ export declare class MdGeBezierCurve extends Mx3dBaseObject {
|
|
|
14734
14967
|
/**
|
|
14735
14968
|
* 表示贝塞尔曲面
|
|
14736
14969
|
*/
|
|
14737
|
-
export declare class MdGeBezierSurface extends
|
|
14970
|
+
export declare class MdGeBezierSurface extends MxOldMx3dBaseObject {
|
|
14738
14971
|
constructor(p1?: MdGeArray2OfPnt | object, p2?: MdGeArray2OfReal);
|
|
14739
14972
|
ExchangeUV(): void;
|
|
14740
14973
|
Increase(UDeg: number, VDeg: number): void;
|
|
@@ -14784,7 +15017,7 @@ export declare class MdGeBezierSurface extends Mx3dBaseObject {
|
|
|
14784
15017
|
/**
|
|
14785
15018
|
* 表示倒斜角
|
|
14786
15019
|
*/
|
|
14787
|
-
export declare class MdGeChamfer extends
|
|
15020
|
+
export declare class MdGeChamfer extends MxOldMx3dBaseObject {
|
|
14788
15021
|
constructor(p?: MdGeShape | object);
|
|
14789
15022
|
Add(p1: MdGeEdge | number, p2?: MdGeEdge | number, p3?: MdGeEdge, p4?: MdGeFace): void;
|
|
14790
15023
|
SetDist(Dis: number, IC: number, F: MdGeFace): void;
|
|
@@ -14822,7 +15055,7 @@ export declare class MdGeChamfer extends Mx3dBaseObject {
|
|
|
14822
15055
|
/**
|
|
14823
15056
|
* 表示一个圆。
|
|
14824
15057
|
*/
|
|
14825
|
-
export declare class MdGeCircle extends
|
|
15058
|
+
export declare class MdGeCircle extends MxOldMx3dBaseObject {
|
|
14826
15059
|
constructor(p1?: MdGeCSYSR | object, p2?: number);
|
|
14827
15060
|
SetAxis(theA1: MdGeAxis): void;
|
|
14828
15061
|
SetLocation(theP: MdGePoint): void;
|
|
@@ -14865,7 +15098,7 @@ export declare class MdGeCircle extends Mx3dBaseObject {
|
|
|
14865
15098
|
/**
|
|
14866
15099
|
* 表示一个坐标系(左手或右手)
|
|
14867
15100
|
*/
|
|
14868
|
-
export declare class MdGeCSYS extends
|
|
15101
|
+
export declare class MdGeCSYS extends MxOldMx3dBaseObject {
|
|
14869
15102
|
constructor(p1?: MdGePoint | object, p2?: MdGeDir, p3?: MdGeDir);
|
|
14870
15103
|
XReverse(): void;
|
|
14871
15104
|
YReverse(): void;
|
|
@@ -14908,7 +15141,7 @@ export declare class MdGeCSYS extends Mx3dBaseObject {
|
|
|
14908
15141
|
/**
|
|
14909
15142
|
* 表示一个圆锥
|
|
14910
15143
|
*/
|
|
14911
|
-
export declare class MdGeCone extends
|
|
15144
|
+
export declare class MdGeCone extends MxOldMx3dBaseObject {
|
|
14912
15145
|
constructor(p1?: MdGeCSYS | object, p2?: number, p3?: number);
|
|
14913
15146
|
SetAxis(theA1: MdGeAxis): void;
|
|
14914
15147
|
SetLocation(theLoc: MdGePoint): void;
|
|
@@ -14951,7 +15184,7 @@ export declare class MdGeCone extends Mx3dBaseObject {
|
|
|
14951
15184
|
/**
|
|
14952
15185
|
* 表示一个圆柱。
|
|
14953
15186
|
*/
|
|
14954
|
-
export declare class MdGeCylinder extends
|
|
15187
|
+
export declare class MdGeCylinder extends MxOldMx3dBaseObject {
|
|
14955
15188
|
constructor(p1?: MdGeCSYS | object, p2?: number);
|
|
14956
15189
|
SetAxis(theA1: MdGeAxis): void;
|
|
14957
15190
|
SetLocation(theLoc: MdGePoint): void;
|
|
@@ -14984,7 +15217,7 @@ export declare class MdGeCylinder extends Mx3dBaseObject {
|
|
|
14984
15217
|
TranslatedBy2Points(theP1: MdGePoint, theP2: MdGePoint): MdGeCylinder;
|
|
14985
15218
|
Shape(H: number, Angle?: number): MdGeShape;
|
|
14986
15219
|
Face(p1?: MdGeWire | number, p2?: boolean | number, p3?: number, p4?: number): MdGeFace;
|
|
14987
|
-
Shape3d(H: number, Angle?: number):
|
|
15220
|
+
Shape3d(H: number, Angle?: number): MxOldMx3dShapeObject;
|
|
14988
15221
|
}
|
|
14989
15222
|
/**
|
|
14990
15223
|
* 表示一个平面
|
|
@@ -14992,7 +15225,7 @@ export declare class MdGeCylinder extends Mx3dBaseObject {
|
|
|
14992
15225
|
/**
|
|
14993
15226
|
* 表示一个平面
|
|
14994
15227
|
*/
|
|
14995
|
-
export declare class MdGePlane extends
|
|
15228
|
+
export declare class MdGePlane extends MxOldMx3dBaseObject {
|
|
14996
15229
|
constructor(p1?: MdGeCSYS | MdGePoint | number | object, p2?: MdGeDir | number, p3?: number, p4?: number);
|
|
14997
15230
|
SetAxis(theA1: MdGeAxis): void;
|
|
14998
15231
|
SetLocation(theLoc: MdGePoint): void;
|
|
@@ -15034,7 +15267,7 @@ export declare class MdGePlane extends Mx3dBaseObject {
|
|
|
15034
15267
|
/**
|
|
15035
15268
|
* 表示直径标注
|
|
15036
15269
|
*/
|
|
15037
|
-
export declare class MdGeDiameterDim extends
|
|
15270
|
+
export declare class MdGeDiameterDim extends MxOldMx3dBaseObject {
|
|
15038
15271
|
constructor(p1?: MdGeCircle | object, p2?: MdGePlane);
|
|
15039
15272
|
Circle(): MdGeCircle;
|
|
15040
15273
|
AnchorPoint(): MdGePoint;
|
|
@@ -15070,7 +15303,7 @@ export declare class MdGeDiameterDim extends Mx3dBaseObject {
|
|
|
15070
15303
|
/**
|
|
15071
15304
|
* 表示一个椭圆
|
|
15072
15305
|
*/
|
|
15073
|
-
export declare class MdGeEllipse extends
|
|
15306
|
+
export declare class MdGeEllipse extends MxOldMx3dBaseObject {
|
|
15074
15307
|
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
15075
15308
|
SetAxis(theA1: MdGeAxis): void;
|
|
15076
15309
|
SetLocation(theP: MdGePoint): void;
|
|
@@ -15114,7 +15347,7 @@ export declare class MdGeEllipse extends Mx3dBaseObject {
|
|
|
15114
15347
|
/**
|
|
15115
15348
|
* 表示拓扑元素遍历
|
|
15116
15349
|
*/
|
|
15117
|
-
export declare class MdGeExplorer extends
|
|
15350
|
+
export declare class MdGeExplorer extends MxOldMx3dBaseObject {
|
|
15118
15351
|
constructor(p1?: MdGeShape | object, p2?: MdGe.MxShapeEnum, p3?: MdGe.MxShapeEnum);
|
|
15119
15352
|
Init(S: MdGeShape, ToFind: MdGe.MxShapeEnum, ToAvoid?: MdGe.MxShapeEnum): void;
|
|
15120
15353
|
More(): boolean;
|
|
@@ -15132,7 +15365,7 @@ export declare class MdGeExplorer extends Mx3dBaseObject {
|
|
|
15132
15365
|
/**
|
|
15133
15366
|
* 表示倒圆角
|
|
15134
15367
|
*/
|
|
15135
|
-
export declare class MdGeFillet extends
|
|
15368
|
+
export declare class MdGeFillet extends MxOldMx3dBaseObject {
|
|
15136
15369
|
constructor(p1?: MdGeShape | object, p2?: MdGe.MxCF3dFilletShapeEnum);
|
|
15137
15370
|
SetParams(Tang: number, Tesp: number, T2d: number, TApp3d: number, TolApp2d: number, Fleche: number): void;
|
|
15138
15371
|
Add(p1: MdGeEdge | number, p2?: MdGeEdge | number, p3?: MdGeEdge): void;
|
|
@@ -15175,7 +15408,7 @@ export declare class MdGeFillet extends Mx3dBaseObject {
|
|
|
15175
15408
|
/**
|
|
15176
15409
|
* 表示双曲线。
|
|
15177
15410
|
*/
|
|
15178
|
-
export declare class MdGeHypr extends
|
|
15411
|
+
export declare class MdGeHypr extends MxOldMx3dBaseObject {
|
|
15179
15412
|
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
15180
15413
|
SetAxis(theA1: MdGeAxis): void;
|
|
15181
15414
|
SetLocation(theP: MdGePoint): void;
|
|
@@ -15227,7 +15460,7 @@ export declare class MdGeHypr extends Mx3dBaseObject {
|
|
|
15227
15460
|
/**
|
|
15228
15461
|
* 表示一个Box
|
|
15229
15462
|
*/
|
|
15230
|
-
export declare class MdGeBox extends
|
|
15463
|
+
export declare class MdGeBox extends MxOldMx3dBaseObject {
|
|
15231
15464
|
constructor(p1?: MdGePoint | number | MdGeCSYSR | object, p2?: MdGePoint | number, p3?: number, p4?: number);
|
|
15232
15465
|
Init(p1: MdGePoint | number | MdGeCSYSR, p2: MdGePoint | number, p3?: number, p4?: number): void;
|
|
15233
15466
|
Shape(): MdGeShape;
|
|
@@ -15246,7 +15479,7 @@ export declare class MdGeBox extends Mx3dBaseObject {
|
|
|
15246
15479
|
/**
|
|
15247
15480
|
* 表示B样条曲线
|
|
15248
15481
|
*/
|
|
15249
|
-
export declare class MdGeBSplineCurve extends
|
|
15482
|
+
export declare class MdGeBSplineCurve extends MxOldMx3dBaseObject {
|
|
15250
15483
|
constructor(p1?: MdGeArray1OfPnt | object, p2?: MdGeArray1OfReal, p3?: MdGeArray1OfInteger, p4?: number, p5?: boolean);
|
|
15251
15484
|
IncreaseDegree(Degree: number): void;
|
|
15252
15485
|
IncreaseMultiplicity(p1: number, p2: number, p3?: number): void;
|
|
@@ -15301,7 +15534,7 @@ export declare class MdGeBSplineCurve extends Mx3dBaseObject {
|
|
|
15301
15534
|
/**
|
|
15302
15535
|
* 表示B样条曲面
|
|
15303
15536
|
*/
|
|
15304
|
-
export declare class MdGeBSplineSurface extends
|
|
15537
|
+
export declare class MdGeBSplineSurface extends MxOldMx3dBaseObject {
|
|
15305
15538
|
constructor(p1?: MdGeArray2OfPnt | object, p2?: MdGeArray1OfReal, p3?: MdGeArray1OfReal, p4?: MdGeArray1OfInteger, p5?: MdGeArray1OfInteger, p6?: number, p7?: number, p8?: boolean, p9?: boolean);
|
|
15306
15539
|
ExchangeUV(): void;
|
|
15307
15540
|
SetUPeriodic(): void;
|
|
@@ -15381,7 +15614,7 @@ export declare class MdGeBSplineSurface extends Mx3dBaseObject {
|
|
|
15381
15614
|
/**
|
|
15382
15615
|
* 表示插值B样条曲线
|
|
15383
15616
|
*/
|
|
15384
|
-
export declare class MdGeInterpolateBSpl extends
|
|
15617
|
+
export declare class MdGeInterpolateBSpl extends MxOldMx3dBaseObject {
|
|
15385
15618
|
constructor(p1?: MdGeArray1OfPnt | object, p2?: boolean | MdGeArray1OfReal, p3?: number | boolean, p4?: number);
|
|
15386
15619
|
Load(InitialTangent: MdGeVec, FinalTangent: MdGeVec, Scale?: boolean): void;
|
|
15387
15620
|
Perform(): void;
|
|
@@ -15394,7 +15627,7 @@ export declare class MdGeInterpolateBSpl extends Mx3dBaseObject {
|
|
|
15394
15627
|
/**
|
|
15395
15628
|
* 表示长度标注
|
|
15396
15629
|
*/
|
|
15397
|
-
export declare class MdGeLengthDim extends
|
|
15630
|
+
export declare class MdGeLengthDim extends MxOldMx3dBaseObject {
|
|
15398
15631
|
constructor(p1?: MdGeEdge | MdGePoint | object, p2?: MdGePlane | MdGePoint, p3?: MdGePlane);
|
|
15399
15632
|
FirstPoint(): MdGePoint;
|
|
15400
15633
|
SecondPoint(): MdGePoint;
|
|
@@ -15431,7 +15664,7 @@ export declare class MdGeLengthDim extends Mx3dBaseObject {
|
|
|
15431
15664
|
/**
|
|
15432
15665
|
* 表示一条直线
|
|
15433
15666
|
*/
|
|
15434
|
-
export declare class MdGeLine extends
|
|
15667
|
+
export declare class MdGeLine extends MxOldMx3dBaseObject {
|
|
15435
15668
|
constructor(p1?: MdGePoint | object, p2?: MdGeDir);
|
|
15436
15669
|
Reverse(): void;
|
|
15437
15670
|
Reversed(): MdGeLine;
|
|
@@ -15474,7 +15707,7 @@ export declare class MdGeLine extends Mx3dBaseObject {
|
|
|
15474
15707
|
/**
|
|
15475
15708
|
* 表示形状链表迭代器
|
|
15476
15709
|
*/
|
|
15477
|
-
export declare class MdGeListIteratorOfListOfShape extends
|
|
15710
|
+
export declare class MdGeListIteratorOfListOfShape extends MxOldMx3dBaseObject {
|
|
15478
15711
|
constructor(p?: object);
|
|
15479
15712
|
More(): boolean;
|
|
15480
15713
|
Next(): void;
|
|
@@ -15487,7 +15720,7 @@ export declare class MdGeListIteratorOfListOfShape extends Mx3dBaseObject {
|
|
|
15487
15720
|
/**
|
|
15488
15721
|
* 表示形状链表
|
|
15489
15722
|
*/
|
|
15490
|
-
export declare class MdGeListOfShape extends
|
|
15723
|
+
export declare class MdGeListOfShape extends MxOldMx3dBaseObject {
|
|
15491
15724
|
constructor(p?: object);
|
|
15492
15725
|
begin(): MdGeListIteratorOfListOfShape;
|
|
15493
15726
|
end(): MdGeListIteratorOfListOfShape;
|
|
@@ -15511,7 +15744,7 @@ export declare class MdGeListOfShape extends Mx3dBaseObject {
|
|
|
15511
15744
|
/**
|
|
15512
15745
|
* 表示放样
|
|
15513
15746
|
*/
|
|
15514
|
-
export declare class MdGeLoft extends
|
|
15747
|
+
export declare class MdGeLoft extends MxOldMx3dBaseObject {
|
|
15515
15748
|
constructor(p1?: boolean | object, p2?: boolean, p3?: number);
|
|
15516
15749
|
Init(isSolid?: boolean, ruled?: boolean, pres3d?: number): void;
|
|
15517
15750
|
AddWire(wire: MdGeWire): void;
|
|
@@ -15536,7 +15769,7 @@ export declare class MdGeLoft extends Mx3dBaseObject {
|
|
|
15536
15769
|
/**
|
|
15537
15770
|
* 表示薄实体
|
|
15538
15771
|
*/
|
|
15539
|
-
export declare class MdGeMakeThickSolid extends
|
|
15772
|
+
export declare class MdGeMakeThickSolid extends MxOldMx3dBaseObject {
|
|
15540
15773
|
constructor(p?: object);
|
|
15541
15774
|
MakeThickSolidBySimple(theS: MdGeShape, theOffsetValue: number): void;
|
|
15542
15775
|
MakeThickSolidByJoin(S: MdGeShape, ClosingFaces: MdGeListOfShape, Offset: number, Tol: number, Mode?: MdGe.MxOffsetModeEnum, Intersection?: boolean, SelfInter?: boolean, Join?: MdGe.MxGAJoinTypeEnum, RemoveIntEdges?: boolean): void;
|
|
@@ -15548,7 +15781,7 @@ export declare class MdGeMakeThickSolid extends Mx3dBaseObject {
|
|
|
15548
15781
|
/**
|
|
15549
15782
|
* 表示抛物线
|
|
15550
15783
|
*/
|
|
15551
|
-
export declare class MdGeParab extends
|
|
15784
|
+
export declare class MdGeParab extends MxOldMx3dBaseObject {
|
|
15552
15785
|
constructor(p1?: MdGeCSYSR | object, p2?: number);
|
|
15553
15786
|
SetAxis(theA1: MdGeAxis): void;
|
|
15554
15787
|
SetFocal(theFocal: number): void;
|
|
@@ -15589,7 +15822,7 @@ export declare class MdGeParab extends Mx3dBaseObject {
|
|
|
15589
15822
|
/**
|
|
15590
15823
|
* 表示管道
|
|
15591
15824
|
*/
|
|
15592
|
-
export declare class MdGePipe extends
|
|
15825
|
+
export declare class MdGePipe extends MxOldMx3dBaseObject {
|
|
15593
15826
|
constructor(p1?: MdGeWire | object, p2?: MdGeShape, p3?: MdGe.MxGFTrihedron, p4?: boolean);
|
|
15594
15827
|
FirstShape(): MdGeShape;
|
|
15595
15828
|
LastShape(): MdGeShape;
|
|
@@ -15603,7 +15836,7 @@ export declare class MdGePipe extends Mx3dBaseObject {
|
|
|
15603
15836
|
/**
|
|
15604
15837
|
* 表示拟合B样条曲线
|
|
15605
15838
|
*/
|
|
15606
|
-
export declare class MdGePointsToBSpl extends
|
|
15839
|
+
export declare class MdGePointsToBSpl extends MxOldMx3dBaseObject {
|
|
15607
15840
|
constructor(p1?: MdGeArray1OfPnt | object, p2?: number, p3?: number, p4?: MdGe.MxGAShapeEnum, p5?: number);
|
|
15608
15841
|
Init(Points: MdGeArray1OfPnt, Parameters: MdGeArray1OfReal, DegMin?: number, DegMax?: number, Continuity?: MdGe.MxGAShapeEnum, Tol3D?: number): void;
|
|
15609
15842
|
Curve(): MdGeBSplineCurve;
|
|
@@ -15615,7 +15848,7 @@ export declare class MdGePointsToBSpl extends Mx3dBaseObject {
|
|
|
15615
15848
|
/**
|
|
15616
15849
|
* 表示拟合B样条曲面
|
|
15617
15850
|
*/
|
|
15618
|
-
export declare class MdGePointsToBSplSurface extends
|
|
15851
|
+
export declare class MdGePointsToBSplSurface extends MxOldMx3dBaseObject {
|
|
15619
15852
|
constructor(p1?: MdGeArray2OfPnt, p2?: number, p3?: number, p4?: MdGe.MxGAShapeEnum, p5?: number);
|
|
15620
15853
|
Init(Points: MdGeArray2OfPnt, DegMin?: number, DegMax?: number, Continuity?: MdGe.MxGAShapeEnum, Tol3D?: number): void;
|
|
15621
15854
|
Interpolate(p1: MdGeArray2OfPnt | MdGeArray2OfReal, p2?: boolean | number, p3?: number, p4?: number, p5?: number): void;
|
|
@@ -15628,7 +15861,7 @@ export declare class MdGePointsToBSplSurface extends Mx3dBaseObject {
|
|
|
15628
15861
|
/**
|
|
15629
15862
|
* 表示拉伸体
|
|
15630
15863
|
*/
|
|
15631
|
-
export declare class MdGePrism extends
|
|
15864
|
+
export declare class MdGePrism extends MxOldMx3dBaseObject {
|
|
15632
15865
|
constructor(p1?: MdGeShape | object, p2?: MdGeVec, p3?: boolean, p4?: boolean);
|
|
15633
15866
|
FirstShape(theShape?: MdGeShape): MdGeShape;
|
|
15634
15867
|
LastShape(theShape?: MdGeShape): MdGeShape;
|
|
@@ -15641,7 +15874,7 @@ export declare class MdGePrism extends Mx3dBaseObject {
|
|
|
15641
15874
|
/**
|
|
15642
15875
|
* 表示半径标注
|
|
15643
15876
|
*/
|
|
15644
|
-
export declare class MdGeRadiusDim extends
|
|
15877
|
+
export declare class MdGeRadiusDim extends MxOldMx3dBaseObject {
|
|
15645
15878
|
constructor(p1?: MdGeCircle | object, p2?: MdGePoint);
|
|
15646
15879
|
Circle(): MdGeCircle;
|
|
15647
15880
|
AnchorPoint(): MdGePoint;
|
|
@@ -15675,7 +15908,7 @@ export declare class MdGeRadiusDim extends Mx3dBaseObject {
|
|
|
15675
15908
|
/**
|
|
15676
15909
|
* 表示一个矩形
|
|
15677
15910
|
*/
|
|
15678
|
-
export declare class MdGeRect extends
|
|
15911
|
+
export declare class MdGeRect extends MxOldMx3dBaseObject {
|
|
15679
15912
|
constructor(p1?: MdGeCSYSR | object, p2?: number, p3?: number);
|
|
15680
15913
|
Position(): MdGeCSYSR;
|
|
15681
15914
|
SetPosition(thePosition: MdGeCSYSR): void;
|
|
@@ -15698,7 +15931,7 @@ export declare class MdGeRect extends Mx3dBaseObject {
|
|
|
15698
15931
|
/**
|
|
15699
15932
|
* 表示旋转体
|
|
15700
15933
|
*/
|
|
15701
|
-
export declare class MdGeRevol extends
|
|
15934
|
+
export declare class MdGeRevol extends MxOldMx3dBaseObject {
|
|
15702
15935
|
constructor(p1?: MdGeShape | object, p2?: MdGeAxis, p3?: number, p4?: boolean);
|
|
15703
15936
|
FirstShape(theShape?: MdGeShape): MdGeShape;
|
|
15704
15937
|
LastShape(theShape?: MdGeShape): MdGeShape;
|
|
@@ -15712,7 +15945,7 @@ export declare class MdGeRevol extends Mx3dBaseObject {
|
|
|
15712
15945
|
/**
|
|
15713
15946
|
* 表示一个球体
|
|
15714
15947
|
*/
|
|
15715
|
-
export declare class MdGeSphere extends
|
|
15948
|
+
export declare class MdGeSphere extends MxOldMx3dBaseObject {
|
|
15716
15949
|
constructor(p1?: MdGeCSYS | number | object, p2?: number, p3?: number, p4?: number);
|
|
15717
15950
|
SetLocation(theLoc: MdGePoint): void;
|
|
15718
15951
|
SetPosition(theA3: MdGeCSYS): void;
|
|
@@ -15752,7 +15985,7 @@ export declare class MdGeSphere extends Mx3dBaseObject {
|
|
|
15752
15985
|
/**
|
|
15753
15986
|
* 表示文字
|
|
15754
15987
|
*/
|
|
15755
|
-
export declare class MdGeText extends
|
|
15988
|
+
export declare class MdGeText extends MxOldMx3dBaseObject {
|
|
15756
15989
|
constructor(p1?: string | object, p2?: number, p3?: MdGeCSYSR);
|
|
15757
15990
|
SetText(theText: string): void;
|
|
15758
15991
|
Position(): MdGePoint;
|
|
@@ -15777,7 +16010,7 @@ export declare class MdGeText extends Mx3dBaseObject {
|
|
|
15777
16010
|
/**
|
|
15778
16011
|
* 表示文字标签
|
|
15779
16012
|
*/
|
|
15780
|
-
export declare class MdGeTextLabel extends
|
|
16013
|
+
export declare class MdGeTextLabel extends MxOldMx3dBaseObject {
|
|
15781
16014
|
constructor(p1?: string | object, p2?: number, p3?: MdGePoint);
|
|
15782
16015
|
SetColor(theColor: MdGeColor): void;
|
|
15783
16016
|
SetColor(theR: number, theG: number, theB: number): void;
|
|
@@ -15830,7 +16063,7 @@ export declare class MdGeTopo {
|
|
|
15830
16063
|
/**
|
|
15831
16064
|
* 表示圆环
|
|
15832
16065
|
*/
|
|
15833
|
-
export declare class MdGeTorus extends
|
|
16066
|
+
export declare class MdGeTorus extends MxOldMx3dBaseObject {
|
|
15834
16067
|
constructor(p1?: MdGeCSYS | object, p2?: number, p3?: number);
|
|
15835
16068
|
SetAxis(theA1: MdGeAxis): void;
|
|
15836
16069
|
SetLocation(theLoc: MdGePoint): void;
|
|
@@ -15874,7 +16107,7 @@ export declare class MdGeTorus extends Mx3dBaseObject {
|
|
|
15874
16107
|
/**
|
|
15875
16108
|
* 形状变换类
|
|
15876
16109
|
*/
|
|
15877
|
-
export declare class MdGeTransform extends
|
|
16110
|
+
export declare class MdGeTransform extends MxOldMx3dBaseObject {
|
|
15878
16111
|
constructor(p1?: MdGeTrsf | MdGeShape | object, p2?: MdGeTrsf, p3?: boolean, p4?: boolean);
|
|
15879
16112
|
Perform(theShape: MdGeShape, theCopyGeom?: boolean, theCopyMesh?: boolean): void;
|
|
15880
16113
|
ModifiedShape(S: MdGeShape): MdGeShape;
|
|
@@ -15886,7 +16119,7 @@ export declare class MdGeTransform extends Mx3dBaseObject {
|
|
|
15886
16119
|
/**
|
|
15887
16120
|
* 表示一个楔形
|
|
15888
16121
|
*/
|
|
15889
|
-
export declare class MdGeWedge extends
|
|
16122
|
+
export declare class MdGeWedge extends MxOldMx3dBaseObject {
|
|
15890
16123
|
constructor(p1?: number | MdGeCSYSR | object, p2?: number, p3?: number, p4?: number, p5?: number, p6?: number, p7?: number, p8?: number);
|
|
15891
16124
|
Shell(): MdGeShell;
|
|
15892
16125
|
Solid(): MdGeSolid;
|
|
@@ -15898,7 +16131,7 @@ export declare class MdGeWedge extends Mx3dBaseObject {
|
|
|
15898
16131
|
/**
|
|
15899
16132
|
* 表示几何曲面句柄
|
|
15900
16133
|
*/
|
|
15901
|
-
export declare class MdGeHGeomSurface extends
|
|
16134
|
+
export declare class MdGeHGeomSurface extends MxOldMx3dBaseObject {
|
|
15902
16135
|
constructor(p?: object);
|
|
15903
16136
|
DynamicType(): string;
|
|
15904
16137
|
}
|
|
@@ -15908,7 +16141,7 @@ export declare class MdGeHGeomSurface extends Mx3dBaseObject {
|
|
|
15908
16141
|
/**
|
|
15909
16142
|
* 表示几何平面句柄
|
|
15910
16143
|
*/
|
|
15911
|
-
export declare class MdGeHGeomPlane extends
|
|
16144
|
+
export declare class MdGeHGeomPlane extends MxOldMx3dBaseObject {
|
|
15912
16145
|
constructor(p?: object);
|
|
15913
16146
|
DownCast(hGeomSurface: MdGeHGeomSurface): MdGeHGeomPlane;
|
|
15914
16147
|
Axis(): MdGeAxis;
|
|
@@ -15953,7 +16186,7 @@ export declare class MdGeBRep {
|
|
|
15953
16186
|
openVrmlFromUrlByOCAF(theModelPath: string): string;
|
|
15954
16187
|
getLabelAttributes(theEntry: string): string;
|
|
15955
16188
|
refreshDocTree(): string;
|
|
15956
|
-
saveStepFile(fileName: string, theDoc:
|
|
16189
|
+
saveStepFile(fileName: string, theDoc: MxOldMx3dDbDocument): void;
|
|
15957
16190
|
ptCanvasToView(x: number, y: number): MdGePoint;
|
|
15958
16191
|
RemoveAllLights(): void;
|
|
15959
16192
|
AddLight(theLight: MdGeLight): void;
|
|
@@ -16002,7 +16235,7 @@ export declare class MdGeBRep {
|
|
|
16002
16235
|
/**
|
|
16003
16236
|
* 表示颜色
|
|
16004
16237
|
*/
|
|
16005
|
-
export declare class MdGeColor extends
|
|
16238
|
+
export declare class MdGeColor extends MxOldMx3dBaseObject {
|
|
16006
16239
|
constructor(p1?: MdGe.MxNameOfColor | number | object, p2?: number, p3?: number, p4?: MdGe.MxTypeOfColor);
|
|
16007
16240
|
Name(): MdGe.MxNameOfColor;
|
|
16008
16241
|
SetValues(p1: MdGe.MxNameOfColor | number, p2?: number, p3?: number, p4?: MdGe.MxTypeOfColor): void;
|
|
@@ -16027,7 +16260,7 @@ export declare class MdGeColor extends Mx3dBaseObject {
|
|
|
16027
16260
|
/**
|
|
16028
16261
|
* 表示材质
|
|
16029
16262
|
*/
|
|
16030
|
-
export declare class MdGeMaterialAspect extends
|
|
16263
|
+
export declare class MdGeMaterialAspect extends MxOldMx3dBaseObject {
|
|
16031
16264
|
constructor(p?: MdGe.MxNameOfMaterial | object);
|
|
16032
16265
|
NumberOfMaterials(): number;
|
|
16033
16266
|
MaterialFromName(theName: string): MdGe.MxNameOfMaterial;
|
|
@@ -16064,7 +16297,7 @@ export declare class MdGeMaterialAspect extends Mx3dBaseObject {
|
|
|
16064
16297
|
/**
|
|
16065
16298
|
* 表示形状序列集合
|
|
16066
16299
|
*/
|
|
16067
|
-
export declare class MdGeSequenceOfShape extends
|
|
16300
|
+
export declare class MdGeSequenceOfShape extends MxOldMx3dBaseObject {
|
|
16068
16301
|
constructor(p?: object);
|
|
16069
16302
|
begin(): MdGeSequenceIteratorOfSequenceOfShape;
|
|
16070
16303
|
end(): MdGeSequenceIteratorOfSequenceOfShape;
|
|
@@ -16088,7 +16321,7 @@ export declare class MdGeSequenceOfShape extends Mx3dBaseObject {
|
|
|
16088
16321
|
/**
|
|
16089
16322
|
* 表示形状序列迭代器
|
|
16090
16323
|
*/
|
|
16091
|
-
export declare class MdGeSequenceIteratorOfSequenceOfShape extends
|
|
16324
|
+
export declare class MdGeSequenceIteratorOfSequenceOfShape extends MxOldMx3dBaseObject {
|
|
16092
16325
|
constructor(p?: object);
|
|
16093
16326
|
More(): boolean;
|
|
16094
16327
|
Next(): void;
|
|
@@ -16098,7 +16331,7 @@ export declare class MdGeSequenceIteratorOfSequenceOfShape extends Mx3dBaseObjec
|
|
|
16098
16331
|
/**
|
|
16099
16332
|
* 表示由Edges链接形成Wires
|
|
16100
16333
|
*/
|
|
16101
|
-
export declare class MdGeMakeWires extends
|
|
16334
|
+
export declare class MdGeMakeWires extends MxOldMx3dBaseObject {
|
|
16102
16335
|
constructor(p?: object);
|
|
16103
16336
|
ConnectEdgesToWires(edges: MdGeSequenceOfShape, toler: number, shared: boolean): MdGeSequenceOfShape;
|
|
16104
16337
|
ConnectWiresToWires(iwires: MdGeSequenceOfShape, toler: number, shared: boolean): MdGeSequenceOfShape;
|
|
@@ -16106,7 +16339,7 @@ export declare class MdGeMakeWires extends Mx3dBaseObject {
|
|
|
16106
16339
|
/**
|
|
16107
16340
|
* 表示Wire生成Face
|
|
16108
16341
|
*/
|
|
16109
|
-
export declare class MdGeMakeFace extends
|
|
16342
|
+
export declare class MdGeMakeFace extends MxOldMx3dBaseObject {
|
|
16110
16343
|
constructor(p?: MdGeWire | object);
|
|
16111
16344
|
Add(wire: MdGeWire): void;
|
|
16112
16345
|
Face(): MdGeFace;
|
|
@@ -16114,14 +16347,14 @@ export declare class MdGeMakeFace extends Mx3dBaseObject {
|
|
|
16114
16347
|
/**
|
|
16115
16348
|
* 三点圆弧
|
|
16116
16349
|
*/
|
|
16117
|
-
export declare class MdGeMakeArcOfCircle extends
|
|
16350
|
+
export declare class MdGeMakeArcOfCircle extends MxOldMx3dBaseObject {
|
|
16118
16351
|
constructor(p1: MdGePoint | object, p2?: MdGePoint, p3?: MdGePoint);
|
|
16119
16352
|
Edge(): MdGeEdge;
|
|
16120
16353
|
}
|
|
16121
16354
|
/**
|
|
16122
16355
|
* 光照
|
|
16123
16356
|
*/
|
|
16124
|
-
export declare class MdGeLight extends
|
|
16357
|
+
export declare class MdGeLight extends MxOldMx3dBaseObject {
|
|
16125
16358
|
constructor(p: MdGe.MxTypeOfLightSource | object);
|
|
16126
16359
|
CopyFrom(theLight: MdGeLight): void;
|
|
16127
16360
|
Type(): MdGe.MxTypeOfLightSource;
|
|
@@ -16158,7 +16391,7 @@ export declare class MdGeLight extends Mx3dBaseObject {
|
|
|
16158
16391
|
Range(): number;
|
|
16159
16392
|
SetRange(theValue: number): void;
|
|
16160
16393
|
}
|
|
16161
|
-
export declare class MdGeArrowAspect extends
|
|
16394
|
+
export declare class MdGeArrowAspect extends MxOldMx3dBaseObject {
|
|
16162
16395
|
constructor(p1?: number | object, p2?: number);
|
|
16163
16396
|
SetAngle(anAngle: number): void;
|
|
16164
16397
|
Angle(): number;
|
|
@@ -16168,7 +16401,7 @@ export declare class MdGeArrowAspect extends Mx3dBaseObject {
|
|
|
16168
16401
|
IsZoomable(): boolean;
|
|
16169
16402
|
SetColor(theColor: MdGeColor): void;
|
|
16170
16403
|
}
|
|
16171
|
-
export declare class MdGeDimAspect extends
|
|
16404
|
+
export declare class MdGeDimAspect extends MxOldMx3dBaseObject {
|
|
16172
16405
|
constructor(p?: object);
|
|
16173
16406
|
LineAspect(): MdGeLineAspect;
|
|
16174
16407
|
SetLineAspect(theAspect: MdGeLineAspect): void;
|
|
@@ -16198,13 +16431,13 @@ export declare class MdGeDimAspect extends Mx3dBaseObject {
|
|
|
16198
16431
|
SetValueStringFormat(theFormat: string): void;
|
|
16199
16432
|
ValueStringFormat(): string;
|
|
16200
16433
|
}
|
|
16201
|
-
export declare class MdGeLineAspect extends
|
|
16434
|
+
export declare class MdGeLineAspect extends MxOldMx3dBaseObject {
|
|
16202
16435
|
constructor(p1: MdGeColor | object, p2?: MdGe.MxTypeOfLine, p3?: number);
|
|
16203
16436
|
SetColor(theColor: MdGeColor): void;
|
|
16204
16437
|
SetTypeOfLine(theType: MdGe.MxTypeOfLine): void;
|
|
16205
16438
|
SetWidth(theWidth: number): void;
|
|
16206
16439
|
}
|
|
16207
|
-
export declare class MdGeTextAspect extends
|
|
16440
|
+
export declare class MdGeTextAspect extends MxOldMx3dBaseObject {
|
|
16208
16441
|
constructor(p?: object);
|
|
16209
16442
|
SetColor(theColor: MdGeColor): void;
|
|
16210
16443
|
SetFont(theFont: string): void;
|
|
@@ -16219,7 +16452,7 @@ export declare class MdGeTextAspect extends Mx3dBaseObject {
|
|
|
16219
16452
|
VerticalJustification(): MdGe.MxVerticalTextAlignment;
|
|
16220
16453
|
MxTextPath(): MdGe.MxTextPath;
|
|
16221
16454
|
}
|
|
16222
|
-
export declare class MdGeApplication extends
|
|
16455
|
+
export declare class MdGeApplication extends MxOldMx3dBaseObject {
|
|
16223
16456
|
constructor(p?: object);
|
|
16224
16457
|
NbDocuments(): number;
|
|
16225
16458
|
GetDocument(index: number): MdGeDocument;
|
|
@@ -16227,7 +16460,7 @@ export declare class MdGeApplication extends Mx3dBaseObject {
|
|
|
16227
16460
|
InitDocument(aDoc: MdGeDocument): void;
|
|
16228
16461
|
Close(aDoc: MdGeDocument): void;
|
|
16229
16462
|
}
|
|
16230
|
-
export declare class MdGeDocument extends
|
|
16463
|
+
export declare class MdGeDocument extends MxOldMx3dBaseObject {
|
|
16231
16464
|
constructor(p: object);
|
|
16232
16465
|
IsSaved(): boolean;
|
|
16233
16466
|
IsChanged(): boolean;
|
|
@@ -16269,7 +16502,7 @@ export declare class MdGeDocument extends Mx3dBaseObject {
|
|
|
16269
16502
|
ModificationMode(): boolean;
|
|
16270
16503
|
BeforeClose(): void;
|
|
16271
16504
|
}
|
|
16272
|
-
export declare class MdGeDocShapeTool extends
|
|
16505
|
+
export declare class MdGeDocShapeTool extends MxOldMx3dBaseObject {
|
|
16273
16506
|
constructor(p: MdGeLabel | object);
|
|
16274
16507
|
IsTopLevel(L: MdGeLabel): boolean;
|
|
16275
16508
|
IsFree(L: MdGeLabel): boolean;
|
|
@@ -16311,7 +16544,7 @@ export declare class MdGeDocShapeTool extends Mx3dBaseObject {
|
|
|
16311
16544
|
SetLocation(theShapeLabel: MdGeLabel, theLoc: MdGeLocation): MdGeLabel;
|
|
16312
16545
|
Expand(Shape: MdGeLabel): boolean;
|
|
16313
16546
|
}
|
|
16314
|
-
export declare class MdGeDocColorTool extends
|
|
16547
|
+
export declare class MdGeDocColorTool extends MxOldMx3dBaseObject {
|
|
16315
16548
|
constructor(p: MdGeLabel | object);
|
|
16316
16549
|
AutoNaming(): boolean;
|
|
16317
16550
|
SetAutoNaming(theIsAutoNaming: boolean): void;
|
|
@@ -16332,7 +16565,7 @@ export declare class MdGeDocColorTool extends Mx3dBaseObject {
|
|
|
16332
16565
|
SetColorByLayer(shapeLabel: MdGeLabel, isColorByLayer: boolean): void;
|
|
16333
16566
|
ReverseChainsOfTreeNodes(): boolean;
|
|
16334
16567
|
}
|
|
16335
|
-
export declare class MdGeLabel extends
|
|
16568
|
+
export declare class MdGeLabel extends MxOldMx3dBaseObject {
|
|
16336
16569
|
constructor(p?: object);
|
|
16337
16570
|
Nullify(): void;
|
|
16338
16571
|
Tag(): number;
|
|
@@ -16358,7 +16591,7 @@ export declare class MdGeLabel extends Mx3dBaseObject {
|
|
|
16358
16591
|
HasLowerNode(otherLabel: MdGeLabel): boolean;
|
|
16359
16592
|
HasGreaterNode(otherLabel: MdGeLabel): boolean;
|
|
16360
16593
|
}
|
|
16361
|
-
export declare class MdGeLabelSequence extends
|
|
16594
|
+
export declare class MdGeLabelSequence extends MxOldMx3dBaseObject {
|
|
16362
16595
|
constructor(p?: object);
|
|
16363
16596
|
Size(): number;
|
|
16364
16597
|
Length(): number;
|
|
@@ -16377,7 +16610,7 @@ export declare class MdGeLabelSequence extends Mx3dBaseObject {
|
|
|
16377
16610
|
Value(theIndex: number): MdGeLabel;
|
|
16378
16611
|
SetValue(theIndex: number, theItem: MdGeLabel): void;
|
|
16379
16612
|
}
|
|
16380
|
-
export declare class MdGeLocation extends
|
|
16613
|
+
export declare class MdGeLocation extends MxOldMx3dBaseObject {
|
|
16381
16614
|
constructor(p?: MdGeTrsf | object);
|
|
16382
16615
|
IsIdentity(): boolean;
|
|
16383
16616
|
Identity(): void;
|
|
@@ -16394,7 +16627,7 @@ export declare class MdGeLocation extends Mx3dBaseObject {
|
|
|
16394
16627
|
Clear(): void;
|
|
16395
16628
|
ScalePrec(): number;
|
|
16396
16629
|
}
|
|
16397
|
-
export declare class MdGeLabelTree extends
|
|
16630
|
+
export declare class MdGeLabelTree extends MxOldMx3dBaseObject {
|
|
16398
16631
|
constructor(p?: object);
|
|
16399
16632
|
nodeSiblingPrevious(id: number): number;
|
|
16400
16633
|
nodeSiblingNext(id: number): number;
|
|
@@ -16409,16 +16642,16 @@ export declare class MdGeLabelTree extends Mx3dBaseObject {
|
|
|
16409
16642
|
clear(): void;
|
|
16410
16643
|
appendChild(parentId: number, data: MdGeLabel): number;
|
|
16411
16644
|
}
|
|
16412
|
-
export declare class MdGeDocReader extends
|
|
16645
|
+
export declare class MdGeDocReader extends MxOldMx3dBaseObject {
|
|
16413
16646
|
constructor(p: string | object);
|
|
16414
16647
|
ReadFile(filename: string): boolean;
|
|
16415
16648
|
ReadFile2(filename: string): boolean;
|
|
16416
16649
|
}
|
|
16417
|
-
export declare class MdGeDocWriter extends
|
|
16650
|
+
export declare class MdGeDocWriter extends MxOldMx3dBaseObject {
|
|
16418
16651
|
constructor(p: string | object);
|
|
16419
16652
|
WriteFile(theDoc: MdGeDocument, fileName: string): boolean;
|
|
16420
16653
|
}
|
|
16421
|
-
export declare class MdGeAisContext extends
|
|
16654
|
+
export declare class MdGeAisContext extends MxOldMx3dBaseObject {
|
|
16422
16655
|
constructor(p?: object);
|
|
16423
16656
|
DisplayStatus(anIobj: MdGeAisObject): MdGe.MxDisplayStatus;
|
|
16424
16657
|
IsDisplayed(aniobj: MdGeAisObject, aMode?: number): boolean;
|
|
@@ -16441,7 +16674,7 @@ export declare class MdGeAisContext extends Mx3dBaseObject {
|
|
|
16441
16674
|
RecomputeSelectionOnly(anIObj: MdGeAisObject): void;
|
|
16442
16675
|
Update(theIObj: MdGeAisObject, theUpdateViewer: boolean): void;
|
|
16443
16676
|
}
|
|
16444
|
-
export declare class MdGeAisObject extends
|
|
16677
|
+
export declare class MdGeAisObject extends MxOldMx3dBaseObject {
|
|
16445
16678
|
constructor(p?: object);
|
|
16446
16679
|
}
|
|
16447
16680
|
export declare class MdGeAisShape extends MdGeAisObject {
|
|
@@ -16465,7 +16698,7 @@ export declare class MdGeAisShape extends MdGeAisObject {
|
|
|
16465
16698
|
Material(): MdGe.MxNameOfMaterial;
|
|
16466
16699
|
Transparency(): number;
|
|
16467
16700
|
}
|
|
16468
|
-
export declare class MdGeBndBox extends
|
|
16701
|
+
export declare class MdGeBndBox extends MxOldMx3dBaseObject {
|
|
16469
16702
|
constructor(theMin?: MdGePoint | object, theMax?: MdGePoint);
|
|
16470
16703
|
SetWhole(): void;
|
|
16471
16704
|
SetVoid(): void;
|
|
@@ -16541,7 +16774,7 @@ export declare class MdGeAisTexturedShape extends MdGeAisObject {
|
|
|
16541
16774
|
SetShowTriangles(theToShowTriangles: boolean): void;
|
|
16542
16775
|
TextureModulate(): boolean;
|
|
16543
16776
|
}
|
|
16544
|
-
export declare class MdGeSpliter extends
|
|
16777
|
+
export declare class MdGeSpliter extends MxOldMx3dBaseObject {
|
|
16545
16778
|
constructor(p?: object);
|
|
16546
16779
|
SetTools(theLS: MdGeShape[]): void;
|
|
16547
16780
|
SetArguments(theLS: MdGeShape[]): void;
|
|
@@ -16550,40 +16783,40 @@ export declare class MdGeSpliter extends Mx3dBaseObject {
|
|
|
16550
16783
|
HasWarnings(): boolean;
|
|
16551
16784
|
Shapes(): MdGeShape[];
|
|
16552
16785
|
}
|
|
16553
|
-
export declare class
|
|
16786
|
+
export declare class MxOldMx3dApplication {
|
|
16554
16787
|
protected imp: any;
|
|
16555
16788
|
constructor(p?: object);
|
|
16556
|
-
getApp():
|
|
16557
|
-
getDoc(theDocName: string):
|
|
16558
|
-
newDoc(theDocName: string):
|
|
16789
|
+
getApp(): MxOldMx3dApplication;
|
|
16790
|
+
getDoc(theDocName: string): MxOldMx3dDbDocument;
|
|
16791
|
+
newDoc(theDocName: string): MxOldMx3dDbDocument;
|
|
16559
16792
|
}
|
|
16560
|
-
export declare class
|
|
16561
|
-
constructor(p1?:
|
|
16793
|
+
export declare class MxOldMx3dGeBndBox extends MxOldMx3dGeObject {
|
|
16794
|
+
constructor(p1?: MxOldMx3dGePoint | object, p2?: MxOldMx3dGePoint);
|
|
16562
16795
|
}
|
|
16563
|
-
export declare class
|
|
16796
|
+
export declare class MxOldMx3dGeColor extends MxOldMx3dBaseObject {
|
|
16564
16797
|
constructor(p1?: MdGe.MxNameOfColor | number | object, p2?: number, p3?: number);
|
|
16565
16798
|
}
|
|
16566
|
-
export declare class
|
|
16799
|
+
export declare class MxOldMx3dDbDocument extends MxOldMx3dDbObject {
|
|
16567
16800
|
constructor(p?: object);
|
|
16568
16801
|
read(theFilePath: string, theFormat: MdGe.MxFormat): boolean;
|
|
16569
|
-
getAccessLabel():
|
|
16570
|
-
getShapesLabel():
|
|
16571
|
-
getColorsLabel():
|
|
16572
|
-
getLayersLabel():
|
|
16573
|
-
addShapeLabel():
|
|
16574
|
-
getTopFreeLabels():
|
|
16802
|
+
getAccessLabel(): MxOldMx3dDbLabel;
|
|
16803
|
+
getShapesLabel(): MxOldMx3dDbLabel;
|
|
16804
|
+
getColorsLabel(): MxOldMx3dDbLabel;
|
|
16805
|
+
getLayersLabel(): MxOldMx3dDbLabel;
|
|
16806
|
+
addShapeLabel(): MxOldMx3dDbLabel;
|
|
16807
|
+
getTopFreeLabels(): MxOldMx3dLabelSequence;
|
|
16575
16808
|
getDocName(): string;
|
|
16576
16809
|
}
|
|
16577
|
-
export declare class
|
|
16810
|
+
export declare class MxOldMx3dDbLabel extends MxOldMx3dDbObject {
|
|
16578
16811
|
constructor(p?: object);
|
|
16579
|
-
setShape(theShape:
|
|
16580
|
-
getShape():
|
|
16812
|
+
setShape(theShape: MxOldMx3dShapeObject): boolean;
|
|
16813
|
+
getShape(): MxOldMx3dShapeObject;
|
|
16581
16814
|
hasChildLabel(): boolean;
|
|
16582
|
-
getChildLabels():
|
|
16815
|
+
getChildLabels(): MxOldMx3dLabelSequence;
|
|
16583
16816
|
hasParentLabel(): boolean;
|
|
16584
|
-
getParentLabel():
|
|
16585
|
-
addChildLabel():
|
|
16586
|
-
addChildShape(theShape:
|
|
16817
|
+
getParentLabel(): MxOldMx3dDbLabel;
|
|
16818
|
+
addChildLabel(): MxOldMx3dDbLabel;
|
|
16819
|
+
addChildShape(theShape: MxOldMx3dShapeObject): MxOldMx3dDbLabel;
|
|
16587
16820
|
isReference(): boolean;
|
|
16588
16821
|
isAssembly(): boolean;
|
|
16589
16822
|
isSimpleShape(): boolean;
|
|
@@ -16593,30 +16826,30 @@ export declare class Mx3dDbLabel extends Mx3dDbObject {
|
|
|
16593
16826
|
isComponent(): boolean;
|
|
16594
16827
|
isCompound(): boolean;
|
|
16595
16828
|
isSubShape(): boolean;
|
|
16596
|
-
getReferredLabel():
|
|
16597
|
-
addAssemblyLabel(theShape:
|
|
16598
|
-
getLocation():
|
|
16829
|
+
getReferredLabel(): MxOldMx3dDbLabel;
|
|
16830
|
+
addAssemblyLabel(theShape: MxOldMx3dShapeObject): MxOldMx3dDbLabel;
|
|
16831
|
+
getLocation(): MxOldMx3dGeLocation;
|
|
16599
16832
|
isSetColor(): boolean;
|
|
16600
|
-
setColor(theColor:
|
|
16601
|
-
getColor():
|
|
16833
|
+
setColor(theColor: MxOldMx3dGeColor): void;
|
|
16834
|
+
getColor(): MxOldMx3dGeColor;
|
|
16602
16835
|
getName(): string;
|
|
16603
16836
|
getEntry(): string;
|
|
16604
16837
|
getAttributeStr(): string;
|
|
16605
16838
|
}
|
|
16606
|
-
export declare class
|
|
16839
|
+
export declare class MxOldMx3dLabelSequence extends MxOldMx3dBaseObject {
|
|
16607
16840
|
constructor(p?: object);
|
|
16608
16841
|
}
|
|
16609
|
-
export declare class
|
|
16610
|
-
constructor(theLabelSequence:
|
|
16842
|
+
export declare class MxOldMx3dLabelSequenceIterator extends MxOldMx3dBaseObject {
|
|
16843
|
+
constructor(theLabelSequence: MxOldMx3dLabelSequence | object);
|
|
16611
16844
|
More(): boolean;
|
|
16612
16845
|
Next(): void;
|
|
16613
|
-
Value():
|
|
16846
|
+
Value(): MxOldMx3dDbLabel;
|
|
16614
16847
|
}
|
|
16615
|
-
export declare class
|
|
16848
|
+
export declare class MxOldMx3dGeLocation extends MxOldMx3dGeObject {
|
|
16616
16849
|
constructor(p?: object);
|
|
16617
|
-
Multiplied(theLocation:
|
|
16850
|
+
Multiplied(theLocation: MxOldMx3dGeLocation): MxOldMx3dGeLocation;
|
|
16618
16851
|
}
|
|
16619
|
-
export declare class
|
|
16852
|
+
export declare class MxOldMx3dGePoint extends MxOldMx3dGeObject {
|
|
16620
16853
|
constructor(p1?: number | object, p2?: number, p3?: number);
|
|
16621
16854
|
X(): number;
|
|
16622
16855
|
Y(): number;
|
|
@@ -16637,6 +16870,7 @@ export declare class MxApp3DType extends PubSub<{
|
|
|
16637
16870
|
eventRebuildTree: (tree_str: string) => void;
|
|
16638
16871
|
eventUpdatePointer: (pointer: number[]) => void;
|
|
16639
16872
|
eventUpdateViewSize: (pointer: number[]) => void;
|
|
16873
|
+
eventUpdateAttribute: (attrStr: string) => void;
|
|
16640
16874
|
}> {
|
|
16641
16875
|
init(imp: any): void;
|
|
16642
16876
|
imp?: any;
|
|
@@ -16656,6 +16890,10 @@ export interface MxCAD3DConfig {
|
|
|
16656
16890
|
updateCanvasSize?: () => void;
|
|
16657
16891
|
locateFile?: (fileName: string, base?: string | URL) => string;
|
|
16658
16892
|
}
|
|
16893
|
+
/**
|
|
16894
|
+
* 文档视图对象
|
|
16895
|
+
* 一个文档视图对象对应一个Canvas视图和一个文档
|
|
16896
|
+
*/
|
|
16659
16897
|
export declare class MxCAD3DObject {
|
|
16660
16898
|
private event;
|
|
16661
16899
|
private imp;
|
|
@@ -16663,54 +16901,163 @@ export declare class MxCAD3DObject {
|
|
|
16663
16901
|
private ctx;
|
|
16664
16902
|
private updateCanvasSizeFun;
|
|
16665
16903
|
constructor();
|
|
16666
|
-
|
|
16904
|
+
/**
|
|
16905
|
+
* 获取当前文档视图对象的文档
|
|
16906
|
+
* @returns 返回文档对象
|
|
16907
|
+
*/
|
|
16908
|
+
getDocument(): Mx3dDbDocument;
|
|
16909
|
+
/**
|
|
16910
|
+
* 移除所有
|
|
16911
|
+
* @param theUpdateView 移除后是否立即更新视图
|
|
16912
|
+
*/
|
|
16667
16913
|
removeAll(theUpdateView?: boolean): void;
|
|
16914
|
+
removeSelected(): void;
|
|
16915
|
+
/**
|
|
16916
|
+
* 更新显示
|
|
16917
|
+
* @param isUpAllData 是否更新所有数据
|
|
16918
|
+
* @param isRemoveAll 是否首先移除所有数据
|
|
16919
|
+
*/
|
|
16668
16920
|
update(isUpAllData?: boolean, isRemoveAll?: boolean): void;
|
|
16669
|
-
|
|
16921
|
+
/**
|
|
16922
|
+
* 设置视图投影模式
|
|
16923
|
+
* @param theProjection 投影模式
|
|
16924
|
+
*/
|
|
16670
16925
|
setProjectionType(theProjection: MdGe.MxCameraProjection): void;
|
|
16926
|
+
/**
|
|
16927
|
+
* 显示中心坐标轴
|
|
16928
|
+
* @param theToShow true显示,false不显示
|
|
16929
|
+
*/
|
|
16671
16930
|
showCenterTrihedron(theToShow: boolean): void;
|
|
16931
|
+
/**
|
|
16932
|
+
* 视图中的所有对象缩放至适应整个视图
|
|
16933
|
+
* @param theAuto 自动缩放
|
|
16934
|
+
*/
|
|
16672
16935
|
fitAllObjects(theAuto: boolean): void;
|
|
16936
|
+
/**
|
|
16937
|
+
* 开启/关闭X轴剖切面
|
|
16938
|
+
* @param theToEnabled 是否开启X轴剖切面
|
|
16939
|
+
*/
|
|
16673
16940
|
enableXClipPlane(theToEnabled: boolean): void;
|
|
16941
|
+
/**
|
|
16942
|
+
* 设置X轴剖切面的位置
|
|
16943
|
+
* @param thePosition 剖切平面相对于世界坐标系原点的位置
|
|
16944
|
+
*/
|
|
16674
16945
|
setXClipPlaneXPosition(thePosition: number): void;
|
|
16946
|
+
/**
|
|
16947
|
+
* 翻转X轴剖切面
|
|
16948
|
+
*/
|
|
16675
16949
|
setXClipPlaneReverse(): void;
|
|
16950
|
+
/**
|
|
16951
|
+
* 开启/关闭Y轴剖切面
|
|
16952
|
+
* @param theToEnabled 是否开启Y轴剖切面
|
|
16953
|
+
*/
|
|
16676
16954
|
enableYClipPlane(theToEnabled: boolean): void;
|
|
16955
|
+
/**
|
|
16956
|
+
* 设置Y轴剖切面的位置
|
|
16957
|
+
* @param thePosition 剖切平面相对于世界坐标系原点的位置
|
|
16958
|
+
*/
|
|
16677
16959
|
setYClipPlaneYPosition(thePosition: number): void;
|
|
16960
|
+
/**
|
|
16961
|
+
* 翻转Y轴剖切面
|
|
16962
|
+
*/
|
|
16678
16963
|
setYClipPlaneReverse(): void;
|
|
16964
|
+
/**
|
|
16965
|
+
* 开启/关闭Z轴剖切面
|
|
16966
|
+
* @param theToEnabled 是否开启Z轴剖切面
|
|
16967
|
+
*/
|
|
16679
16968
|
enableZClipPlane(theToEnabled: boolean): void;
|
|
16969
|
+
/**
|
|
16970
|
+
* 设置Z轴剖切面的位置
|
|
16971
|
+
* @param thePosition 剖切平面相对于世界坐标系原点的位置
|
|
16972
|
+
*/
|
|
16680
16973
|
setZClipPlaneZPosition(thePosition: number): void;
|
|
16974
|
+
/**
|
|
16975
|
+
* 翻转Z轴剖切面
|
|
16976
|
+
*/
|
|
16681
16977
|
setZClipPlaneReverse(): void;
|
|
16978
|
+
/**
|
|
16979
|
+
* 开启/关闭用户自定义剖切面
|
|
16980
|
+
* @param theToEnabled 是否开启用户自定义剖切面
|
|
16981
|
+
*/
|
|
16682
16982
|
enableCustomClipPlane(theToEnabled: boolean): void;
|
|
16983
|
+
/**
|
|
16984
|
+
* 设置用户自定义剖切面的位置
|
|
16985
|
+
* @param thePosition 剖切平面相对于世界坐标系原点的位置
|
|
16986
|
+
*/
|
|
16683
16987
|
setCustomClipPlanePosition(thePosition: number): void;
|
|
16988
|
+
/**
|
|
16989
|
+
* 翻转用户自定义剖切面
|
|
16990
|
+
*/
|
|
16684
16991
|
setCustomClipPlaneReverse(): void;
|
|
16992
|
+
/**
|
|
16993
|
+
* 设置用户自定义剖切面的法向
|
|
16994
|
+
* @param x 法向的x分量
|
|
16995
|
+
* @param y 法向的y分量
|
|
16996
|
+
* @param z 法向的z分量
|
|
16997
|
+
*/
|
|
16685
16998
|
setCustomClipPlaneDirection(x: number, y: number, z: number): void;
|
|
16686
|
-
|
|
16687
|
-
|
|
16999
|
+
/**
|
|
17000
|
+
* 显示文字符号
|
|
17001
|
+
* @param theSymbol 文字符号对象
|
|
17002
|
+
*/
|
|
17003
|
+
displaySymbolText(theSymbol: Mx3dSymbolText): void;
|
|
17004
|
+
/**
|
|
17005
|
+
* 显示标注符号
|
|
17006
|
+
* @param theDimension 标注符号对象
|
|
17007
|
+
*/
|
|
17008
|
+
displayDimension(theDimension: Mx3dDimObject): void;
|
|
17009
|
+
/**
|
|
17010
|
+
* 为当前选中对象设置纹理贴图
|
|
17011
|
+
* @param theFileName 图片在文件系统中的完整路径
|
|
17012
|
+
*/
|
|
16688
17013
|
addModelTexture(theFileName: string): void;
|
|
17014
|
+
/**
|
|
17015
|
+
* 移除当前选择对象的纹理贴图
|
|
17016
|
+
*/
|
|
16689
17017
|
removeModelTexture(): void;
|
|
16690
|
-
|
|
17018
|
+
/**
|
|
17019
|
+
* 设置渐变背景色
|
|
17020
|
+
* @param theColor1 颜色对象1
|
|
17021
|
+
* @param theColor2 颜色对象2
|
|
17022
|
+
* @param theMethod 渐变方式
|
|
17023
|
+
*/
|
|
17024
|
+
setGradientBgColor(theColor1: Mx3dGeColor, theColor2: Mx3dGeColor, theMethod: MdGe.MxGradientFillMethod): void;
|
|
17025
|
+
/**
|
|
17026
|
+
* 设置视图方向
|
|
17027
|
+
* @param theOrientation 视图方向
|
|
17028
|
+
* @param theIsYup 是否Y轴向上
|
|
17029
|
+
*/
|
|
16691
17030
|
setProj(theOrientation: MdGe.MxV3dTypeOfOrientation, theIsYup: boolean): void;
|
|
16692
|
-
|
|
17031
|
+
/**
|
|
17032
|
+
* 设置当前选中对象的颜色
|
|
17033
|
+
* @param color 颜色
|
|
17034
|
+
*/
|
|
17035
|
+
setSelectedColor(color: Mx3dGeColor): void;
|
|
17036
|
+
setDisplayMode(theMode: MdGe.MxGlobalDisplayMode): void;
|
|
16693
17037
|
getImp(): any;
|
|
16694
17038
|
getCtx(): any;
|
|
16695
17039
|
updateCanvasSize(): void;
|
|
16696
17040
|
init(imp: any): void;
|
|
16697
|
-
open3DFile(file: File): void;
|
|
16698
17041
|
on(name: "init", fun: () => void): void;
|
|
16699
17042
|
off(name: string, fun?: Function): void;
|
|
16700
17043
|
callEvent(sEventName: string, param?: any): boolean;
|
|
17044
|
+
/**
|
|
17045
|
+
* 初始化当前文档视图对象
|
|
17046
|
+
* @param config 初始化需要的相关配置,canvas可以是选择器字符串,也可以是canvas对象
|
|
17047
|
+
*/
|
|
16701
17048
|
create(config: MxCAD3DConfig): void;
|
|
16702
17049
|
}
|
|
16703
|
-
export type UniPoint =
|
|
17050
|
+
export type UniPoint = Mx3dGePoint | [
|
|
16704
17051
|
theX: number,
|
|
16705
17052
|
theY: number,
|
|
16706
17053
|
theZ: number
|
|
16707
17054
|
];
|
|
16708
|
-
export type UniDir =
|
|
17055
|
+
export type UniDir = Mx3dGeDir | [
|
|
16709
17056
|
theX: number,
|
|
16710
17057
|
theY: number,
|
|
16711
17058
|
theZ: number
|
|
16712
17059
|
];
|
|
16713
|
-
export type UniVec =
|
|
17060
|
+
export type UniVec = Mx3dGeVec | [
|
|
16714
17061
|
theX: number,
|
|
16715
17062
|
theY: number,
|
|
16716
17063
|
theZ: number
|
|
@@ -16718,7 +17065,7 @@ export type UniVec = MxNewMx3dGeVec | [
|
|
|
16718
17065
|
/**
|
|
16719
17066
|
* 应用程序类,全局单实例
|
|
16720
17067
|
*/
|
|
16721
|
-
export declare class
|
|
17068
|
+
export declare class Mx3dApplication {
|
|
16722
17069
|
protected imp: any;
|
|
16723
17070
|
constructor();
|
|
16724
17071
|
/**
|
|
@@ -16726,17 +17073,17 @@ export declare class MxNewMx3dApplication {
|
|
|
16726
17073
|
* @param theCanvasSelector canvas的CSS选择器字符串
|
|
16727
17074
|
* @returns 返回一个视图对象
|
|
16728
17075
|
*/
|
|
16729
|
-
createView(theCanvasSelector: string):
|
|
17076
|
+
createView(theCanvasSelector: string): Mx3dView;
|
|
16730
17077
|
/**
|
|
16731
17078
|
* 获取当前视图对象
|
|
16732
17079
|
* @returns 返回当前的视图对象
|
|
16733
17080
|
*/
|
|
16734
|
-
getCurrentActiveView():
|
|
17081
|
+
getCurrentActiveView(): Mx3dView;
|
|
16735
17082
|
}
|
|
16736
17083
|
/**
|
|
16737
17084
|
* 管理对象生命周期的基类
|
|
16738
17085
|
*/
|
|
16739
|
-
export declare class
|
|
17086
|
+
export declare class Mx3dBaseObject {
|
|
16740
17087
|
protected imp: any;
|
|
16741
17088
|
constructor(imp?: any);
|
|
16742
17089
|
getImp(): any;
|
|
@@ -16745,49 +17092,49 @@ export declare class MxNewMx3dBaseObject {
|
|
|
16745
17092
|
/**
|
|
16746
17093
|
* 尺寸标准的基类
|
|
16747
17094
|
*/
|
|
16748
|
-
export declare class
|
|
17095
|
+
export declare class Mx3dDimObject extends Mx3dBaseObject {
|
|
16749
17096
|
constructor(p?: object);
|
|
16750
17097
|
}
|
|
16751
17098
|
/**
|
|
16752
17099
|
* 符号的基类
|
|
16753
17100
|
*/
|
|
16754
|
-
export declare class
|
|
17101
|
+
export declare class Mx3dSymbolObject extends Mx3dBaseObject {
|
|
16755
17102
|
constructor(p?: object);
|
|
16756
17103
|
}
|
|
16757
17104
|
/**
|
|
16758
17105
|
* 模型算法的基类
|
|
16759
17106
|
*/
|
|
16760
|
-
export declare class
|
|
17107
|
+
export declare class Mx3dAlgoObject extends Mx3dBaseObject {
|
|
16761
17108
|
constructor(p?: object);
|
|
16762
17109
|
}
|
|
16763
17110
|
/**
|
|
16764
17111
|
* 样式基类
|
|
16765
17112
|
*/
|
|
16766
|
-
export declare class
|
|
17113
|
+
export declare class Mx3dAspectObject extends Mx3dBaseObject {
|
|
16767
17114
|
constructor(p?: object);
|
|
16768
17115
|
}
|
|
16769
17116
|
/**
|
|
16770
17117
|
* 数学几何基类
|
|
16771
17118
|
*/
|
|
16772
|
-
export declare class
|
|
17119
|
+
export declare class Mx3dGeObject extends Mx3dBaseObject {
|
|
16773
17120
|
constructor(p?: object);
|
|
16774
17121
|
}
|
|
16775
17122
|
/**
|
|
16776
17123
|
* 曲线基类
|
|
16777
17124
|
*/
|
|
16778
|
-
export declare class
|
|
17125
|
+
export declare class Mx3dGeCurve extends Mx3dGeObject {
|
|
16779
17126
|
constructor(p?: object);
|
|
16780
17127
|
}
|
|
16781
17128
|
/**
|
|
16782
17129
|
* 圆锥曲线基类
|
|
16783
17130
|
*/
|
|
16784
|
-
export declare class
|
|
17131
|
+
export declare class Mx3dGeConic extends Mx3dGeCurve {
|
|
16785
17132
|
constructor(p?: object);
|
|
16786
17133
|
}
|
|
16787
17134
|
/**
|
|
16788
|
-
*
|
|
17135
|
+
* 非参数几何点
|
|
16789
17136
|
*/
|
|
16790
|
-
export declare class
|
|
17137
|
+
export declare class Mx3dGePoint extends Mx3dGeObject {
|
|
16791
17138
|
constructor();
|
|
16792
17139
|
constructor(theXYZ: [
|
|
16793
17140
|
theX: number,
|
|
@@ -16802,41 +17149,41 @@ export declare class MxNewMx3dGePoint extends MxNewMx3dGeObject {
|
|
|
16802
17149
|
setY(theY: number): void;
|
|
16803
17150
|
setZ(theZ: number): void;
|
|
16804
17151
|
setXYZ(theX: number, theY: number, theZ: number): void;
|
|
16805
|
-
Vertex():
|
|
17152
|
+
Vertex(): Mx3dShapeVertex;
|
|
16806
17153
|
}
|
|
16807
|
-
export declare class
|
|
17154
|
+
export declare class Mx3dGeTrsf extends Mx3dGeObject {
|
|
16808
17155
|
constructor();
|
|
16809
17156
|
SetMirrorByPoint(point: UniPoint): void;
|
|
16810
|
-
SetMirrorByAxis(axis:
|
|
16811
|
-
SetMirrorByCSYSR(csysr:
|
|
16812
|
-
SetRotation(axis:
|
|
17157
|
+
SetMirrorByAxis(axis: Mx3dGeAxis): void;
|
|
17158
|
+
SetMirrorByCSYSR(csysr: Mx3dGeCSYSR): void;
|
|
17159
|
+
SetRotation(axis: Mx3dGeAxis, ang: number): void;
|
|
16813
17160
|
SetScale(point: UniPoint, s: number): void;
|
|
16814
17161
|
SetTranslationByVec(vec: UniVec): void;
|
|
16815
17162
|
SetTranslationBy2Points(point1: UniPoint, point2: UniPoint): void;
|
|
16816
|
-
SetTranslationPart(vec:
|
|
17163
|
+
SetTranslationPart(vec: Mx3dGeVec): void;
|
|
16817
17164
|
SetScaleFactor(s: number): void;
|
|
16818
17165
|
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;
|
|
16819
17166
|
IsNegative(): number;
|
|
16820
17167
|
ScaleFactor(): number;
|
|
16821
17168
|
Value(row: number, col: number): number;
|
|
16822
17169
|
Invert(): void;
|
|
16823
|
-
Inverted():
|
|
16824
|
-
Multiplied(t:
|
|
16825
|
-
Multiply(t:
|
|
16826
|
-
PreMultiply(t:
|
|
17170
|
+
Inverted(): Mx3dGeTrsf;
|
|
17171
|
+
Multiplied(t: Mx3dGeTrsf): Mx3dGeTrsf;
|
|
17172
|
+
Multiply(t: Mx3dGeTrsf): void;
|
|
17173
|
+
PreMultiply(t: Mx3dGeTrsf): void;
|
|
16827
17174
|
Power(n: number): void;
|
|
16828
|
-
Powered(n: number):
|
|
17175
|
+
Powered(n: number): Mx3dGeTrsf;
|
|
16829
17176
|
Transforms(x: number, y: number, z: number): void;
|
|
16830
17177
|
}
|
|
16831
|
-
export declare class
|
|
17178
|
+
export declare class Mx3dGeAxis extends Mx3dGeObject {
|
|
16832
17179
|
constructor();
|
|
16833
17180
|
constructor(theLoc: UniPoint, theDir: UniDir);
|
|
16834
|
-
Direction():
|
|
16835
|
-
Location():
|
|
16836
|
-
SetDirection(theDir:
|
|
17181
|
+
Direction(): Mx3dGeDir;
|
|
17182
|
+
Location(): Mx3dGePoint;
|
|
17183
|
+
SetDirection(theDir: Mx3dGeDir): void;
|
|
16837
17184
|
SetLocation(theLoc: UniPoint): void;
|
|
16838
17185
|
}
|
|
16839
|
-
export declare class
|
|
17186
|
+
export declare class Mx3dGeDir extends Mx3dGeObject {
|
|
16840
17187
|
constructor();
|
|
16841
17188
|
constructor(theXv: number, theYv: number, theZv: number);
|
|
16842
17189
|
X(): number;
|
|
@@ -16846,119 +17193,119 @@ export declare class MxNewMx3dGeDir extends MxNewMx3dGeObject {
|
|
|
16846
17193
|
SetY(theY: number): void;
|
|
16847
17194
|
SetZ(theZ: number): void;
|
|
16848
17195
|
SetXYZ(theXv: number, theYv: number, theZv: number): void;
|
|
16849
|
-
IsEqual(theOther:
|
|
16850
|
-
IsNormal(theOther:
|
|
16851
|
-
IsOpposite(theOther:
|
|
16852
|
-
IsParallel(theOther:
|
|
16853
|
-
Angle(theOther:
|
|
16854
|
-
AngleWithRef(theOther:
|
|
16855
|
-
Cross(theRight:
|
|
16856
|
-
Crossed(theRight:
|
|
16857
|
-
CrossCross(theV1:
|
|
16858
|
-
CrossCrossed(theV1:
|
|
16859
|
-
Dot(theOther:
|
|
16860
|
-
DotCross(theV1:
|
|
17196
|
+
IsEqual(theOther: Mx3dGeDir, theAngularTolerance: number): boolean;
|
|
17197
|
+
IsNormal(theOther: Mx3dGeDir, theAngularTolerance: number): boolean;
|
|
17198
|
+
IsOpposite(theOther: Mx3dGeDir, theAngularTolerance: number): boolean;
|
|
17199
|
+
IsParallel(theOther: Mx3dGeDir, theAngularTolerance: number): boolean;
|
|
17200
|
+
Angle(theOther: Mx3dGeDir): number;
|
|
17201
|
+
AngleWithRef(theOther: Mx3dGeDir, theVRef: Mx3dGeDir): number;
|
|
17202
|
+
Cross(theRight: Mx3dGeDir): void;
|
|
17203
|
+
Crossed(theRight: Mx3dGeDir): Mx3dGeDir;
|
|
17204
|
+
CrossCross(theV1: Mx3dGeDir, theV2: Mx3dGeDir): void;
|
|
17205
|
+
CrossCrossed(theV1: Mx3dGeDir, theV2: Mx3dGeDir): Mx3dGeDir;
|
|
17206
|
+
Dot(theOther: Mx3dGeDir): number;
|
|
17207
|
+
DotCross(theV1: Mx3dGeDir, theV2: Mx3dGeDir): number;
|
|
16861
17208
|
Reverse(): void;
|
|
16862
|
-
Reversed():
|
|
16863
|
-
MirrorByVec(theV:
|
|
16864
|
-
MirroredByVec(theV:
|
|
16865
|
-
MirrorByAxis(theA1:
|
|
16866
|
-
MirroredByAxis(theA1:
|
|
16867
|
-
MirrorByCSYSR(theA2:
|
|
16868
|
-
MirroredByCSYSR(theA2:
|
|
16869
|
-
Rotate(theA1:
|
|
16870
|
-
Rotated(theA1:
|
|
16871
|
-
Transform(theT:
|
|
16872
|
-
Transformed(theT:
|
|
16873
|
-
}
|
|
16874
|
-
export declare class
|
|
17209
|
+
Reversed(): Mx3dGeDir;
|
|
17210
|
+
MirrorByVec(theV: Mx3dGeDir): void;
|
|
17211
|
+
MirroredByVec(theV: Mx3dGeDir): Mx3dGeDir;
|
|
17212
|
+
MirrorByAxis(theA1: Mx3dGeAxis): void;
|
|
17213
|
+
MirroredByAxis(theA1: Mx3dGeAxis): Mx3dGeDir;
|
|
17214
|
+
MirrorByCSYSR(theA2: Mx3dGeCSYSR): void;
|
|
17215
|
+
MirroredByCSYSR(theA2: Mx3dGeCSYSR): Mx3dGeDir;
|
|
17216
|
+
Rotate(theA1: Mx3dGeAxis, theAng: number): void;
|
|
17217
|
+
Rotated(theA1: Mx3dGeAxis, theAng: number): Mx3dGeDir;
|
|
17218
|
+
Transform(theT: Mx3dGeTrsf): void;
|
|
17219
|
+
Transformed(theT: Mx3dGeTrsf): Mx3dGeDir;
|
|
17220
|
+
}
|
|
17221
|
+
export declare class Mx3dGeEllipse extends Mx3dGeObject {
|
|
16875
17222
|
constructor();
|
|
16876
|
-
constructor(theA2:
|
|
16877
|
-
SetAxis(theA1:
|
|
16878
|
-
SetLocation(theP:
|
|
17223
|
+
constructor(theA2: Mx3dGeCSYSR, theMajorRadius: number, theMinorRadius: number);
|
|
17224
|
+
SetAxis(theA1: Mx3dGeAxis): void;
|
|
17225
|
+
SetLocation(theP: Mx3dGePoint): void;
|
|
16879
17226
|
SetMajorRadius(theMajorRadius: number): void;
|
|
16880
17227
|
SetMinorRadius(theMinorRadius: number): void;
|
|
16881
|
-
SetPosition(theA2:
|
|
17228
|
+
SetPosition(theA2: Mx3dGeCSYSR): void;
|
|
16882
17229
|
Area(): number;
|
|
16883
|
-
Axis():
|
|
16884
|
-
Directrix1():
|
|
16885
|
-
Directrix2():
|
|
17230
|
+
Axis(): Mx3dGeAxis;
|
|
17231
|
+
Directrix1(): Mx3dGeAxis;
|
|
17232
|
+
Directrix2(): Mx3dGeAxis;
|
|
16886
17233
|
Eccentricity(): number;
|
|
16887
17234
|
Focal(): number;
|
|
16888
|
-
Focus1():
|
|
16889
|
-
Focus2():
|
|
16890
|
-
Location():
|
|
17235
|
+
Focus1(): Mx3dGePoint;
|
|
17236
|
+
Focus2(): Mx3dGePoint;
|
|
17237
|
+
Location(): Mx3dGePoint;
|
|
16891
17238
|
MajorRadius(): number;
|
|
16892
17239
|
MinorRadius(): number;
|
|
16893
17240
|
Parameter(): number;
|
|
16894
|
-
Position():
|
|
16895
|
-
XAxis():
|
|
16896
|
-
YAxis():
|
|
16897
|
-
MirrorByPoint(theP:
|
|
16898
|
-
MirroredByPoint(theP:
|
|
16899
|
-
MirrorByAxis(theA1:
|
|
16900
|
-
MirroredByAxis(theA1:
|
|
16901
|
-
MirrorByCSYSR(theA2:
|
|
16902
|
-
MirroredByCSYSR(theA2:
|
|
16903
|
-
Rotate(theA1:
|
|
16904
|
-
Rotated(theA1:
|
|
16905
|
-
Scale(theP:
|
|
16906
|
-
Scaled(theP:
|
|
16907
|
-
Transform(theT:
|
|
16908
|
-
Transformed(theT:
|
|
16909
|
-
TranslateByVec(theV:
|
|
16910
|
-
TranslatedByVec(theV:
|
|
16911
|
-
TranslateBy2Points(theP1:
|
|
16912
|
-
TranslatedBy2Points(theP1:
|
|
16913
|
-
}
|
|
16914
|
-
export declare class
|
|
17241
|
+
Position(): Mx3dGeCSYSR;
|
|
17242
|
+
XAxis(): Mx3dGeAxis;
|
|
17243
|
+
YAxis(): Mx3dGeAxis;
|
|
17244
|
+
MirrorByPoint(theP: Mx3dGePoint): void;
|
|
17245
|
+
MirroredByPoint(theP: Mx3dGePoint): Mx3dGeEllipse;
|
|
17246
|
+
MirrorByAxis(theA1: Mx3dGeAxis): void;
|
|
17247
|
+
MirroredByAxis(theA1: Mx3dGeAxis): Mx3dGeEllipse;
|
|
17248
|
+
MirrorByCSYSR(theA2: Mx3dGeCSYSR): void;
|
|
17249
|
+
MirroredByCSYSR(theA2: Mx3dGeCSYSR): Mx3dGeEllipse;
|
|
17250
|
+
Rotate(theA1: Mx3dGeAxis, theAng: number): void;
|
|
17251
|
+
Rotated(theA1: Mx3dGeAxis, theAng: number): Mx3dGeEllipse;
|
|
17252
|
+
Scale(theP: Mx3dGePoint, theS: number): void;
|
|
17253
|
+
Scaled(theP: Mx3dGePoint, theS: number): Mx3dGeEllipse;
|
|
17254
|
+
Transform(theT: Mx3dGeTrsf): void;
|
|
17255
|
+
Transformed(theT: Mx3dGeTrsf): Mx3dGeEllipse;
|
|
17256
|
+
TranslateByVec(theV: Mx3dGeVec): void;
|
|
17257
|
+
TranslatedByVec(theV: Mx3dGeVec): Mx3dGeEllipse;
|
|
17258
|
+
TranslateBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): void;
|
|
17259
|
+
TranslatedBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): Mx3dGeEllipse;
|
|
17260
|
+
}
|
|
17261
|
+
export declare class Mx3dGeHyperbola extends Mx3dGeObject {
|
|
16915
17262
|
constructor();
|
|
16916
|
-
constructor(theA2:
|
|
16917
|
-
SetAxis(theA1:
|
|
16918
|
-
SetLocation(theP:
|
|
17263
|
+
constructor(theA2: Mx3dGeCSYSR, theMajorRadius: number, theMinorRadius: number);
|
|
17264
|
+
SetAxis(theA1: Mx3dGeAxis): void;
|
|
17265
|
+
SetLocation(theP: Mx3dGePoint): void;
|
|
16919
17266
|
SetMajorRadius(theMajorRadius: number): void;
|
|
16920
17267
|
SetMinorRadius(theMinorRadius: number): void;
|
|
16921
|
-
SetPosition(theA2:
|
|
16922
|
-
Asymptote1():
|
|
16923
|
-
Asymptote2():
|
|
16924
|
-
Axis():
|
|
16925
|
-
ConjugateBranch1():
|
|
16926
|
-
ConjugateBranch2():
|
|
16927
|
-
Directrix1():
|
|
16928
|
-
Directrix2():
|
|
17268
|
+
SetPosition(theA2: Mx3dGeCSYSR): void;
|
|
17269
|
+
Asymptote1(): Mx3dGeAxis;
|
|
17270
|
+
Asymptote2(): Mx3dGeAxis;
|
|
17271
|
+
Axis(): Mx3dGeAxis;
|
|
17272
|
+
ConjugateBranch1(): Mx3dGeHyperbola;
|
|
17273
|
+
ConjugateBranch2(): Mx3dGeHyperbola;
|
|
17274
|
+
Directrix1(): Mx3dGeAxis;
|
|
17275
|
+
Directrix2(): Mx3dGeAxis;
|
|
16929
17276
|
Eccentricity(): number;
|
|
16930
17277
|
Focal(): number;
|
|
16931
|
-
Focus1():
|
|
16932
|
-
Focus2():
|
|
16933
|
-
Location():
|
|
17278
|
+
Focus1(): Mx3dGePoint;
|
|
17279
|
+
Focus2(): Mx3dGePoint;
|
|
17280
|
+
Location(): Mx3dGePoint;
|
|
16934
17281
|
MajorRadius(): number;
|
|
16935
17282
|
MinorRadius(): number;
|
|
16936
|
-
OtherBranch():
|
|
17283
|
+
OtherBranch(): Mx3dGeHyperbola;
|
|
16937
17284
|
Parameter(): number;
|
|
16938
|
-
Position():
|
|
16939
|
-
XAxis():
|
|
16940
|
-
YAxis():
|
|
16941
|
-
MirrorByPoint(theP:
|
|
16942
|
-
MirroredByPoint(theP:
|
|
16943
|
-
MirrorByAxis(theA1:
|
|
16944
|
-
MirroredByAxis(theA1:
|
|
16945
|
-
MirrorByCSYSR(theA2:
|
|
16946
|
-
MirroredByCSYSR(theA2:
|
|
16947
|
-
Rotate(theA1:
|
|
16948
|
-
Rotated(theA1:
|
|
16949
|
-
Scale(theP:
|
|
16950
|
-
Scaled(theP:
|
|
16951
|
-
Transform(theT:
|
|
16952
|
-
Transformed(theT:
|
|
16953
|
-
TranslateByVec(theV:
|
|
16954
|
-
TranslatedByVec(theV:
|
|
16955
|
-
TranslateBy2Points(theP1:
|
|
16956
|
-
TranslatedBy2Points(theP1:
|
|
16957
|
-
}
|
|
16958
|
-
export declare class
|
|
17285
|
+
Position(): Mx3dGeCSYSR;
|
|
17286
|
+
XAxis(): Mx3dGeAxis;
|
|
17287
|
+
YAxis(): Mx3dGeAxis;
|
|
17288
|
+
MirrorByPoint(theP: Mx3dGePoint): void;
|
|
17289
|
+
MirroredByPoint(theP: Mx3dGePoint): Mx3dGeHyperbola;
|
|
17290
|
+
MirrorByAxis(theA1: Mx3dGeAxis): void;
|
|
17291
|
+
MirroredByAxis(theA1: Mx3dGeAxis): Mx3dGeHyperbola;
|
|
17292
|
+
MirrorByCSYSR(theA2: Mx3dGeCSYSR): void;
|
|
17293
|
+
MirroredByCSYSR(theA2: Mx3dGeCSYSR): Mx3dGeHyperbola;
|
|
17294
|
+
Rotate(theA1: Mx3dGeAxis, theAng: number): void;
|
|
17295
|
+
Rotated(theA1: Mx3dGeAxis, theAng: number): Mx3dGeHyperbola;
|
|
17296
|
+
Scale(theP: Mx3dGePoint, theS: number): void;
|
|
17297
|
+
Scaled(theP: Mx3dGePoint, theS: number): Mx3dGeHyperbola;
|
|
17298
|
+
Transform(theT: Mx3dGeTrsf): void;
|
|
17299
|
+
Transformed(theT: Mx3dGeTrsf): Mx3dGeHyperbola;
|
|
17300
|
+
TranslateByVec(theV: Mx3dGeVec): void;
|
|
17301
|
+
TranslatedByVec(theV: Mx3dGeVec): Mx3dGeHyperbola;
|
|
17302
|
+
TranslateBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): void;
|
|
17303
|
+
TranslatedBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): Mx3dGeHyperbola;
|
|
17304
|
+
}
|
|
17305
|
+
export declare class Mx3dGeVec extends Mx3dGeObject {
|
|
16959
17306
|
constructor();
|
|
16960
17307
|
constructor(x: number, y: number, z: number);
|
|
16961
|
-
constructor(thePoint1:
|
|
17308
|
+
constructor(thePoint1: Mx3dGePoint, thePoint2: Mx3dGePoint);
|
|
16962
17309
|
X(): number;
|
|
16963
17310
|
Y(): number;
|
|
16964
17311
|
Z(): number;
|
|
@@ -16966,65 +17313,65 @@ export declare class MxNewMx3dGeVec extends MxNewMx3dGeObject {
|
|
|
16966
17313
|
SetY(y: number): void;
|
|
16967
17314
|
SetZ(z: number): void;
|
|
16968
17315
|
SetXYZ(x: number, y: number, z: number): void;
|
|
16969
|
-
IsEqual(other:
|
|
16970
|
-
IsNormal(other:
|
|
16971
|
-
IsOpposite(other:
|
|
16972
|
-
IsParallel(other:
|
|
16973
|
-
Angle(other:
|
|
16974
|
-
AngleWithRef(other:
|
|
17316
|
+
IsEqual(other: Mx3dGeVec, linearTolerance: number, angularTolerance: number): boolean;
|
|
17317
|
+
IsNormal(other: Mx3dGeVec, angularTolerance: number): boolean;
|
|
17318
|
+
IsOpposite(other: Mx3dGeVec, angularTolerance: number): boolean;
|
|
17319
|
+
IsParallel(other: Mx3dGeVec, angularTolerance: number): boolean;
|
|
17320
|
+
Angle(other: Mx3dGeVec): number;
|
|
17321
|
+
AngleWithRef(other: Mx3dGeVec, ref: Mx3dGeVec): number;
|
|
16975
17322
|
Magnitude(): number;
|
|
16976
17323
|
SquareMagnitude(): number;
|
|
16977
|
-
Add(other:
|
|
16978
|
-
Added(other:
|
|
16979
|
-
Subtract(right:
|
|
16980
|
-
Subtracted(right:
|
|
17324
|
+
Add(other: Mx3dGeVec): void;
|
|
17325
|
+
Added(other: Mx3dGeVec): Mx3dGeVec;
|
|
17326
|
+
Subtract(right: Mx3dGeVec): void;
|
|
17327
|
+
Subtracted(right: Mx3dGeVec): Mx3dGeVec;
|
|
16981
17328
|
Multiply(scalar: number): void;
|
|
16982
|
-
Multiplied(scalar: number):
|
|
17329
|
+
Multiplied(scalar: number): Mx3dGeVec;
|
|
16983
17330
|
Divide(scalar: number): void;
|
|
16984
|
-
Divided(scalar: number):
|
|
16985
|
-
Cross(right:
|
|
16986
|
-
Crossed(right:
|
|
16987
|
-
CrossMagnitude(right:
|
|
16988
|
-
CrossSquareMagnitude(right:
|
|
16989
|
-
CrossCross(v1:
|
|
16990
|
-
CrossCrossed(v1:
|
|
16991
|
-
Dot(other:
|
|
16992
|
-
DotCross(v1:
|
|
17331
|
+
Divided(scalar: number): Mx3dGeVec;
|
|
17332
|
+
Cross(right: Mx3dGeVec): void;
|
|
17333
|
+
Crossed(right: Mx3dGeVec): Mx3dGeVec;
|
|
17334
|
+
CrossMagnitude(right: Mx3dGeVec): number;
|
|
17335
|
+
CrossSquareMagnitude(right: Mx3dGeVec): number;
|
|
17336
|
+
CrossCross(v1: Mx3dGeVec, v2: Mx3dGeVec): void;
|
|
17337
|
+
CrossCrossed(v1: Mx3dGeVec, v2: Mx3dGeVec): Mx3dGeVec;
|
|
17338
|
+
Dot(other: Mx3dGeVec): number;
|
|
17339
|
+
DotCross(v1: Mx3dGeVec, v2: Mx3dGeVec): number;
|
|
16993
17340
|
Normalize(): void;
|
|
16994
|
-
Normalized():
|
|
17341
|
+
Normalized(): Mx3dGeVec;
|
|
16995
17342
|
Reverse(): void;
|
|
16996
|
-
Reversed():
|
|
16997
|
-
SetLinearForm(v1:
|
|
16998
|
-
SetLinearForm(a1: number, v1:
|
|
16999
|
-
SetLinearForm(a1: number, v1:
|
|
17000
|
-
SetLinearForm(a1: number, v1:
|
|
17001
|
-
SetLinearForm(a1: number, v1:
|
|
17002
|
-
SetLinearForm(a1: number, v1:
|
|
17003
|
-
MirrorByVec(vec:
|
|
17004
|
-
MirroredByVec(vec:
|
|
17005
|
-
MirrorByAxis(axis:
|
|
17006
|
-
MirroredByAxis(axis:
|
|
17007
|
-
MirrorByCSYSR(csysr:
|
|
17008
|
-
MirroredByCSYSR(csysr:
|
|
17009
|
-
Rotate(axis:
|
|
17010
|
-
Rotated(axis:
|
|
17343
|
+
Reversed(): Mx3dGeVec;
|
|
17344
|
+
SetLinearForm(v1: Mx3dGeVec, v2: Mx3dGeVec): void;
|
|
17345
|
+
SetLinearForm(a1: number, v1: Mx3dGeVec, v2: Mx3dGeVec): void;
|
|
17346
|
+
SetLinearForm(a1: number, v1: Mx3dGeVec, a2: number, v2: Mx3dGeVec): void;
|
|
17347
|
+
SetLinearForm(a1: number, v1: Mx3dGeVec, a2: number, v2: Mx3dGeVec, v3: Mx3dGeVec): void;
|
|
17348
|
+
SetLinearForm(a1: number, v1: Mx3dGeVec, a2: number, v2: Mx3dGeVec, a3: number, v3: Mx3dGeVec): void;
|
|
17349
|
+
SetLinearForm(a1: number, v1: Mx3dGeVec, a2: number, v2: Mx3dGeVec, a3: number, v3: Mx3dGeVec, v4: Mx3dGeVec): void;
|
|
17350
|
+
MirrorByVec(vec: Mx3dGeVec): void;
|
|
17351
|
+
MirroredByVec(vec: Mx3dGeVec): Mx3dGeVec;
|
|
17352
|
+
MirrorByAxis(axis: Mx3dGeAxis): void;
|
|
17353
|
+
MirroredByAxis(axis: Mx3dGeAxis): Mx3dGeVec;
|
|
17354
|
+
MirrorByCSYSR(csysr: Mx3dGeCSYSR): void;
|
|
17355
|
+
MirroredByCSYSR(csysr: Mx3dGeCSYSR): Mx3dGeVec;
|
|
17356
|
+
Rotate(axis: Mx3dGeAxis, ang: number): void;
|
|
17357
|
+
Rotated(axis: Mx3dGeAxis, ang: number): Mx3dGeVec;
|
|
17011
17358
|
Scale(s: number): void;
|
|
17012
|
-
Scaled(s: number):
|
|
17013
|
-
Transform(t:
|
|
17014
|
-
Transformed(t:
|
|
17359
|
+
Scaled(s: number): Mx3dGeVec;
|
|
17360
|
+
Transform(t: Mx3dGeTrsf): void;
|
|
17361
|
+
Transformed(t: Mx3dGeTrsf): Mx3dGeVec;
|
|
17015
17362
|
}
|
|
17016
|
-
export declare class
|
|
17363
|
+
export declare class Mx3dGeBndBox extends Mx3dGeObject {
|
|
17017
17364
|
constructor();
|
|
17018
|
-
constructor(theMin:
|
|
17365
|
+
constructor(theMin: Mx3dGePoint, theMax: Mx3dGePoint);
|
|
17019
17366
|
SetWhole(): void;
|
|
17020
17367
|
SetVoid(): void;
|
|
17021
|
-
Set(P:
|
|
17368
|
+
Set(P: Mx3dGePoint, D: Mx3dGeDir): void;
|
|
17022
17369
|
Update(aXmin: number, aYmin: number, aZmin: number, aXmax: number, aYmax: number, aZmax: number): void;
|
|
17023
17370
|
GetGap(): number;
|
|
17024
17371
|
SetGap(Tol: number): void;
|
|
17025
17372
|
Enlarge(Tol: number): void;
|
|
17026
|
-
CornerMin():
|
|
17027
|
-
CornerMax():
|
|
17373
|
+
CornerMin(): Mx3dGePoint;
|
|
17374
|
+
CornerMax(): Mx3dGePoint;
|
|
17028
17375
|
OpenXmin(): void;
|
|
17029
17376
|
OpenXmax(): void;
|
|
17030
17377
|
OpenYmin(): void;
|
|
@@ -17044,149 +17391,149 @@ export declare class MxNewMx3dGeBndBox extends MxNewMx3dGeObject {
|
|
|
17044
17391
|
IsYThin(tol: number): boolean;
|
|
17045
17392
|
IsZThin(tol: number): boolean;
|
|
17046
17393
|
IsThin(tol: number): boolean;
|
|
17047
|
-
Transformed(T:
|
|
17048
|
-
AddBndBox(Other:
|
|
17049
|
-
AddPoint(P:
|
|
17050
|
-
AddPointDir(P:
|
|
17051
|
-
AddDir(D:
|
|
17052
|
-
IsOutPoint(P:
|
|
17053
|
-
IsOutBndBox(Other:
|
|
17054
|
-
IsOutBndBox(Other:
|
|
17055
|
-
IsOutTBT(T1:
|
|
17056
|
-
IsOutPPD(P1:
|
|
17057
|
-
Distance(Other:
|
|
17394
|
+
Transformed(T: Mx3dGeTrsf): Mx3dGeBndBox;
|
|
17395
|
+
AddBndBox(Other: Mx3dGeBndBox): void;
|
|
17396
|
+
AddPoint(P: Mx3dGePoint): void;
|
|
17397
|
+
AddPointDir(P: Mx3dGePoint, D: Mx3dGeDir): void;
|
|
17398
|
+
AddDir(D: Mx3dGeDir): void;
|
|
17399
|
+
IsOutPoint(P: Mx3dGePoint): boolean;
|
|
17400
|
+
IsOutBndBox(Other: Mx3dGeBndBox): boolean;
|
|
17401
|
+
IsOutBndBox(Other: Mx3dGeBndBox, T: Mx3dGeTrsf): boolean;
|
|
17402
|
+
IsOutTBT(T1: Mx3dGeTrsf, Other: Mx3dGeBndBox, T2: Mx3dGeTrsf): boolean;
|
|
17403
|
+
IsOutPPD(P1: Mx3dGePoint, P2: Mx3dGePoint, D: Mx3dGeDir): boolean;
|
|
17404
|
+
Distance(Other: Mx3dGeBndBox): number;
|
|
17058
17405
|
SquareExtent(): number;
|
|
17059
|
-
FinitePart():
|
|
17406
|
+
FinitePart(): Mx3dGeBndBox;
|
|
17060
17407
|
HasFinitePart(): boolean;
|
|
17061
17408
|
}
|
|
17062
|
-
export declare class
|
|
17063
|
-
constructor(P1:
|
|
17409
|
+
export declare class Mx3dGeBox extends Mx3dGeObject {
|
|
17410
|
+
constructor(P1: Mx3dGePoint, P2: Mx3dGePoint);
|
|
17064
17411
|
constructor(dx: number, dy: number, dz: number);
|
|
17065
|
-
constructor(Axes:
|
|
17066
|
-
Shape():
|
|
17412
|
+
constructor(Axes: Mx3dGeCSYSR, dx: number, dy: number, dz: number);
|
|
17413
|
+
Shape(): Mx3dShapeObject;
|
|
17067
17414
|
}
|
|
17068
|
-
export declare class
|
|
17415
|
+
export declare class Mx3dGeCircle extends Mx3dGeObject {
|
|
17069
17416
|
constructor();
|
|
17070
|
-
constructor(theA2:
|
|
17071
|
-
SetAxis(theA1:
|
|
17072
|
-
SetLocation(theP:
|
|
17073
|
-
SetPosition(theA2:
|
|
17417
|
+
constructor(theA2: Mx3dGeCSYSR, theRadius: number);
|
|
17418
|
+
SetAxis(theA1: Mx3dGeAxis): void;
|
|
17419
|
+
SetLocation(theP: Mx3dGePoint): void;
|
|
17420
|
+
SetPosition(theA2: Mx3dGeCSYSR): void;
|
|
17074
17421
|
SetRadius(theRadius: number): void;
|
|
17075
17422
|
Area(): number;
|
|
17076
|
-
Axis():
|
|
17423
|
+
Axis(): Mx3dGeAxis;
|
|
17077
17424
|
Length(): number;
|
|
17078
|
-
Location():
|
|
17079
|
-
Position():
|
|
17425
|
+
Location(): Mx3dGePoint;
|
|
17426
|
+
Position(): Mx3dGeCSYSR;
|
|
17080
17427
|
Radius(): number;
|
|
17081
|
-
XAxis():
|
|
17082
|
-
YAxis():
|
|
17083
|
-
Distance(theP:
|
|
17084
|
-
SquareDistance(theP:
|
|
17085
|
-
Contains(theP:
|
|
17086
|
-
MirrorByPoint(theP:
|
|
17087
|
-
MirroredByPoint(theP:
|
|
17088
|
-
MirrorByAxis(theA1:
|
|
17089
|
-
MirroredByAxis(theA1:
|
|
17090
|
-
MirrorByCSYSR(theA2:
|
|
17091
|
-
MirroredByCSYSR(theA2:
|
|
17092
|
-
Rotate(theA1:
|
|
17093
|
-
Rotated(theA1:
|
|
17094
|
-
Scale(theP:
|
|
17095
|
-
Scaled(theP:
|
|
17096
|
-
Transform(theT:
|
|
17097
|
-
Transformed(theT:
|
|
17098
|
-
TranslateByVec(theV:
|
|
17099
|
-
TranslatedByVec(theV:
|
|
17100
|
-
TranslateBy2Points(theP1:
|
|
17101
|
-
TranslatedBy2Points(theP1:
|
|
17102
|
-
}
|
|
17103
|
-
export declare class
|
|
17428
|
+
XAxis(): Mx3dGeAxis;
|
|
17429
|
+
YAxis(): Mx3dGeAxis;
|
|
17430
|
+
Distance(theP: Mx3dGePoint): number;
|
|
17431
|
+
SquareDistance(theP: Mx3dGePoint): number;
|
|
17432
|
+
Contains(theP: Mx3dGePoint, theLinearTolerance: number): boolean;
|
|
17433
|
+
MirrorByPoint(theP: Mx3dGePoint): void;
|
|
17434
|
+
MirroredByPoint(theP: Mx3dGePoint): Mx3dGeCircle;
|
|
17435
|
+
MirrorByAxis(theA1: Mx3dGeAxis): void;
|
|
17436
|
+
MirroredByAxis(theA1: Mx3dGeAxis): Mx3dGeCircle;
|
|
17437
|
+
MirrorByCSYSR(theA2: Mx3dGeCSYSR): void;
|
|
17438
|
+
MirroredByCSYSR(theA2: Mx3dGeCSYSR): Mx3dGeCircle;
|
|
17439
|
+
Rotate(theA1: Mx3dGeAxis, theAng: number): void;
|
|
17440
|
+
Rotated(theA1: Mx3dGeAxis, theAng: number): Mx3dGeCircle;
|
|
17441
|
+
Scale(theP: Mx3dGePoint, theS: number): void;
|
|
17442
|
+
Scaled(theP: Mx3dGePoint, theS: number): Mx3dGeCircle;
|
|
17443
|
+
Transform(theT: Mx3dGeTrsf): void;
|
|
17444
|
+
Transformed(theT: Mx3dGeTrsf): Mx3dGeCircle;
|
|
17445
|
+
TranslateByVec(theV: Mx3dGeVec): void;
|
|
17446
|
+
TranslatedByVec(theV: Mx3dGeVec): Mx3dGeCircle;
|
|
17447
|
+
TranslateBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): void;
|
|
17448
|
+
TranslatedBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): Mx3dGeCircle;
|
|
17449
|
+
}
|
|
17450
|
+
export declare class Mx3dShapeObject extends Mx3dBaseObject {
|
|
17104
17451
|
constructor(p?: object);
|
|
17105
|
-
getBndBox():
|
|
17106
|
-
move(theLocation:
|
|
17107
|
-
moved(theLocation:
|
|
17108
|
-
clone():
|
|
17109
|
-
fuse(theOther:
|
|
17110
|
-
cut(theOther:
|
|
17111
|
-
common(theOther:
|
|
17112
|
-
section(theOther:
|
|
17113
|
-
spliter(theTools:
|
|
17114
|
-
MirrorByPoint(theP:
|
|
17115
|
-
MirroredByPoint(theP:
|
|
17116
|
-
MirrorByAxis(axis:
|
|
17117
|
-
MirroredByAxis(axis:
|
|
17118
|
-
MirrorByCSYSR(csysr:
|
|
17119
|
-
MirroredByCSYSR(csysr:
|
|
17120
|
-
Rotate(axis:
|
|
17121
|
-
Rotated(axis:
|
|
17122
|
-
Scale(point:
|
|
17123
|
-
Scaled(point:
|
|
17124
|
-
Transform(trsf:
|
|
17125
|
-
Transformed(trsf:
|
|
17126
|
-
TranslateByVec(vec:
|
|
17452
|
+
getBndBox(): Mx3dGeBndBox;
|
|
17453
|
+
move(theLocation: Mx3dGeLocation): void;
|
|
17454
|
+
moved(theLocation: Mx3dGeLocation): Mx3dShapeObject;
|
|
17455
|
+
clone(): Mx3dShapeObject;
|
|
17456
|
+
fuse(theOther: Mx3dShapeObject): Mx3dShapeObject;
|
|
17457
|
+
cut(theOther: Mx3dShapeObject): Mx3dShapeObject;
|
|
17458
|
+
common(theOther: Mx3dShapeObject): Mx3dShapeObject;
|
|
17459
|
+
section(theOther: Mx3dShapeObject): Mx3dShapeObject;
|
|
17460
|
+
spliter(theTools: Mx3dShapeObject[]): Mx3dShapeObject[];
|
|
17461
|
+
MirrorByPoint(theP: Mx3dGePoint): void;
|
|
17462
|
+
MirroredByPoint(theP: Mx3dGePoint): Mx3dShapeObject;
|
|
17463
|
+
MirrorByAxis(axis: Mx3dGeAxis): void;
|
|
17464
|
+
MirroredByAxis(axis: Mx3dGeAxis): Mx3dShapeObject;
|
|
17465
|
+
MirrorByCSYSR(csysr: Mx3dGeCSYSR): void;
|
|
17466
|
+
MirroredByCSYSR(csysr: Mx3dGeCSYSR): Mx3dShapeObject;
|
|
17467
|
+
Rotate(axis: Mx3dGeAxis, ang: number): void;
|
|
17468
|
+
Rotated(axis: Mx3dGeAxis, ang: number): Mx3dShapeObject;
|
|
17469
|
+
Scale(point: Mx3dGePoint, s: number): void;
|
|
17470
|
+
Scaled(point: Mx3dGePoint, s: number): Mx3dShapeObject;
|
|
17471
|
+
Transform(trsf: Mx3dGeTrsf): void;
|
|
17472
|
+
Transformed(trsf: Mx3dGeTrsf): Mx3dShapeObject;
|
|
17473
|
+
TranslateByVec(vec: Mx3dGeVec): void;
|
|
17127
17474
|
TranslateByVec(theX: number, theY: number, theZ: number): void;
|
|
17128
|
-
TranslatedByVec(vec:
|
|
17129
|
-
TranslatedByVec(theX: number, theY: number, theZ: number):
|
|
17130
|
-
TranslateBy2Points(point1:
|
|
17131
|
-
TranslatedBy2Points(point1:
|
|
17132
|
-
Explore(ToFind: MdGe.MxShapeEnum):
|
|
17475
|
+
TranslatedByVec(vec: Mx3dGeVec): Mx3dShapeObject;
|
|
17476
|
+
TranslatedByVec(theX: number, theY: number, theZ: number): Mx3dShapeObject;
|
|
17477
|
+
TranslateBy2Points(point1: Mx3dGePoint, point2: Mx3dGePoint): void;
|
|
17478
|
+
TranslatedBy2Points(point1: Mx3dGePoint, point2: Mx3dGePoint): Mx3dShapeObject;
|
|
17479
|
+
Explore(ToFind: MdGe.MxShapeEnum): Mx3dShapeObject[];
|
|
17133
17480
|
ShapeType(): MdGe.MxShapeEnum;
|
|
17134
17481
|
Quantities(theAspect: MdGe.MxQuantAspect): number;
|
|
17135
|
-
Centroid(theAspect: MdGe.MxQuantAspect):
|
|
17482
|
+
Centroid(theAspect: MdGe.MxQuantAspect): Mx3dGePoint;
|
|
17136
17483
|
}
|
|
17137
|
-
export declare class
|
|
17484
|
+
export declare class Mx3dShapeFace extends Mx3dShapeObject {
|
|
17138
17485
|
constructor(p?: object);
|
|
17139
17486
|
}
|
|
17140
|
-
export declare class
|
|
17487
|
+
export declare class Mx3dShapeVertex extends Mx3dShapeObject {
|
|
17141
17488
|
constructor(p?: object);
|
|
17142
17489
|
}
|
|
17143
|
-
export declare class
|
|
17490
|
+
export declare class Mx3dShapeEdge extends Mx3dShapeObject {
|
|
17144
17491
|
constructor();
|
|
17145
|
-
constructor(pt1:
|
|
17492
|
+
constructor(pt1: Mx3dGePoint, pt2: Mx3dGePoint);
|
|
17146
17493
|
}
|
|
17147
|
-
export declare class
|
|
17494
|
+
export declare class Mx3dShapeWire extends Mx3dShapeObject {
|
|
17148
17495
|
constructor(p?: object);
|
|
17149
17496
|
}
|
|
17150
|
-
export declare class
|
|
17497
|
+
export declare class Mx3dShapeShell extends Mx3dShapeObject {
|
|
17151
17498
|
constructor(p?: object);
|
|
17152
17499
|
}
|
|
17153
|
-
export declare class
|
|
17500
|
+
export declare class Mx3dShapeSolid extends Mx3dShapeObject {
|
|
17154
17501
|
constructor(p?: object);
|
|
17155
17502
|
}
|
|
17156
|
-
export declare class
|
|
17503
|
+
export declare class Mx3dShapeCompSolid extends Mx3dShapeObject {
|
|
17157
17504
|
constructor(p?: object);
|
|
17158
17505
|
}
|
|
17159
|
-
export declare class
|
|
17506
|
+
export declare class Mx3dShapeCompound extends Mx3dShapeObject {
|
|
17160
17507
|
constructor(p?: object);
|
|
17161
17508
|
}
|
|
17162
|
-
export declare class
|
|
17163
|
-
constructor(S:
|
|
17164
|
-
Add(Radius: number, E:
|
|
17165
|
-
Shape():
|
|
17509
|
+
export declare class Mx3dAlgoFillet extends Mx3dAlgoObject {
|
|
17510
|
+
constructor(S: Mx3dShapeObject, FShape: MdGe.MxCF3dFilletShapeEnum);
|
|
17511
|
+
Add(Radius: number, E: Mx3dShapeEdge): void;
|
|
17512
|
+
Shape(): Mx3dShapeObject;
|
|
17166
17513
|
}
|
|
17167
|
-
export declare class
|
|
17168
|
-
constructor(S:
|
|
17169
|
-
Add(Dis: number, E:
|
|
17170
|
-
Shape():
|
|
17514
|
+
export declare class Mx3dAlgoChamfer extends Mx3dAlgoObject {
|
|
17515
|
+
constructor(S: Mx3dShapeObject);
|
|
17516
|
+
Add(Dis: number, E: Mx3dShapeEdge): void;
|
|
17517
|
+
Shape(): Mx3dShapeObject;
|
|
17171
17518
|
}
|
|
17172
|
-
export declare class
|
|
17519
|
+
export declare class Mx3dShapeObjectSequence extends Mx3dBaseObject {
|
|
17173
17520
|
constructor();
|
|
17174
17521
|
Length(): number;
|
|
17175
|
-
Value(theIndex: number):
|
|
17522
|
+
Value(theIndex: number): Mx3dShapeObject;
|
|
17176
17523
|
Remove(theIndex: number): void;
|
|
17177
17524
|
Remove(theFromIndex: number, theToIndex: number): void;
|
|
17178
|
-
Append(theShape:
|
|
17179
|
-
Prepend(theShape:
|
|
17525
|
+
Append(theShape: Mx3dShapeObject): void;
|
|
17526
|
+
Prepend(theShape: Mx3dShapeObject): void;
|
|
17180
17527
|
}
|
|
17181
|
-
export declare class
|
|
17528
|
+
export declare class Mx3dDbObject extends Mx3dBaseObject {
|
|
17182
17529
|
constructor(p?: object);
|
|
17183
17530
|
}
|
|
17184
|
-
export declare class
|
|
17531
|
+
export declare class Mx3dView extends Mx3dBaseObject {
|
|
17185
17532
|
constructor(p: object);
|
|
17186
|
-
getDoc():
|
|
17533
|
+
getDoc(): Mx3dDbDocument;
|
|
17187
17534
|
removeAll(theUpdateView?: boolean): void;
|
|
17535
|
+
removeSelected(): void;
|
|
17188
17536
|
update(isUpAllData: boolean, isRemoveAll?: boolean): void;
|
|
17189
|
-
getModelCounts(): number;
|
|
17190
17537
|
setProjectionType(theProjection: MdGe.MxCameraProjection): void;
|
|
17191
17538
|
showCenterTrihedron(theToShow: boolean): void;
|
|
17192
17539
|
fitAllObjects(theAuto: boolean): void;
|
|
@@ -17203,15 +17550,16 @@ export declare class MxNewMx3dView extends MxNewMx3dBaseObject {
|
|
|
17203
17550
|
setCustomClipPlanePosition(thePosition: number): void;
|
|
17204
17551
|
setCustomClipPlaneReverse(): void;
|
|
17205
17552
|
setCustomClipPlaneDirection(x: number, y: number, z: number): void;
|
|
17206
|
-
displaySymbolText(theSymbol:
|
|
17207
|
-
displayDimension(theDimension:
|
|
17553
|
+
displaySymbolText(theSymbol: Mx3dSymbolText): void;
|
|
17554
|
+
displayDimension(theDimension: Mx3dDimObject): void;
|
|
17208
17555
|
addModelTexture(theFileName: string): void;
|
|
17209
17556
|
removeModelTexture(): void;
|
|
17210
|
-
setGradientBgColor(theColor1:
|
|
17557
|
+
setGradientBgColor(theColor1: Mx3dGeColor, theColor2: Mx3dGeColor, theMethod: MdGe.MxGradientFillMethod): void;
|
|
17211
17558
|
setProj(theOrientation: MdGe.MxV3dTypeOfOrientation, theIsYup: boolean): void;
|
|
17212
|
-
setSelectedColor(color:
|
|
17559
|
+
setSelectedColor(color: Mx3dGeColor): void;
|
|
17560
|
+
setDisplayMode(theMode: MdGe.MxGlobalDisplayMode): void;
|
|
17213
17561
|
}
|
|
17214
|
-
export declare class
|
|
17562
|
+
export declare class Mx3dGeColor extends Mx3dBaseObject {
|
|
17215
17563
|
constructor();
|
|
17216
17564
|
constructor(theColorName: MdGe.MxNameOfColor);
|
|
17217
17565
|
constructor(theR: number, theG: number, theB: number, theType: MdGe.MxTypeOfColor);
|
|
@@ -17226,155 +17574,160 @@ export declare class MxNewMx3dGeColor extends MxNewMx3dBaseObject {
|
|
|
17226
17574
|
ChangeIntensity(theDelta: number): void;
|
|
17227
17575
|
Saturation(): number;
|
|
17228
17576
|
ChangeContrast(theDelta: number): void;
|
|
17229
|
-
IsDifferent(theOther:
|
|
17230
|
-
IsEqual(theOther:
|
|
17231
|
-
Distance(theColor:
|
|
17232
|
-
SquareDistance(theColor:
|
|
17233
|
-
DeltaE2000(theOther:
|
|
17577
|
+
IsDifferent(theOther: Mx3dGeColor): boolean;
|
|
17578
|
+
IsEqual(theOther: Mx3dGeColor): boolean;
|
|
17579
|
+
Distance(theColor: Mx3dGeColor): number;
|
|
17580
|
+
SquareDistance(theColor: Mx3dGeColor): number;
|
|
17581
|
+
DeltaE2000(theOther: Mx3dGeColor): number;
|
|
17234
17582
|
}
|
|
17235
17583
|
/**
|
|
17236
17584
|
* 左手坐标系
|
|
17237
17585
|
*/
|
|
17238
|
-
export declare class
|
|
17586
|
+
export declare class Mx3dGeCSYS extends Mx3dGeObject {
|
|
17239
17587
|
constructor();
|
|
17240
|
-
constructor(csysr:
|
|
17241
|
-
constructor(origin:
|
|
17242
|
-
constructor(origin:
|
|
17588
|
+
constructor(csysr: Mx3dGeCSYSR);
|
|
17589
|
+
constructor(origin: Mx3dGePoint, z_axis: Mx3dGeDir);
|
|
17590
|
+
constructor(origin: Mx3dGePoint, z_axis: Mx3dGeDir, x_vec: Mx3dGeDir);
|
|
17243
17591
|
XReverse(): void;
|
|
17244
17592
|
YReverse(): void;
|
|
17245
17593
|
ZReverse(): void;
|
|
17246
|
-
SetAxis(z_axis:
|
|
17247
|
-
SetDirection(z_dir:
|
|
17248
|
-
SetLocation(origin:
|
|
17594
|
+
SetAxis(z_axis: Mx3dGeAxis): void;
|
|
17595
|
+
SetDirection(z_dir: Mx3dGeDir): void;
|
|
17596
|
+
SetLocation(origin: Mx3dGePoint): void;
|
|
17249
17597
|
SetLocation(theX: number, theY: number, theZ: number): void;
|
|
17250
|
-
SetXDirection(x_dir:
|
|
17251
|
-
SetYDirection(y_dir:
|
|
17252
|
-
Angle(other:
|
|
17253
|
-
Axis():
|
|
17254
|
-
CSYSR():
|
|
17255
|
-
Direction():
|
|
17256
|
-
Location():
|
|
17257
|
-
XDirection():
|
|
17258
|
-
YDirection():
|
|
17598
|
+
SetXDirection(x_dir: Mx3dGeDir): void;
|
|
17599
|
+
SetYDirection(y_dir: Mx3dGeDir): void;
|
|
17600
|
+
Angle(other: Mx3dGeCSYS): number;
|
|
17601
|
+
Axis(): Mx3dGeAxis;
|
|
17602
|
+
CSYSR(): Mx3dGeCSYSR;
|
|
17603
|
+
Direction(): Mx3dGeDir;
|
|
17604
|
+
Location(): Mx3dGePoint;
|
|
17605
|
+
XDirection(): Mx3dGeDir;
|
|
17606
|
+
YDirection(): Mx3dGeDir;
|
|
17259
17607
|
Direct(): boolean;
|
|
17260
|
-
IsCoplanarWithCSYS(other:
|
|
17261
|
-
IsCoplanarWithAxis(axis:
|
|
17262
|
-
MirrorByPoint(point:
|
|
17263
|
-
MirroredByPoint(point:
|
|
17264
|
-
MirrorByAxis(axis:
|
|
17265
|
-
MirroredByAxis(axis:
|
|
17266
|
-
MirrorByCSYSR(csysr:
|
|
17267
|
-
MirroredByCSYSR(csysr:
|
|
17268
|
-
Rotate(axis:
|
|
17269
|
-
Rotated(axis:
|
|
17270
|
-
Scale(point:
|
|
17271
|
-
Scaled(point:
|
|
17272
|
-
Transform(t:
|
|
17273
|
-
Transformed(t:
|
|
17274
|
-
TranslateByVec(vec:
|
|
17275
|
-
TranslatedByVec(vec:
|
|
17276
|
-
TranslateBy2Points(point1:
|
|
17277
|
-
TranslatedBy2Points(point1:
|
|
17608
|
+
IsCoplanarWithCSYS(other: Mx3dGeCSYS, linearTolerance: number, angularTolerance: number): boolean;
|
|
17609
|
+
IsCoplanarWithAxis(axis: Mx3dGeAxis, linearTolerance: number, angularTolerance: number): boolean;
|
|
17610
|
+
MirrorByPoint(point: Mx3dGePoint): void;
|
|
17611
|
+
MirroredByPoint(point: Mx3dGePoint): Mx3dGeCSYS;
|
|
17612
|
+
MirrorByAxis(axis: Mx3dGeAxis): void;
|
|
17613
|
+
MirroredByAxis(axis: Mx3dGeAxis): Mx3dGeCSYS;
|
|
17614
|
+
MirrorByCSYSR(csysr: Mx3dGeCSYSR): void;
|
|
17615
|
+
MirroredByCSYSR(csysr: Mx3dGeCSYSR): Mx3dGeCSYS;
|
|
17616
|
+
Rotate(axis: Mx3dGeAxis, ang: number): void;
|
|
17617
|
+
Rotated(axis: Mx3dGeAxis, ang: number): Mx3dGeCSYS;
|
|
17618
|
+
Scale(point: Mx3dGePoint, s: number): void;
|
|
17619
|
+
Scaled(point: Mx3dGePoint, s: number): Mx3dGeCSYS;
|
|
17620
|
+
Transform(t: Mx3dGeTrsf): void;
|
|
17621
|
+
Transformed(t: Mx3dGeTrsf): Mx3dGeCSYS;
|
|
17622
|
+
TranslateByVec(vec: Mx3dGeVec): void;
|
|
17623
|
+
TranslatedByVec(vec: Mx3dGeVec): Mx3dGeCSYS;
|
|
17624
|
+
TranslateBy2Points(point1: Mx3dGePoint, point2: Mx3dGePoint): void;
|
|
17625
|
+
TranslatedBy2Points(point1: Mx3dGePoint, point2: Mx3dGePoint): Mx3dGeCSYS;
|
|
17278
17626
|
}
|
|
17279
17627
|
/**
|
|
17280
17628
|
* 右手坐标系
|
|
17281
17629
|
*/
|
|
17282
|
-
export declare class
|
|
17630
|
+
export declare class Mx3dGeCSYSR extends Mx3dGeObject {
|
|
17283
17631
|
constructor();
|
|
17284
|
-
constructor(origin:
|
|
17285
|
-
Location():
|
|
17286
|
-
XDirection():
|
|
17287
|
-
YDirection():
|
|
17288
|
-
Direction():
|
|
17289
|
-
SetLocation(origin:
|
|
17632
|
+
constructor(origin: Mx3dGePoint, z_axis: Mx3dGeDir, x_vec: Mx3dGeDir);
|
|
17633
|
+
Location(): Mx3dGePoint;
|
|
17634
|
+
XDirection(): Mx3dGeDir;
|
|
17635
|
+
YDirection(): Mx3dGeDir;
|
|
17636
|
+
Direction(): Mx3dGeDir;
|
|
17637
|
+
SetLocation(origin: Mx3dGePoint): void;
|
|
17290
17638
|
SetLocation(theX: number, theY: number, theZ: number): void;
|
|
17291
|
-
SetXDirection(x_dir:
|
|
17292
|
-
SetYDirection(y_dir:
|
|
17293
|
-
SetDirection(z_dir:
|
|
17294
|
-
Angle(theOther:
|
|
17295
|
-
Axis():
|
|
17296
|
-
IsCoplanarWithCSYSR(Other:
|
|
17297
|
-
IsCoplanarWithAxis(A1:
|
|
17298
|
-
MirrorByPoint(P:
|
|
17299
|
-
MirroredByPoint(P:
|
|
17300
|
-
MirrorByAxis(A1:
|
|
17301
|
-
MirroredByAxis(A1:
|
|
17302
|
-
MirrorByCSYSR(A2:
|
|
17303
|
-
MirroredByCSYSR(A2:
|
|
17304
|
-
Rotate(theA1:
|
|
17305
|
-
Rotated(theA1:
|
|
17306
|
-
Scale(theP:
|
|
17307
|
-
Scaled(theP:
|
|
17308
|
-
Transform(theT:
|
|
17309
|
-
Transformed(theT:
|
|
17310
|
-
TranslateByVec(theV:
|
|
17311
|
-
TranslatedByVec(theV:
|
|
17312
|
-
TranslateBy2Points(theP1:
|
|
17313
|
-
TranslatedBy2Points(theP1:
|
|
17639
|
+
SetXDirection(x_dir: Mx3dGePoint): void;
|
|
17640
|
+
SetYDirection(y_dir: Mx3dGeDir): void;
|
|
17641
|
+
SetDirection(z_dir: Mx3dGeDir): void;
|
|
17642
|
+
Angle(theOther: Mx3dGeCSYSR): number;
|
|
17643
|
+
Axis(): Mx3dGeAxis;
|
|
17644
|
+
IsCoplanarWithCSYSR(Other: Mx3dGeCSYSR, LinearTolerance: number, AngularTolerance: number): boolean;
|
|
17645
|
+
IsCoplanarWithAxis(A1: Mx3dGeAxis, LinearTolerance: number, AngularTolerance: number): boolean;
|
|
17646
|
+
MirrorByPoint(P: Mx3dGePoint): void;
|
|
17647
|
+
MirroredByPoint(P: Mx3dGePoint): Mx3dGeCSYSR;
|
|
17648
|
+
MirrorByAxis(A1: Mx3dGeAxis): void;
|
|
17649
|
+
MirroredByAxis(A1: Mx3dGeAxis): Mx3dGeCSYSR;
|
|
17650
|
+
MirrorByCSYSR(A2: Mx3dGeCSYSR): void;
|
|
17651
|
+
MirroredByCSYSR(A2: Mx3dGeCSYSR): Mx3dGeCSYSR;
|
|
17652
|
+
Rotate(theA1: Mx3dGeAxis, theAng: number): void;
|
|
17653
|
+
Rotated(theA1: Mx3dGeAxis, theAng: number): Mx3dGeCSYSR;
|
|
17654
|
+
Scale(theP: Mx3dGePoint, theS: number): void;
|
|
17655
|
+
Scaled(theP: Mx3dGePoint, theS: number): Mx3dGeCSYSR;
|
|
17656
|
+
Transform(theT: Mx3dGeTrsf): void;
|
|
17657
|
+
Transformed(theT: Mx3dGeTrsf): Mx3dGeCSYSR;
|
|
17658
|
+
TranslateByVec(theV: Mx3dGeVec): void;
|
|
17659
|
+
TranslatedByVec(theV: Mx3dGeVec): Mx3dGeCSYSR;
|
|
17660
|
+
TranslateBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): void;
|
|
17661
|
+
TranslatedBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): Mx3dGeCSYSR;
|
|
17314
17662
|
}
|
|
17315
17663
|
/**
|
|
17316
17664
|
* 圆柱体
|
|
17317
17665
|
*/
|
|
17318
|
-
export declare class
|
|
17666
|
+
export declare class Mx3dGeCylinder extends Mx3dGeObject {
|
|
17319
17667
|
constructor();
|
|
17320
|
-
constructor(theA3:
|
|
17321
|
-
SetAxis(theA1:
|
|
17322
|
-
SetLocation(theLoc:
|
|
17323
|
-
SetPosition(theA3:
|
|
17668
|
+
constructor(theA3: Mx3dGeCSYS, theRadius: number);
|
|
17669
|
+
SetAxis(theA1: Mx3dGeAxis): void;
|
|
17670
|
+
SetLocation(theLoc: Mx3dGePoint): void;
|
|
17671
|
+
SetPosition(theA3: Mx3dGeCSYS): void;
|
|
17324
17672
|
SetRadius(theR: number): void;
|
|
17325
17673
|
UReverse(): void;
|
|
17326
17674
|
VReverse(): void;
|
|
17327
17675
|
Direct(): boolean;
|
|
17328
|
-
Axis():
|
|
17329
|
-
Location():
|
|
17330
|
-
Position():
|
|
17676
|
+
Axis(): Mx3dGeAxis;
|
|
17677
|
+
Location(): Mx3dGePoint;
|
|
17678
|
+
Position(): Mx3dGeCSYS;
|
|
17331
17679
|
Radius(): number;
|
|
17332
|
-
XAxis():
|
|
17333
|
-
YAxis():
|
|
17334
|
-
MirrorByPoint(theP:
|
|
17335
|
-
MirroredByPoint(theP:
|
|
17336
|
-
MirrorByAxis(theA1:
|
|
17337
|
-
MirroredByAxis(theA1:
|
|
17338
|
-
MirrorByCSYSR(theA2:
|
|
17339
|
-
MirroredByCSYSR(theA2:
|
|
17340
|
-
Rotate(theA1:
|
|
17341
|
-
Rotated(theA1:
|
|
17342
|
-
Scale(theP:
|
|
17343
|
-
Scaled(theP:
|
|
17344
|
-
Transform(theT:
|
|
17345
|
-
Transformed(theT:
|
|
17346
|
-
TranslateByVec(theV:
|
|
17347
|
-
TranslatedByVec(theV:
|
|
17348
|
-
TranslateBy2Points(theP1:
|
|
17349
|
-
TranslatedBy2Points(theP1:
|
|
17350
|
-
Shape(H: number, Angle?: number):
|
|
17351
|
-
}
|
|
17352
|
-
export declare class
|
|
17680
|
+
XAxis(): Mx3dGeAxis;
|
|
17681
|
+
YAxis(): Mx3dGeAxis;
|
|
17682
|
+
MirrorByPoint(theP: Mx3dGePoint): void;
|
|
17683
|
+
MirroredByPoint(theP: Mx3dGePoint): Mx3dGeCylinder;
|
|
17684
|
+
MirrorByAxis(theA1: Mx3dGeAxis): void;
|
|
17685
|
+
MirroredByAxis(theA1: Mx3dGeAxis): Mx3dGeCylinder;
|
|
17686
|
+
MirrorByCSYSR(theA2: Mx3dGeCSYSR): void;
|
|
17687
|
+
MirroredByCSYSR(theA2: Mx3dGeCSYSR): Mx3dGeCylinder;
|
|
17688
|
+
Rotate(theA1: Mx3dGeAxis, theAng: number): void;
|
|
17689
|
+
Rotated(theA1: Mx3dGeAxis, theAng: number): Mx3dGeCylinder;
|
|
17690
|
+
Scale(theP: Mx3dGePoint, theS: number): void;
|
|
17691
|
+
Scaled(theP: Mx3dGePoint, theS: number): Mx3dGeCylinder;
|
|
17692
|
+
Transform(theT: Mx3dGeTrsf): void;
|
|
17693
|
+
Transformed(theT: Mx3dGeTrsf): Mx3dGeCylinder;
|
|
17694
|
+
TranslateByVec(theV: Mx3dGeVec): void;
|
|
17695
|
+
TranslatedByVec(theV: Mx3dGeVec): Mx3dGeCylinder;
|
|
17696
|
+
TranslateBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): void;
|
|
17697
|
+
TranslatedBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): Mx3dGeCylinder;
|
|
17698
|
+
Shape(H: number, Angle?: number): Mx3dShapeObject;
|
|
17699
|
+
}
|
|
17700
|
+
export declare class Mx3dDbDocument extends Mx3dDbObject {
|
|
17353
17701
|
constructor();
|
|
17354
17702
|
read(theFile: File, theFormat: MdGe.MxFormat): Promise<boolean>;
|
|
17355
|
-
getAccessLabel():
|
|
17356
|
-
getShapesLabel():
|
|
17357
|
-
getColorsLabel():
|
|
17358
|
-
getLayersLabel():
|
|
17359
|
-
addShapeLabel():
|
|
17360
|
-
removeShapeLabel(theLabel:
|
|
17361
|
-
removeComponent(theLabel:
|
|
17362
|
-
getTopFreeLabels():
|
|
17703
|
+
getAccessLabel(): Mx3dDbLabel;
|
|
17704
|
+
getShapesLabel(): Mx3dDbLabel;
|
|
17705
|
+
getColorsLabel(): Mx3dDbLabel;
|
|
17706
|
+
getLayersLabel(): Mx3dDbLabel;
|
|
17707
|
+
addShapeLabel(): Mx3dDbLabel;
|
|
17708
|
+
removeShapeLabel(theLabel: Mx3dDbLabel): boolean;
|
|
17709
|
+
removeComponent(theLabel: Mx3dDbLabel): void;
|
|
17710
|
+
getTopFreeLabels(): Mx3dDbLabel[];
|
|
17363
17711
|
getDocName(): string;
|
|
17364
|
-
getView():
|
|
17365
|
-
addColorLabel(theColor:
|
|
17712
|
+
getView(): Mx3dView;
|
|
17713
|
+
addColorLabel(theColor: Mx3dGeColor): Mx3dDbLabel;
|
|
17366
17714
|
write(theFilePath: string, theFormat: MdGe.MxFormat): boolean;
|
|
17715
|
+
newCommand(): void;
|
|
17716
|
+
abortCommand(): void;
|
|
17717
|
+
commitCommand(): boolean;
|
|
17718
|
+
undo(): boolean;
|
|
17719
|
+
redo(): boolean;
|
|
17367
17720
|
}
|
|
17368
|
-
export declare class
|
|
17721
|
+
export declare class Mx3dDbLabel extends Mx3dDbObject {
|
|
17369
17722
|
constructor(p?: object);
|
|
17370
|
-
setShape(theShape:
|
|
17371
|
-
getShape():
|
|
17723
|
+
setShape(theShape: Mx3dShapeObject): void;
|
|
17724
|
+
getShape(): Mx3dShapeObject;
|
|
17372
17725
|
hasChildLabel(): boolean;
|
|
17373
|
-
getChildLabels():
|
|
17726
|
+
getChildLabels(): Mx3dDbLabel[];
|
|
17374
17727
|
hasParentLabel(): boolean;
|
|
17375
|
-
getParentLabel():
|
|
17376
|
-
addChildLabel():
|
|
17377
|
-
addSubShape(theShape:
|
|
17728
|
+
getParentLabel(): Mx3dDbLabel;
|
|
17729
|
+
addChildLabel(): Mx3dDbLabel;
|
|
17730
|
+
addSubShape(theShape: Mx3dShapeObject): Mx3dDbLabel;
|
|
17378
17731
|
isReference(): boolean;
|
|
17379
17732
|
isAssembly(): boolean;
|
|
17380
17733
|
isSimpleShape(): boolean;
|
|
@@ -17384,87 +17737,89 @@ export declare class MxNewMx3dDbLabel extends MxNewMx3dDbObject {
|
|
|
17384
17737
|
isComponent(): boolean;
|
|
17385
17738
|
isCompound(): boolean;
|
|
17386
17739
|
isSubShape(): boolean;
|
|
17387
|
-
getReferredLabel():
|
|
17388
|
-
getLocation():
|
|
17389
|
-
addComponent(comp:
|
|
17740
|
+
getReferredLabel(): Mx3dDbLabel;
|
|
17741
|
+
getLocation(): Mx3dGeLocation;
|
|
17742
|
+
addComponent(comp: Mx3dDbLabel, Loc: Mx3dGeLocation): Mx3dDbLabel;
|
|
17743
|
+
setName(theName: string): void;
|
|
17744
|
+
hasShape(): boolean;
|
|
17390
17745
|
isSetColor(): boolean;
|
|
17391
|
-
setColor(theColor:
|
|
17392
|
-
getColor():
|
|
17746
|
+
setColor(theColor: Mx3dGeColor): void;
|
|
17747
|
+
getColor(): Mx3dGeColor;
|
|
17393
17748
|
getName(): string;
|
|
17394
17749
|
getEntry(): string;
|
|
17395
17750
|
getAttributeStr(): string;
|
|
17396
17751
|
setTexture(theFilePath: string, theScaleU?: number, theScaleV?: number, theRepeatU?: number, theRepeatV?: number, theOriginU?: number, theOriginV?: number): void;
|
|
17397
|
-
setMaterial(theMaterial:
|
|
17752
|
+
setMaterial(theMaterial: Mx3dGeMaterial): void;
|
|
17398
17753
|
}
|
|
17399
|
-
export declare class
|
|
17754
|
+
export declare class Mx3dLabelSequence extends Mx3dBaseObject {
|
|
17400
17755
|
constructor();
|
|
17401
17756
|
Length(): number;
|
|
17402
|
-
Value(theIndex: number):
|
|
17757
|
+
Value(theIndex: number): Mx3dDbLabel;
|
|
17403
17758
|
}
|
|
17404
|
-
export declare class
|
|
17759
|
+
export declare class Mx3dGeLocation extends Mx3dGeObject {
|
|
17405
17760
|
constructor();
|
|
17406
|
-
constructor(theTrsf:
|
|
17761
|
+
constructor(theTrsf: Mx3dGeTrsf);
|
|
17407
17762
|
IsIdentity(): boolean;
|
|
17408
17763
|
Identity(): void;
|
|
17409
17764
|
FirstPower(): number;
|
|
17410
|
-
NextLocation():
|
|
17411
|
-
Inverted():
|
|
17412
|
-
Multiplied(theLocation:
|
|
17413
|
-
Divided(Other:
|
|
17414
|
-
Predivided(Other:
|
|
17415
|
-
Powered(pwr: number):
|
|
17416
|
-
IsEqual(Other:
|
|
17417
|
-
IsDifferent(Other:
|
|
17765
|
+
NextLocation(): Mx3dGeLocation;
|
|
17766
|
+
Inverted(): Mx3dGeLocation;
|
|
17767
|
+
Multiplied(theLocation: Mx3dGeLocation): Mx3dGeLocation;
|
|
17768
|
+
Divided(Other: Mx3dGeLocation): Mx3dGeLocation;
|
|
17769
|
+
Predivided(Other: Mx3dGeLocation): Mx3dGeLocation;
|
|
17770
|
+
Powered(pwr: number): Mx3dGeLocation;
|
|
17771
|
+
IsEqual(Other: Mx3dGeLocation): boolean;
|
|
17772
|
+
IsDifferent(Other: Mx3dGeLocation): boolean;
|
|
17418
17773
|
Clear(): void;
|
|
17419
17774
|
ScalePrec(): number;
|
|
17420
17775
|
}
|
|
17421
|
-
export declare class
|
|
17776
|
+
export declare class Mx3dGePlane extends Mx3dGeObject {
|
|
17422
17777
|
constructor();
|
|
17423
|
-
constructor(theA3:
|
|
17424
|
-
constructor(theP:
|
|
17778
|
+
constructor(theA3: Mx3dGeCSYS);
|
|
17779
|
+
constructor(theP: Mx3dGePoint, theV: Mx3dGeDir);
|
|
17425
17780
|
constructor(theA: number, theB: number, theC: number, theD: number);
|
|
17426
|
-
SetAxis(theA1:
|
|
17427
|
-
SetLocation(theLoc:
|
|
17428
|
-
SetPosition(theA3:
|
|
17781
|
+
SetAxis(theA1: Mx3dGeAxis): void;
|
|
17782
|
+
SetLocation(theLoc: Mx3dGePoint): void;
|
|
17783
|
+
SetPosition(theA3: Mx3dGeCSYS): void;
|
|
17429
17784
|
UReverse(): void;
|
|
17430
17785
|
VReverse(): void;
|
|
17431
17786
|
Direct(): boolean;
|
|
17432
|
-
Axis():
|
|
17433
|
-
Location():
|
|
17434
|
-
Position():
|
|
17435
|
-
DistanceToPoint(theP:
|
|
17436
|
-
DistanceToPlane(theOther:
|
|
17437
|
-
SquareDistanceToPoint(theP:
|
|
17438
|
-
SquareDistanceToPlane(theOther:
|
|
17439
|
-
XAxis():
|
|
17440
|
-
YAxis():
|
|
17441
|
-
Contains(theP:
|
|
17442
|
-
MirrorByPoint(theP:
|
|
17443
|
-
MirroredByPoint(theP:
|
|
17444
|
-
MirrorByAxis(theA1:
|
|
17445
|
-
MirroredByAxis(theA1:
|
|
17446
|
-
MirrorByCSYSR(theA2:
|
|
17447
|
-
MirroredByCSYSR(theA2:
|
|
17448
|
-
Rotate(theA1:
|
|
17449
|
-
Rotated(theA1:
|
|
17450
|
-
Scale(theP:
|
|
17451
|
-
Scaled(theP:
|
|
17452
|
-
Transform(theT:
|
|
17453
|
-
Transformed(theT:
|
|
17454
|
-
TranslateByVec(theV:
|
|
17455
|
-
TranslatedByVec(theV:
|
|
17456
|
-
TranslateBy2Points(theP1:
|
|
17457
|
-
TranslatedBy2Points(theP1:
|
|
17458
|
-
Shape():
|
|
17459
|
-
Shape(UMin: number, UMax: number, VMin: number, VMax: number):
|
|
17460
|
-
}
|
|
17461
|
-
export declare class
|
|
17787
|
+
Axis(): Mx3dGeAxis;
|
|
17788
|
+
Location(): Mx3dGePoint;
|
|
17789
|
+
Position(): Mx3dGeCSYS;
|
|
17790
|
+
DistanceToPoint(theP: Mx3dGePoint): number;
|
|
17791
|
+
DistanceToPlane(theOther: Mx3dGePlane): number;
|
|
17792
|
+
SquareDistanceToPoint(theP: Mx3dGePoint): number;
|
|
17793
|
+
SquareDistanceToPlane(theOther: Mx3dGePlane): number;
|
|
17794
|
+
XAxis(): Mx3dGeAxis;
|
|
17795
|
+
YAxis(): Mx3dGeAxis;
|
|
17796
|
+
Contains(theP: Mx3dGePoint, theLinearTolerance: number): boolean;
|
|
17797
|
+
MirrorByPoint(theP: Mx3dGePoint): void;
|
|
17798
|
+
MirroredByPoint(theP: Mx3dGePoint): Mx3dGePlane;
|
|
17799
|
+
MirrorByAxis(theA1: Mx3dGeAxis): void;
|
|
17800
|
+
MirroredByAxis(theA1: Mx3dGeAxis): Mx3dGePlane;
|
|
17801
|
+
MirrorByCSYSR(theA2: Mx3dGeCSYSR): void;
|
|
17802
|
+
MirroredByCSYSR(theA2: Mx3dGeCSYSR): Mx3dGePlane;
|
|
17803
|
+
Rotate(theA1: Mx3dGeAxis, theAng: number): void;
|
|
17804
|
+
Rotated(theA1: Mx3dGeAxis, theAng: number): Mx3dGePlane;
|
|
17805
|
+
Scale(theP: Mx3dGePoint, theS: number): void;
|
|
17806
|
+
Scaled(theP: Mx3dGePoint, theS: number): Mx3dGePlane;
|
|
17807
|
+
Transform(theT: Mx3dGeTrsf): void;
|
|
17808
|
+
Transformed(theT: Mx3dGeTrsf): Mx3dGePlane;
|
|
17809
|
+
TranslateByVec(theV: Mx3dGeVec): void;
|
|
17810
|
+
TranslatedByVec(theV: Mx3dGeVec): Mx3dGePlane;
|
|
17811
|
+
TranslateBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): void;
|
|
17812
|
+
TranslatedBy2Points(theP1: Mx3dGePoint, theP2: Mx3dGePoint): Mx3dGePlane;
|
|
17813
|
+
Shape(): Mx3dShapeObject;
|
|
17814
|
+
Shape(UMin: number, UMax: number, VMin: number, VMax: number): Mx3dShapeObject;
|
|
17815
|
+
}
|
|
17816
|
+
export declare class Mx3dSymbolText extends Mx3dSymbolObject {
|
|
17462
17817
|
constructor();
|
|
17463
|
-
constructor(text: string, height: number, position:
|
|
17464
|
-
SetColor(theColor:
|
|
17818
|
+
constructor(text: string, height: number, position: Mx3dGePoint);
|
|
17819
|
+
SetColor(theColor: Mx3dGeColor): void;
|
|
17465
17820
|
SetColor(theR: number, theG: number, theB: number): void;
|
|
17466
17821
|
SetText(text: string): void;
|
|
17467
|
-
SetPositon(position:
|
|
17822
|
+
SetPositon(position: Mx3dGePoint): void;
|
|
17468
17823
|
SetHJustification(theHJust: MdGe.MxHorizontalTextAlignment): void;
|
|
17469
17824
|
SetVJustification(theVJust: MdGe.MxVerticalTextAlignment): void;
|
|
17470
17825
|
SetAngle(theAngle: number): void;
|
|
@@ -17472,11 +17827,11 @@ export declare class MxNewMx3dSymbolText extends MxNewMx3dSymbolObject {
|
|
|
17472
17827
|
SetHeight(height: number): void;
|
|
17473
17828
|
SetFontAspect(theFontAspect: MdGe.MxFontAspect): void;
|
|
17474
17829
|
SetFont(theFont: string): void;
|
|
17475
|
-
SetOrientation3D(theOrientation:
|
|
17830
|
+
SetOrientation3D(theOrientation: Mx3dGeCSYSR): void;
|
|
17476
17831
|
UnsetOrientation3D(): void;
|
|
17477
|
-
Position():
|
|
17832
|
+
Position(): Mx3dGePoint;
|
|
17478
17833
|
FontAspect(): MdGe.MxFontAspect;
|
|
17479
|
-
Orientation3D():
|
|
17834
|
+
Orientation3D(): Mx3dGeCSYSR;
|
|
17480
17835
|
HasOrientation3D(): boolean;
|
|
17481
17836
|
SetFlipping(theIsFlipping: boolean): void;
|
|
17482
17837
|
HasFlipping(): boolean;
|
|
@@ -17486,31 +17841,31 @@ export declare class MxNewMx3dSymbolText extends MxNewMx3dSymbolObject {
|
|
|
17486
17841
|
SetColorSubTitle(theR: number, theG: number, theB: number): void;
|
|
17487
17842
|
}
|
|
17488
17843
|
export declare class Mx3dShapeDownCast {
|
|
17489
|
-
static Vertex(S:
|
|
17490
|
-
static Edge(S:
|
|
17491
|
-
static Wire(S:
|
|
17492
|
-
static Face(S:
|
|
17493
|
-
static Shell(S:
|
|
17494
|
-
static Solid(S:
|
|
17495
|
-
static CompSolid(S:
|
|
17496
|
-
static Compound(S:
|
|
17844
|
+
static Vertex(S: Mx3dShapeObject): Mx3dShapeVertex;
|
|
17845
|
+
static Edge(S: Mx3dShapeObject): Mx3dShapeEdge;
|
|
17846
|
+
static Wire(S: Mx3dShapeObject): Mx3dShapeWire;
|
|
17847
|
+
static Face(S: Mx3dShapeObject): Mx3dShapeFace;
|
|
17848
|
+
static Shell(S: Mx3dShapeObject): Mx3dShapeShell;
|
|
17849
|
+
static Solid(S: Mx3dShapeObject): Mx3dShapeSolid;
|
|
17850
|
+
static CompSolid(S: Mx3dShapeObject): Mx3dShapeCompSolid;
|
|
17851
|
+
static Compound(S: Mx3dShapeObject): Mx3dShapeCompound;
|
|
17497
17852
|
}
|
|
17498
17853
|
export declare class Mx3dBrepCastGeom {
|
|
17499
|
-
static Surface(F:
|
|
17854
|
+
static Surface(F: Mx3dShapeFace): Mx3dGeomSurface;
|
|
17500
17855
|
}
|
|
17501
17856
|
export declare class Mx3dUtils {
|
|
17502
17857
|
static LoadFileFromUrl(theFileUrl: string, theSaveFileName: string): void;
|
|
17503
|
-
static LoadShapeFromFile(theFilePath: string, theFormat: MdGe.MxFormat):
|
|
17504
|
-
}
|
|
17505
|
-
export declare class
|
|
17506
|
-
constructor(A1:
|
|
17507
|
-
constructor(P:
|
|
17508
|
-
SetDirection(V:
|
|
17509
|
-
SetLocation(P:
|
|
17510
|
-
SetPosition(A1:
|
|
17511
|
-
Position():
|
|
17858
|
+
static LoadShapeFromFile(theFilePath: string, theFormat: MdGe.MxFormat): Mx3dShapeObject[];
|
|
17859
|
+
}
|
|
17860
|
+
export declare class Mx3dGeLine extends Mx3dGeCurve {
|
|
17861
|
+
constructor(A1: Mx3dGeAxis);
|
|
17862
|
+
constructor(P: Mx3dGePoint, V: Mx3dGeDir);
|
|
17863
|
+
SetDirection(V: Mx3dGeDir): void;
|
|
17864
|
+
SetLocation(P: Mx3dGePoint): void;
|
|
17865
|
+
SetPosition(A1: Mx3dGeAxis): void;
|
|
17866
|
+
Position(): Mx3dGeAxis;
|
|
17512
17867
|
Reverse(): void;
|
|
17513
|
-
Reversed():
|
|
17868
|
+
Reversed(): Mx3dGeLine;
|
|
17514
17869
|
ReversedParameter(U: number): number;
|
|
17515
17870
|
FirstParameter(): number;
|
|
17516
17871
|
LastParameter(): number;
|
|
@@ -17518,61 +17873,61 @@ export declare class MxNewMx3dGeLine extends MxNewMx3dGeCurve {
|
|
|
17518
17873
|
IsPeriodic(): boolean;
|
|
17519
17874
|
Continuity(): MdGe.MxGAShapeEnum;
|
|
17520
17875
|
IsCN(N: number): boolean;
|
|
17521
|
-
D0(U: number, P:
|
|
17522
|
-
D1(U: number, P:
|
|
17523
|
-
D2(U: number, P:
|
|
17524
|
-
D3(U: number, P:
|
|
17525
|
-
DN(U: number, N: number):
|
|
17526
|
-
Transform(T:
|
|
17527
|
-
TransformedParameter(U: number, T:
|
|
17528
|
-
ParametricTransformation(T:
|
|
17876
|
+
D0(U: number, P: Mx3dGePoint): void;
|
|
17877
|
+
D1(U: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
17878
|
+
D2(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
17879
|
+
D3(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
17880
|
+
DN(U: number, N: number): Mx3dGeVec;
|
|
17881
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
17882
|
+
TransformedParameter(U: number, T: Mx3dGeTrsf): number;
|
|
17883
|
+
ParametricTransformation(T: Mx3dGeTrsf): number;
|
|
17529
17884
|
Period(): number;
|
|
17530
|
-
Value(U: number):
|
|
17531
|
-
Edge(p1: number, p2: number):
|
|
17885
|
+
Value(U: number): Mx3dGePoint;
|
|
17886
|
+
Edge(p1: number, p2: number): Mx3dShapeEdge;
|
|
17532
17887
|
}
|
|
17533
|
-
export interface
|
|
17534
|
-
DynCast(theObject:
|
|
17888
|
+
export interface Mx3dGeomObject {
|
|
17889
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
17535
17890
|
}
|
|
17536
|
-
export declare class
|
|
17891
|
+
export declare class Mx3dGeomObject extends Mx3dBaseObject {
|
|
17537
17892
|
constructor(p?: object);
|
|
17538
|
-
MirrorByPoint(P:
|
|
17539
|
-
MirrorByAxis(A1:
|
|
17540
|
-
MirrorByCSYSR(A2:
|
|
17541
|
-
Rotate(A1:
|
|
17542
|
-
Scale(P:
|
|
17543
|
-
TranslateByVec(V:
|
|
17544
|
-
TranslateBy2Points(P1:
|
|
17545
|
-
MirroredByPoint(P:
|
|
17546
|
-
MirroredByAxis(A1:
|
|
17547
|
-
MirroredByCSYSR(A2:
|
|
17548
|
-
Rotated(A1:
|
|
17549
|
-
Scaled(P:
|
|
17550
|
-
Transformed(T:
|
|
17551
|
-
TranslatedByVec(V:
|
|
17552
|
-
TranslatedBy2Points(P1:
|
|
17553
|
-
}
|
|
17554
|
-
export declare class
|
|
17893
|
+
MirrorByPoint(P: Mx3dGePoint): void;
|
|
17894
|
+
MirrorByAxis(A1: Mx3dGeAxis): void;
|
|
17895
|
+
MirrorByCSYSR(A2: Mx3dGeCSYSR): void;
|
|
17896
|
+
Rotate(A1: Mx3dGeAxis, Ang: number): void;
|
|
17897
|
+
Scale(P: Mx3dGePoint, S: number): void;
|
|
17898
|
+
TranslateByVec(V: Mx3dGeVec): void;
|
|
17899
|
+
TranslateBy2Points(P1: Mx3dGePoint, P2: Mx3dGePoint): void;
|
|
17900
|
+
MirroredByPoint(P: Mx3dGePoint): this;
|
|
17901
|
+
MirroredByAxis(A1: Mx3dGeAxis): this;
|
|
17902
|
+
MirroredByCSYSR(A2: Mx3dGeCSYSR): this;
|
|
17903
|
+
Rotated(A1: Mx3dGeAxis, Ang: number): this;
|
|
17904
|
+
Scaled(P: Mx3dGePoint, S: number): this;
|
|
17905
|
+
Transformed(T: Mx3dGeTrsf): this;
|
|
17906
|
+
TranslatedByVec(V: Mx3dGeVec): this;
|
|
17907
|
+
TranslatedBy2Points(P1: Mx3dGePoint, P2: Mx3dGePoint): this;
|
|
17908
|
+
}
|
|
17909
|
+
export declare class Mx3dGeomCurve extends Mx3dGeomObject {
|
|
17555
17910
|
constructor(p?: object);
|
|
17556
17911
|
Reversed(): this;
|
|
17557
17912
|
Period(): number;
|
|
17558
|
-
Value(U: number):
|
|
17913
|
+
Value(U: number): Mx3dGePoint;
|
|
17559
17914
|
}
|
|
17560
|
-
export declare class
|
|
17915
|
+
export declare class Mx3dGeomConic extends Mx3dGeomCurve {
|
|
17561
17916
|
constructor(p?: object);
|
|
17562
|
-
SetAxis(theA1:
|
|
17563
|
-
SetLocation(theP:
|
|
17564
|
-
SetPosition(theA2:
|
|
17565
|
-
Axis():
|
|
17566
|
-
Location():
|
|
17567
|
-
Position():
|
|
17568
|
-
XAxis():
|
|
17569
|
-
YAxis():
|
|
17917
|
+
SetAxis(theA1: Mx3dGeAxis): void;
|
|
17918
|
+
SetLocation(theP: Mx3dGePoint): void;
|
|
17919
|
+
SetPosition(theA2: Mx3dGeCSYSR): void;
|
|
17920
|
+
Axis(): Mx3dGeAxis;
|
|
17921
|
+
Location(): Mx3dGePoint;
|
|
17922
|
+
Position(): Mx3dGeCSYSR;
|
|
17923
|
+
XAxis(): Mx3dGeAxis;
|
|
17924
|
+
YAxis(): Mx3dGeAxis;
|
|
17570
17925
|
Reverse(): void;
|
|
17571
17926
|
Continuity(): MdGe.MxGAShapeEnum;
|
|
17572
17927
|
IsCN(N: number): boolean;
|
|
17573
17928
|
}
|
|
17574
|
-
export declare class
|
|
17575
|
-
constructor(theCSYSR:
|
|
17929
|
+
export declare class Mx3dGeomCircle extends Mx3dGeomConic {
|
|
17930
|
+
constructor(theCSYSR: Mx3dGeCSYSR, theRadius: number);
|
|
17576
17931
|
SetRadius(R: number): void;
|
|
17577
17932
|
Radius(): number;
|
|
17578
17933
|
ReversedParameter(U: number): number;
|
|
@@ -17581,27 +17936,27 @@ export declare class MxNewMx3dGeomCircle extends MxNewMx3dGeomConic {
|
|
|
17581
17936
|
LastParameter(): number;
|
|
17582
17937
|
IsClosed(): boolean;
|
|
17583
17938
|
IsPeriodic(): boolean;
|
|
17584
|
-
D0(U: number, P:
|
|
17585
|
-
D1(U: number, P:
|
|
17586
|
-
D2(U: number, P:
|
|
17587
|
-
D3(U: number, P:
|
|
17588
|
-
DN(U: number, N: number):
|
|
17589
|
-
Transform(T:
|
|
17590
|
-
Copy():
|
|
17591
|
-
Edge(p1: number, p2: number):
|
|
17592
|
-
Wire():
|
|
17593
|
-
OffsetCurve(Offset: number, V:
|
|
17594
|
-
static MakeArcOfCircle(thePt1: UniPoint, thePt2: UniPoint, thePt3: UniPoint):
|
|
17595
|
-
DynCast(theObject:
|
|
17596
|
-
static DownCast(theObject:
|
|
17597
|
-
}
|
|
17598
|
-
export declare class
|
|
17599
|
-
constructor(A1:
|
|
17600
|
-
constructor(P:
|
|
17601
|
-
SetDirection(V:
|
|
17602
|
-
SetLocation(P:
|
|
17603
|
-
SetPosition(A1:
|
|
17604
|
-
Position():
|
|
17939
|
+
D0(U: number, P: Mx3dGePoint): void;
|
|
17940
|
+
D1(U: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
17941
|
+
D2(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
17942
|
+
D3(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
17943
|
+
DN(U: number, N: number): Mx3dGeVec;
|
|
17944
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
17945
|
+
Copy(): Mx3dGeomObject;
|
|
17946
|
+
Edge(p1: number, p2: number): Mx3dShapeEdge;
|
|
17947
|
+
Wire(): Mx3dShapeWire;
|
|
17948
|
+
OffsetCurve(Offset: number, V: Mx3dGeDir, isNotCheckC0: boolean): Mx3dShapeEdge;
|
|
17949
|
+
static MakeArcOfCircle(thePt1: UniPoint, thePt2: UniPoint, thePt3: UniPoint): Mx3dShapeEdge;
|
|
17950
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
17951
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomCircle;
|
|
17952
|
+
}
|
|
17953
|
+
export declare class Mx3dGeomLine extends Mx3dGeomCurve {
|
|
17954
|
+
constructor(A1: Mx3dGeAxis);
|
|
17955
|
+
constructor(P: Mx3dGePoint, V: Mx3dGeDir);
|
|
17956
|
+
SetDirection(V: Mx3dGeDir): void;
|
|
17957
|
+
SetLocation(P: Mx3dGePoint): void;
|
|
17958
|
+
SetPosition(A1: Mx3dGeAxis): void;
|
|
17959
|
+
Position(): Mx3dGeAxis;
|
|
17605
17960
|
Reverse(): void;
|
|
17606
17961
|
ReversedParameter(U: number): number;
|
|
17607
17962
|
FirstParameter(): number;
|
|
@@ -17610,31 +17965,31 @@ export declare class MxNewMx3dGeomLine extends MxNewMx3dGeomCurve {
|
|
|
17610
17965
|
IsPeriodic(): boolean;
|
|
17611
17966
|
Continuity(): MdGe.MxGAShapeEnum;
|
|
17612
17967
|
IsCN(N: number): boolean;
|
|
17613
|
-
D0(U: number, P:
|
|
17614
|
-
D1(U: number, P:
|
|
17615
|
-
D2(U: number, P:
|
|
17616
|
-
D3(U: number, P:
|
|
17617
|
-
DN(U: number, N: number):
|
|
17618
|
-
Transform(T:
|
|
17619
|
-
TransformedParameter(U: number, T:
|
|
17620
|
-
ParametricTransformation(T:
|
|
17621
|
-
Copy():
|
|
17622
|
-
Edge(p1: number, p2: number):
|
|
17623
|
-
OffsetCurve(Offset: number, V:
|
|
17624
|
-
DynCast(theObject:
|
|
17625
|
-
static DownCast(theObject:
|
|
17626
|
-
}
|
|
17627
|
-
export declare class
|
|
17628
|
-
constructor(A2:
|
|
17968
|
+
D0(U: number, P: Mx3dGePoint): void;
|
|
17969
|
+
D1(U: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
17970
|
+
D2(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
17971
|
+
D3(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
17972
|
+
DN(U: number, N: number): Mx3dGeVec;
|
|
17973
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
17974
|
+
TransformedParameter(U: number, T: Mx3dGeTrsf): number;
|
|
17975
|
+
ParametricTransformation(T: Mx3dGeTrsf): number;
|
|
17976
|
+
Copy(): Mx3dGeomObject;
|
|
17977
|
+
Edge(p1: number, p2: number): Mx3dShapeEdge;
|
|
17978
|
+
OffsetCurve(Offset: number, V: Mx3dGeDir, isNotCheckC0: boolean): Mx3dShapeEdge;
|
|
17979
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
17980
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomLine;
|
|
17981
|
+
}
|
|
17982
|
+
export declare class Mx3dGeomEllipse extends Mx3dGeomConic {
|
|
17983
|
+
constructor(A2: Mx3dGeCSYSR, MajorRadius: number, MinorRadius: number);
|
|
17629
17984
|
SetMajorRadius(MajorRadius: number): void;
|
|
17630
17985
|
SetMinorRadius(MinorRadius: number): void;
|
|
17631
17986
|
ReversedParameter(U: number): number;
|
|
17632
|
-
Directrix1():
|
|
17633
|
-
Directrix2():
|
|
17987
|
+
Directrix1(): Mx3dGeAxis;
|
|
17988
|
+
Directrix2(): Mx3dGeAxis;
|
|
17634
17989
|
Eccentricity(): number;
|
|
17635
17990
|
Focal(): number;
|
|
17636
|
-
Focus1():
|
|
17637
|
-
Focus2():
|
|
17991
|
+
Focus1(): Mx3dGePoint;
|
|
17992
|
+
Focus2(): Mx3dGePoint;
|
|
17638
17993
|
MajorRadius(): number;
|
|
17639
17994
|
MinorRadius(): number;
|
|
17640
17995
|
Parameter(): number;
|
|
@@ -17642,21 +17997,21 @@ export declare class MxNewMx3dGeomEllipse extends MxNewMx3dGeomConic {
|
|
|
17642
17997
|
LastParameter(): number;
|
|
17643
17998
|
IsClosed(): boolean;
|
|
17644
17999
|
IsPeriodic(): boolean;
|
|
17645
|
-
D0(U: number, P:
|
|
17646
|
-
D1(U: number, P:
|
|
17647
|
-
D2(U: number, P:
|
|
17648
|
-
D3(U: number, P:
|
|
17649
|
-
DN(U: number, N: number):
|
|
17650
|
-
Transform(T:
|
|
17651
|
-
Copy():
|
|
17652
|
-
Edge(p1: number, p2: number):
|
|
17653
|
-
Wire():
|
|
17654
|
-
OffsetCurve(Offset: number, V:
|
|
17655
|
-
DynCast(theObject:
|
|
17656
|
-
static DownCast(theObject:
|
|
17657
|
-
}
|
|
17658
|
-
export declare class
|
|
17659
|
-
constructor(A2:
|
|
18000
|
+
D0(U: number, P: Mx3dGePoint): void;
|
|
18001
|
+
D1(U: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
18002
|
+
D2(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
18003
|
+
D3(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
18004
|
+
DN(U: number, N: number): Mx3dGeVec;
|
|
18005
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18006
|
+
Copy(): Mx3dGeomObject;
|
|
18007
|
+
Edge(p1: number, p2: number): Mx3dShapeEdge;
|
|
18008
|
+
Wire(): Mx3dShapeWire;
|
|
18009
|
+
OffsetCurve(Offset: number, V: Mx3dGeDir, isNotCheckC0: boolean): Mx3dShapeEdge;
|
|
18010
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18011
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomEllipse;
|
|
18012
|
+
}
|
|
18013
|
+
export declare class Mx3dGeomHyperbola extends Mx3dGeomConic {
|
|
18014
|
+
constructor(A2: Mx3dGeCSYSR, MajorRadius: number, MinorRadius: number);
|
|
17660
18015
|
SetMajorRadius(MajorRadius: number): void;
|
|
17661
18016
|
SetMinorRadius(MinorRadius: number): void;
|
|
17662
18017
|
ReversedParameter(U: number): number;
|
|
@@ -17664,244 +18019,202 @@ export declare class MxNewMx3dGeomHyperbola extends MxNewMx3dGeomConic {
|
|
|
17664
18019
|
LastParameter(): number;
|
|
17665
18020
|
IsClosed(): boolean;
|
|
17666
18021
|
IsPeriodic(): boolean;
|
|
17667
|
-
Asymptote1():
|
|
17668
|
-
Asymptote2():
|
|
17669
|
-
ConjugateBranch1():
|
|
17670
|
-
ConjugateBranch2():
|
|
17671
|
-
Directrix1():
|
|
17672
|
-
Directrix2():
|
|
18022
|
+
Asymptote1(): Mx3dGeAxis;
|
|
18023
|
+
Asymptote2(): Mx3dGeAxis;
|
|
18024
|
+
ConjugateBranch1(): Mx3dGeomHyperbola;
|
|
18025
|
+
ConjugateBranch2(): Mx3dGeomHyperbola;
|
|
18026
|
+
Directrix1(): Mx3dGeAxis;
|
|
18027
|
+
Directrix2(): Mx3dGeAxis;
|
|
17673
18028
|
Eccentricity(): number;
|
|
17674
18029
|
Focal(): number;
|
|
17675
|
-
Focus1():
|
|
17676
|
-
Focus2():
|
|
18030
|
+
Focus1(): Mx3dGePoint;
|
|
18031
|
+
Focus2(): Mx3dGePoint;
|
|
17677
18032
|
MajorRadius(): number;
|
|
17678
18033
|
MinorRadius(): number;
|
|
17679
|
-
OtherBranch():
|
|
18034
|
+
OtherBranch(): Mx3dGeomHyperbola;
|
|
17680
18035
|
Parameter(): number;
|
|
17681
|
-
D0(U: number, P:
|
|
17682
|
-
D1(U: number, P:
|
|
17683
|
-
D2(U: number, P:
|
|
17684
|
-
D3(U: number, P:
|
|
17685
|
-
DN(U: number, N: number):
|
|
17686
|
-
Transform(T:
|
|
17687
|
-
Copy():
|
|
17688
|
-
Edge(p1: number, p2: number):
|
|
17689
|
-
OffsetCurve(Offset: number, V:
|
|
17690
|
-
DynCast(theObject:
|
|
17691
|
-
static DownCast(theObject:
|
|
17692
|
-
}
|
|
17693
|
-
export declare class
|
|
17694
|
-
constructor(A2:
|
|
18036
|
+
D0(U: number, P: Mx3dGePoint): void;
|
|
18037
|
+
D1(U: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
18038
|
+
D2(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
18039
|
+
D3(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
18040
|
+
DN(U: number, N: number): Mx3dGeVec;
|
|
18041
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18042
|
+
Copy(): Mx3dGeomObject;
|
|
18043
|
+
Edge(p1: number, p2: number): Mx3dShapeEdge;
|
|
18044
|
+
OffsetCurve(Offset: number, V: Mx3dGeDir, isNotCheckC0: boolean): Mx3dShapeEdge;
|
|
18045
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18046
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomHyperbola;
|
|
18047
|
+
}
|
|
18048
|
+
export declare class Mx3dGeomParabola extends Mx3dGeomConic {
|
|
18049
|
+
constructor(A2: Mx3dGeCSYSR, Focal: number);
|
|
17695
18050
|
SetFocal(Focal: number): void;
|
|
17696
18051
|
ReversedParameter(U: number): number;
|
|
17697
18052
|
FirstParameter(): number;
|
|
17698
18053
|
LastParameter(): number;
|
|
17699
18054
|
IsClosed(): boolean;
|
|
17700
18055
|
IsPeriodic(): boolean;
|
|
17701
|
-
Directrix():
|
|
18056
|
+
Directrix(): Mx3dGeAxis;
|
|
17702
18057
|
Eccentricity(): number;
|
|
17703
|
-
Focus():
|
|
18058
|
+
Focus(): Mx3dGePoint;
|
|
17704
18059
|
Focal(): number;
|
|
17705
18060
|
Parameter(): number;
|
|
17706
|
-
D0(U: number, P:
|
|
17707
|
-
D1(U: number, P:
|
|
17708
|
-
D2(U: number, P:
|
|
17709
|
-
D3(U: number, P:
|
|
17710
|
-
DN(U: number, N: number):
|
|
17711
|
-
Transform(T:
|
|
17712
|
-
TransformedParameter(U: number, T:
|
|
17713
|
-
ParametricTransformation(T:
|
|
17714
|
-
Copy():
|
|
17715
|
-
Edge(p1: number, p2: number):
|
|
17716
|
-
OffsetCurve(Offset: number, V:
|
|
17717
|
-
DynCast(theObject:
|
|
17718
|
-
static DownCast(theObject:
|
|
17719
|
-
}
|
|
17720
|
-
export declare class
|
|
18061
|
+
D0(U: number, P: Mx3dGePoint): void;
|
|
18062
|
+
D1(U: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
18063
|
+
D2(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
18064
|
+
D3(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
18065
|
+
DN(U: number, N: number): Mx3dGeVec;
|
|
18066
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18067
|
+
TransformedParameter(U: number, T: Mx3dGeTrsf): number;
|
|
18068
|
+
ParametricTransformation(T: Mx3dGeTrsf): number;
|
|
18069
|
+
Copy(): Mx3dGeomObject;
|
|
18070
|
+
Edge(p1: number, p2: number): Mx3dShapeEdge;
|
|
18071
|
+
OffsetCurve(Offset: number, V: Mx3dGeDir, isNotCheckC0: boolean): Mx3dShapeEdge;
|
|
18072
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18073
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomParabola;
|
|
18074
|
+
}
|
|
18075
|
+
export declare class Mx3dMkObject extends Mx3dBaseObject {
|
|
17721
18076
|
constructor(p?: object);
|
|
17722
18077
|
}
|
|
17723
|
-
export declare class
|
|
18078
|
+
export declare class Mx3dMkBox extends Mx3dMkObject {
|
|
17724
18079
|
constructor(thePnt1: UniPoint, thePnt2: UniPoint);
|
|
17725
18080
|
constructor(theDX: number, theDY: number, theDZ: number);
|
|
17726
|
-
constructor(theAxes:
|
|
18081
|
+
constructor(theAxes: Mx3dGeCSYSR, theDX: number, theDY: number, theDZ: number);
|
|
17727
18082
|
Build(): void;
|
|
17728
|
-
Shape():
|
|
17729
|
-
Shell():
|
|
17730
|
-
Solid():
|
|
17731
|
-
BottomFace():
|
|
17732
|
-
BackFace():
|
|
17733
|
-
FrontFace():
|
|
17734
|
-
LeftFace():
|
|
17735
|
-
RightFace():
|
|
17736
|
-
TopFace():
|
|
18083
|
+
Shape(): Mx3dShapeObject;
|
|
18084
|
+
Shell(): Mx3dShapeShell;
|
|
18085
|
+
Solid(): Mx3dShapeSolid;
|
|
18086
|
+
BottomFace(): Mx3dShapeFace;
|
|
18087
|
+
BackFace(): Mx3dShapeFace;
|
|
18088
|
+
FrontFace(): Mx3dShapeFace;
|
|
18089
|
+
LeftFace(): Mx3dShapeFace;
|
|
18090
|
+
RightFace(): Mx3dShapeFace;
|
|
18091
|
+
TopFace(): Mx3dShapeFace;
|
|
17737
18092
|
IsDone(): boolean;
|
|
17738
18093
|
}
|
|
17739
|
-
export declare class
|
|
17740
|
-
constructor(Axes:
|
|
18094
|
+
export declare class Mx3dMkCone extends Mx3dMkObject {
|
|
18095
|
+
constructor(Axes: Mx3dGeCSYSR, R1: number, R2: number, H: number, angle?: number);
|
|
17741
18096
|
Build(): void;
|
|
17742
|
-
Shape():
|
|
17743
|
-
Face():
|
|
17744
|
-
Shell():
|
|
17745
|
-
Solid():
|
|
18097
|
+
Shape(): Mx3dShapeObject;
|
|
18098
|
+
Face(): Mx3dShapeFace;
|
|
18099
|
+
Shell(): Mx3dShapeShell;
|
|
18100
|
+
Solid(): Mx3dShapeSolid;
|
|
17746
18101
|
IsDone(): boolean;
|
|
17747
18102
|
}
|
|
17748
|
-
export declare class
|
|
17749
|
-
constructor(Axes:
|
|
18103
|
+
export declare class Mx3dMkCylinder extends Mx3dMkObject {
|
|
18104
|
+
constructor(Axes: Mx3dGeCSYSR, R: number, H: number, Angle?: number);
|
|
17750
18105
|
Build(): void;
|
|
17751
|
-
Shape():
|
|
17752
|
-
Face():
|
|
17753
|
-
Shell():
|
|
17754
|
-
Solid():
|
|
18106
|
+
Shape(): Mx3dShapeObject;
|
|
18107
|
+
Face(): Mx3dShapeFace;
|
|
18108
|
+
Shell(): Mx3dShapeShell;
|
|
18109
|
+
Solid(): Mx3dShapeSolid;
|
|
17755
18110
|
IsDone(): boolean;
|
|
17756
18111
|
}
|
|
17757
|
-
export declare class
|
|
17758
|
-
constructor(S:
|
|
18112
|
+
export declare class Mx3dMkRevol extends Mx3dMkObject {
|
|
18113
|
+
constructor(S: Mx3dShapeObject, A: Mx3dGeAxis, D?: number);
|
|
17759
18114
|
Build(): void;
|
|
17760
|
-
Shape():
|
|
18115
|
+
Shape(): Mx3dShapeObject;
|
|
17761
18116
|
IsDone(): boolean;
|
|
17762
18117
|
}
|
|
17763
|
-
export declare class
|
|
17764
|
-
constructor(Axes:
|
|
17765
|
-
constructor(Axes:
|
|
17766
|
-
constructor(Axes:
|
|
17767
|
-
constructor(Axes:
|
|
18118
|
+
export declare class Mx3dMkSphere extends Mx3dMkObject {
|
|
18119
|
+
constructor(Axes: Mx3dGeCSYSR, R: number);
|
|
18120
|
+
constructor(Axes: Mx3dGeCSYSR, R: number, angle: number);
|
|
18121
|
+
constructor(Axes: Mx3dGeCSYSR, R: number, angle1: number, angle2: number);
|
|
18122
|
+
constructor(Axes: Mx3dGeCSYSR, R: number, angle1: number, angle2: number, angle3: number);
|
|
17768
18123
|
Build(): void;
|
|
17769
|
-
Shape():
|
|
17770
|
-
Face():
|
|
17771
|
-
Shell():
|
|
17772
|
-
Solid():
|
|
18124
|
+
Shape(): Mx3dShapeObject;
|
|
18125
|
+
Face(): Mx3dShapeFace;
|
|
18126
|
+
Shell(): Mx3dShapeShell;
|
|
18127
|
+
Solid(): Mx3dShapeSolid;
|
|
17773
18128
|
IsDone(): boolean;
|
|
17774
18129
|
}
|
|
17775
|
-
export declare class
|
|
17776
|
-
constructor(Axes:
|
|
17777
|
-
constructor(Axes:
|
|
17778
|
-
constructor(Axes:
|
|
17779
|
-
constructor(Axes:
|
|
18130
|
+
export declare class Mx3dMkTorus extends Mx3dMkObject {
|
|
18131
|
+
constructor(Axes: Mx3dGeCSYSR, R1: number, R2: number);
|
|
18132
|
+
constructor(Axes: Mx3dGeCSYSR, R1: number, R2: number, angle: number);
|
|
18133
|
+
constructor(Axes: Mx3dGeCSYSR, R1: number, R2: number, angle1: number, angle2: number);
|
|
18134
|
+
constructor(Axes: Mx3dGeCSYSR, R1: number, R2: number, angle1: number, angle2: number, angle: number);
|
|
17780
18135
|
Build(): void;
|
|
17781
|
-
Shape():
|
|
17782
|
-
Face():
|
|
17783
|
-
Shell():
|
|
17784
|
-
Solid():
|
|
18136
|
+
Shape(): Mx3dShapeObject;
|
|
18137
|
+
Face(): Mx3dShapeFace;
|
|
18138
|
+
Shell(): Mx3dShapeShell;
|
|
18139
|
+
Solid(): Mx3dShapeSolid;
|
|
17785
18140
|
IsDone(): boolean;
|
|
17786
18141
|
}
|
|
17787
|
-
export declare class
|
|
17788
|
-
constructor(Spine:
|
|
17789
|
-
constructor(Spine:
|
|
18142
|
+
export declare class Mx3dMkPipe extends Mx3dMkObject {
|
|
18143
|
+
constructor(Spine: Mx3dShapeWire, Profile: Mx3dShapeObject);
|
|
18144
|
+
constructor(Spine: Mx3dShapeWire, Profile: Mx3dShapeObject, aMode: MdGe.MxGFTrihedron, ForceApproxC1: boolean);
|
|
17790
18145
|
Build(): void;
|
|
17791
|
-
Shape():
|
|
18146
|
+
Shape(): Mx3dShapeObject;
|
|
17792
18147
|
IsDone(): boolean;
|
|
17793
18148
|
}
|
|
17794
|
-
export declare class
|
|
17795
|
-
constructor(S:
|
|
17796
|
-
constructor(S:
|
|
18149
|
+
export declare class Mx3dMkPrism extends Mx3dMkObject {
|
|
18150
|
+
constructor(S: Mx3dShapeObject, V: Mx3dGeVec, Copy: boolean, Canonize: boolean);
|
|
18151
|
+
constructor(S: Mx3dShapeObject, D: Mx3dGeDir, Inf: boolean, Copy: boolean, Canonize: boolean);
|
|
17797
18152
|
Build(): void;
|
|
17798
|
-
Shape():
|
|
18153
|
+
Shape(): Mx3dShapeObject;
|
|
17799
18154
|
IsDone(): boolean;
|
|
17800
18155
|
}
|
|
17801
|
-
export declare class
|
|
18156
|
+
export declare class Mx3dMkWedge extends Mx3dMkObject {
|
|
17802
18157
|
constructor(dx: number, dy: number, dz: number, ltx: number);
|
|
17803
|
-
constructor(Axes:
|
|
18158
|
+
constructor(Axes: Mx3dGeCSYSR, dx: number, dy: number, dz: number, ltx: number);
|
|
17804
18159
|
constructor(dx: number, dy: number, dz: number, xmin: number, zmin: number, xmax: number, zmax: number);
|
|
17805
|
-
constructor(Axes:
|
|
18160
|
+
constructor(Axes: Mx3dGeCSYSR, dx: number, dy: number, dz: number, xmin: number, zmin: number, xmax: number, zmax: number);
|
|
17806
18161
|
Build(): void;
|
|
17807
|
-
Shape():
|
|
17808
|
-
Shell():
|
|
17809
|
-
Solid():
|
|
18162
|
+
Shape(): Mx3dShapeObject;
|
|
18163
|
+
Shell(): Mx3dShapeShell;
|
|
18164
|
+
Solid(): Mx3dShapeSolid;
|
|
17810
18165
|
IsDone(): boolean;
|
|
17811
18166
|
}
|
|
17812
|
-
export declare class
|
|
18167
|
+
export declare class Mx3dMkLoft extends Mx3dMkObject {
|
|
17813
18168
|
constructor(isSolid?: boolean, ruled?: boolean, pres3d?: number);
|
|
17814
|
-
AddWire(wire:
|
|
17815
|
-
AddVertex(aVertex:
|
|
18169
|
+
AddWire(wire: Mx3dShapeWire): void;
|
|
18170
|
+
AddVertex(aVertex: Mx3dShapeVertex): void;
|
|
17816
18171
|
SetSmoothing(UseSmoothing: boolean): void;
|
|
17817
18172
|
SetContinuity(C: MdGe.MxGAShapeEnum): void;
|
|
17818
18173
|
Continuity(): MdGe.MxGAShapeEnum;
|
|
17819
18174
|
UseSmoothing(): boolean;
|
|
17820
18175
|
Build(): void;
|
|
17821
|
-
Shape():
|
|
18176
|
+
Shape(): Mx3dShapeObject;
|
|
17822
18177
|
IsDone(): boolean;
|
|
17823
18178
|
}
|
|
17824
|
-
export declare class
|
|
18179
|
+
export declare class Mx3dMkPolygon extends Mx3dMkObject {
|
|
17825
18180
|
constructor();
|
|
17826
|
-
Add(P:
|
|
18181
|
+
Add(P: Mx3dGePoint): void;
|
|
17827
18182
|
Added(): boolean;
|
|
17828
18183
|
Close(): void;
|
|
17829
|
-
FirstVertex():
|
|
17830
|
-
LastVertex():
|
|
18184
|
+
FirstVertex(): Mx3dShapeVertex;
|
|
18185
|
+
LastVertex(): Mx3dShapeVertex;
|
|
17831
18186
|
Build(): void;
|
|
17832
|
-
Shape():
|
|
18187
|
+
Shape(): Mx3dShapeObject;
|
|
17833
18188
|
IsDone(): boolean;
|
|
17834
|
-
Edge():
|
|
17835
|
-
Wire():
|
|
18189
|
+
Edge(): Mx3dShapeEdge;
|
|
18190
|
+
Wire(): Mx3dShapeWire;
|
|
17836
18191
|
}
|
|
17837
|
-
export declare class
|
|
17838
|
-
constructor(theWire:
|
|
18192
|
+
export declare class Mx3dMkFace extends Mx3dMkObject {
|
|
18193
|
+
constructor(theWire: Mx3dShapeWire, OnlyPlane?: boolean);
|
|
17839
18194
|
Build(): void;
|
|
17840
|
-
Shape():
|
|
17841
|
-
Face():
|
|
18195
|
+
Shape(): Mx3dShapeObject;
|
|
18196
|
+
Face(): Mx3dShapeFace;
|
|
17842
18197
|
IsDone(): boolean;
|
|
17843
18198
|
}
|
|
17844
|
-
export declare class
|
|
18199
|
+
export declare class Mx3dMkThickSolid extends Mx3dMkObject {
|
|
17845
18200
|
constructor();
|
|
17846
|
-
MakeThickSolidBySimple(theS:
|
|
17847
|
-
MakeThickSolidByJoin(S:
|
|
18201
|
+
MakeThickSolidBySimple(theS: Mx3dShapeObject, theOffsetValue: number): void;
|
|
18202
|
+
MakeThickSolidByJoin(S: Mx3dShapeObject, ClosingFaces: Mx3dShapeObject[], Offset: number, Tol: number, Mode?: MdGe.MxOffsetModeEnum, Intersection?: boolean, SelfInter?: boolean, Join?: MdGe.MxGAJoinTypeEnum, RemoveIntEdges?: boolean): void;
|
|
17848
18203
|
Build(): void;
|
|
17849
|
-
Shape():
|
|
18204
|
+
Shape(): Mx3dShapeObject;
|
|
17850
18205
|
IsDone(): boolean;
|
|
17851
18206
|
}
|
|
17852
18207
|
export declare class Mx3dWireTool {
|
|
17853
|
-
static ConnectEdgesToWires(edges:
|
|
17854
|
-
static ConnectWiresToWires(wires:
|
|
17855
|
-
static EdgeToWire(theEdge:
|
|
17856
|
-
}
|
|
17857
|
-
/**
|
|
17858
|
-
* 表示二维点数组。
|
|
17859
|
-
*/
|
|
17860
|
-
export declare class MxNewMdGeArray2OfPnt extends MxNewMx3dBaseObject {
|
|
17861
|
-
constructor(p1?: number | MxNewMx3dGePoint | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
17862
|
-
Init(thePoint: MxNewMx3dGePoint): void;
|
|
17863
|
-
Size(): number;
|
|
17864
|
-
Length(): number;
|
|
17865
|
-
NbRows(): number;
|
|
17866
|
-
NbColumns(): number;
|
|
17867
|
-
RowLength(): number;
|
|
17868
|
-
ColLength(): number;
|
|
17869
|
-
LowerRow(): number;
|
|
17870
|
-
UpperRow(): number;
|
|
17871
|
-
LowerCol(): number;
|
|
17872
|
-
UpperCol(): number;
|
|
17873
|
-
IsDeletable(): boolean;
|
|
17874
|
-
Value(theRow: number, theCol: number): MxNewMx3dGePoint;
|
|
17875
|
-
SetValue(theRow: number, theCol: number, thePoint: MxNewMx3dGePoint): void;
|
|
17876
|
-
Resize(theRowLower: number, theRowUpper: number, theColLower: number, theColUpper: number, theToCopyData: boolean): void;
|
|
17877
|
-
}
|
|
17878
|
-
/**
|
|
17879
|
-
* 表示二维实数数组。
|
|
17880
|
-
*/
|
|
17881
|
-
export declare class MxNewMdGeArray2OfReal extends MxNewMx3dBaseObject {
|
|
17882
|
-
constructor(p1?: number | object, p2?: number, p3?: number, p4?: number, p5?: number);
|
|
17883
|
-
Init(theReal: number): void;
|
|
17884
|
-
Size(): number;
|
|
17885
|
-
Length(): number;
|
|
17886
|
-
NbRows(): number;
|
|
17887
|
-
NbColumns(): number;
|
|
17888
|
-
RowLength(): number;
|
|
17889
|
-
ColLength(): number;
|
|
17890
|
-
LowerRow(): number;
|
|
17891
|
-
UpperRow(): number;
|
|
17892
|
-
LowerCol(): number;
|
|
17893
|
-
UpperCol(): number;
|
|
17894
|
-
IsDeletable(): boolean;
|
|
17895
|
-
Value(theRow: number, theCol: number): number;
|
|
17896
|
-
SetValue(theRow: number, theCol: number, theReal: number): void;
|
|
17897
|
-
Resize(theRowLower: number, theRowUpper: number, theColLower: number, theColUpper: number, theToCopyData: boolean): void;
|
|
18208
|
+
static ConnectEdgesToWires(edges: Mx3dShapeObject[], toler: number, shared: boolean): Mx3dShapeObject[];
|
|
18209
|
+
static ConnectWiresToWires(wires: Mx3dShapeObject[], toler: number, shared: boolean): Mx3dShapeObject[];
|
|
18210
|
+
static EdgeToWire(theEdge: Mx3dShapeEdge): Mx3dShapeWire;
|
|
17898
18211
|
}
|
|
17899
|
-
export declare class
|
|
18212
|
+
export declare class Mx3dGeomBoundedCurve extends Mx3dGeomCurve {
|
|
17900
18213
|
constructor(p?: object);
|
|
17901
18214
|
}
|
|
17902
|
-
export declare class
|
|
17903
|
-
constructor(Poles:
|
|
17904
|
-
constructor(Poles:
|
|
18215
|
+
export declare class Mx3dGeomBSplineCurve extends Mx3dGeomBoundedCurve {
|
|
18216
|
+
constructor(Poles: Mx3dGePoint[], Knots: number[], Multiplicities: number[], Degree: number);
|
|
18217
|
+
constructor(Poles: Mx3dGePoint[], Weights: number[], Knots: number[], Multiplicities: number[], Degree: number);
|
|
17905
18218
|
IncreaseDegree(Degree: number): void;
|
|
17906
18219
|
IncreaseMultiplicity(Index: number, M: number): void;
|
|
17907
18220
|
IncreaseMultiplicity(I1: number, I2: number, M: number): void;
|
|
@@ -17929,18 +18242,18 @@ export declare class MxNewMx3dGeomBSplineCurve extends MxNewMx3dGeomBoundedCurve
|
|
|
17929
18242
|
IsRational(): boolean;
|
|
17930
18243
|
Continuity(): MdGe.MxGAShapeEnum;
|
|
17931
18244
|
Degree(): number;
|
|
17932
|
-
D0(U: number, P:
|
|
17933
|
-
D1(U: number, P:
|
|
17934
|
-
D2(U: number, P:
|
|
17935
|
-
D3(U: number, P:
|
|
17936
|
-
DN(U: number, N: number):
|
|
17937
|
-
LocalValue(U: number, FromK1: number, ToK2: number):
|
|
17938
|
-
LocalD0(U: number, FromK1: number, ToK2: number, P:
|
|
17939
|
-
LocalD1(U: number, FromK1: number, ToK2: number, P:
|
|
17940
|
-
LocalD2(U: number, FromK1: number, ToK2: number, P:
|
|
17941
|
-
LocalD3(U: number, FromK1: number, ToK2: number, P:
|
|
17942
|
-
LocalDN(U: number, FromK1: number, ToK2: number, N: number):
|
|
17943
|
-
EndPoint():
|
|
18245
|
+
D0(U: number, P: Mx3dGePoint): void;
|
|
18246
|
+
D1(U: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
18247
|
+
D2(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
18248
|
+
D3(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
18249
|
+
DN(U: number, N: number): Mx3dGeVec;
|
|
18250
|
+
LocalValue(U: number, FromK1: number, ToK2: number): Mx3dGePoint;
|
|
18251
|
+
LocalD0(U: number, FromK1: number, ToK2: number, P: Mx3dGePoint): void;
|
|
18252
|
+
LocalD1(U: number, FromK1: number, ToK2: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
18253
|
+
LocalD2(U: number, FromK1: number, ToK2: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
18254
|
+
LocalD3(U: number, FromK1: number, ToK2: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
18255
|
+
LocalDN(U: number, FromK1: number, ToK2: number, N: number): Mx3dGeVec;
|
|
18256
|
+
EndPoint(): Mx3dGePoint;
|
|
17944
18257
|
FirstUKnotIndex(): number;
|
|
17945
18258
|
FirstParameter(): number;
|
|
17946
18259
|
Knot(Index: number): number;
|
|
@@ -17951,30 +18264,30 @@ export declare class MxNewMx3dGeomBSplineCurve extends MxNewMx3dGeomBoundedCurve
|
|
|
17951
18264
|
Multiplicities(): number[];
|
|
17952
18265
|
NbKnots(): number;
|
|
17953
18266
|
NbPoles(): number;
|
|
17954
|
-
Pole(Index: number):
|
|
17955
|
-
Poles():
|
|
17956
|
-
StartPoint():
|
|
18267
|
+
Pole(Index: number): Mx3dGePoint;
|
|
18268
|
+
Poles(): Mx3dGePoint[];
|
|
18269
|
+
StartPoint(): Mx3dGePoint;
|
|
17957
18270
|
Weight(Index: number): number;
|
|
17958
18271
|
Weights(): number[];
|
|
17959
|
-
Transform(T:
|
|
17960
|
-
Copy():
|
|
17961
|
-
Edge(p1: number, p2: number):
|
|
17962
|
-
Wire():
|
|
17963
|
-
OffsetCurve(Offset: number, V: UniDir, isNotCheckC0: boolean):
|
|
17964
|
-
IsEqual(theOther:
|
|
17965
|
-
DynCast(theObject:
|
|
17966
|
-
static DownCast(theObject:
|
|
17967
|
-
}
|
|
17968
|
-
export declare class
|
|
17969
|
-
constructor(CurvePoles:
|
|
18272
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18273
|
+
Copy(): Mx3dGeomObject;
|
|
18274
|
+
Edge(p1: number, p2: number): Mx3dShapeEdge;
|
|
18275
|
+
Wire(): Mx3dShapeWire;
|
|
18276
|
+
OffsetCurve(Offset: number, V: UniDir, isNotCheckC0: boolean): Mx3dShapeEdge;
|
|
18277
|
+
IsEqual(theOther: Mx3dGeomBSplineCurve, thePreci: number): boolean;
|
|
18278
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18279
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomBSplineCurve;
|
|
18280
|
+
}
|
|
18281
|
+
export declare class Mx3dGeomBezierCurve extends Mx3dGeomBoundedCurve {
|
|
18282
|
+
constructor(CurvePoles: Mx3dGePoint[], PoleWeights?: number[]);
|
|
17970
18283
|
Increase(Degree: number): void;
|
|
17971
|
-
InsertPoleAfter(Index: number, P:
|
|
17972
|
-
InsertPoleBefore(Index: number, P:
|
|
18284
|
+
InsertPoleAfter(Index: number, P: Mx3dGePoint, Weight?: number): void;
|
|
18285
|
+
InsertPoleBefore(Index: number, P: Mx3dGePoint, Weight?: number): void;
|
|
17973
18286
|
RemovePole(Index: number): void;
|
|
17974
18287
|
Reverse(): void;
|
|
17975
18288
|
ReversedParameter(U: number): number;
|
|
17976
18289
|
Segment(U1: number, U2: number): void;
|
|
17977
|
-
SetPole(Index: number, P:
|
|
18290
|
+
SetPole(Index: number, P: Mx3dGePoint, Weight?: number): void;
|
|
17978
18291
|
SetWeight(Index: number, Weight: number): void;
|
|
17979
18292
|
IsClosed(): boolean;
|
|
17980
18293
|
IsCN(N: number): boolean;
|
|
@@ -17982,49 +18295,49 @@ export declare class MxNewMx3dGeomBezierCurve extends MxNewMx3dGeomBoundedCurve
|
|
|
17982
18295
|
IsRational(): boolean;
|
|
17983
18296
|
Continuity(): MdGe.MxGAShapeEnum;
|
|
17984
18297
|
Degree(): number;
|
|
17985
|
-
D0(U: number, P:
|
|
17986
|
-
D1(U: number, P:
|
|
17987
|
-
D2(U: number, P:
|
|
17988
|
-
D3(U: number, P:
|
|
17989
|
-
DN(U: number, N: number):
|
|
17990
|
-
StartPoint():
|
|
17991
|
-
EndPoint():
|
|
18298
|
+
D0(U: number, P: Mx3dGePoint): void;
|
|
18299
|
+
D1(U: number, P: Mx3dGePoint, V1: Mx3dGeVec): void;
|
|
18300
|
+
D2(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec): void;
|
|
18301
|
+
D3(U: number, P: Mx3dGePoint, V1: Mx3dGeVec, V2: Mx3dGeVec, V3: Mx3dGeVec): void;
|
|
18302
|
+
DN(U: number, N: number): Mx3dGeVec;
|
|
18303
|
+
StartPoint(): Mx3dGePoint;
|
|
18304
|
+
EndPoint(): Mx3dGePoint;
|
|
17992
18305
|
FirstParameter(): number;
|
|
17993
18306
|
LastParameter(): number;
|
|
17994
18307
|
NbPoles(): number;
|
|
17995
|
-
Pole(Index: number):
|
|
17996
|
-
Poles():
|
|
18308
|
+
Pole(Index: number): Mx3dGePoint;
|
|
18309
|
+
Poles(): Mx3dGePoint[];
|
|
17997
18310
|
Weight(Index: number): number;
|
|
17998
18311
|
Weights(): number[];
|
|
17999
|
-
Transform(T:
|
|
18000
|
-
Copy():
|
|
18001
|
-
Edge(p1: number, p2: number):
|
|
18002
|
-
Wire():
|
|
18003
|
-
OffsetCurve(Offset: number, V: UniDir, isNotCheckC0: boolean):
|
|
18004
|
-
DynCast(theObject:
|
|
18005
|
-
static DownCast(theObject:
|
|
18006
|
-
}
|
|
18007
|
-
export declare class
|
|
18312
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18313
|
+
Copy(): Mx3dGeomObject;
|
|
18314
|
+
Edge(p1: number, p2: number): Mx3dShapeEdge;
|
|
18315
|
+
Wire(): Mx3dShapeWire;
|
|
18316
|
+
OffsetCurve(Offset: number, V: UniDir, isNotCheckC0: boolean): Mx3dShapeEdge;
|
|
18317
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18318
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomBezierCurve;
|
|
18319
|
+
}
|
|
18320
|
+
export declare class Mx3dGeomSurface extends Mx3dGeomObject {
|
|
18008
18321
|
constructor(p?: object);
|
|
18009
18322
|
UReversed(): this;
|
|
18010
18323
|
VReversed(): this;
|
|
18011
18324
|
TransformParameters(UV: [
|
|
18012
18325
|
dU: number,
|
|
18013
18326
|
dV: number
|
|
18014
|
-
], T:
|
|
18327
|
+
], T: Mx3dGeTrsf): void;
|
|
18015
18328
|
UPeriod(): number;
|
|
18016
18329
|
VPeriod(): number;
|
|
18017
|
-
Value(U: number, V: number):
|
|
18330
|
+
Value(U: number, V: number): Mx3dGePoint;
|
|
18018
18331
|
DynamicType(): string;
|
|
18019
18332
|
}
|
|
18020
|
-
export declare class
|
|
18333
|
+
export declare class Mx3dGeomElementarySurface extends Mx3dGeomSurface {
|
|
18021
18334
|
constructor(p?: object);
|
|
18022
|
-
SetAxis(theA1:
|
|
18023
|
-
SetLocation(theLoc:
|
|
18024
|
-
SetPosition(theAx3:
|
|
18025
|
-
Axis():
|
|
18026
|
-
Location():
|
|
18027
|
-
Position():
|
|
18335
|
+
SetAxis(theA1: Mx3dGeAxis): void;
|
|
18336
|
+
SetLocation(theLoc: Mx3dGePoint): void;
|
|
18337
|
+
SetPosition(theAx3: Mx3dGeCSYSR): void;
|
|
18338
|
+
Axis(): Mx3dGeAxis;
|
|
18339
|
+
Location(): Mx3dGePoint;
|
|
18340
|
+
Position(): Mx3dGeCSYSR;
|
|
18028
18341
|
UReverse(): void;
|
|
18029
18342
|
VReverse(): void;
|
|
18030
18343
|
Continuity(): MdGe.MxGAShapeEnum;
|
|
@@ -18032,8 +18345,8 @@ export declare class MxNewMx3dGeomElementarySurface extends MxNewMx3dGeomSurface
|
|
|
18032
18345
|
IsCNv(N: number): boolean;
|
|
18033
18346
|
DynamicType(): string;
|
|
18034
18347
|
}
|
|
18035
|
-
export declare class
|
|
18036
|
-
constructor(A3:
|
|
18348
|
+
export declare class Mx3dGeomPlane extends Mx3dGeomElementarySurface {
|
|
18349
|
+
constructor(A3: Mx3dGeCSYSR);
|
|
18037
18350
|
constructor(P: UniPoint, V: UniDir);
|
|
18038
18351
|
constructor(A: number, B: number, C: number, D: number);
|
|
18039
18352
|
UReverse(): void;
|
|
@@ -18043,7 +18356,7 @@ export declare class MxNewMx3dGeomPlane extends MxNewMx3dGeomElementarySurface {
|
|
|
18043
18356
|
TransformParameters(UV: [
|
|
18044
18357
|
dU: number,
|
|
18045
18358
|
dV: number
|
|
18046
|
-
], T:
|
|
18359
|
+
], T: Mx3dGeTrsf): void;
|
|
18047
18360
|
Bounds(U1U2V1V2: [
|
|
18048
18361
|
dU1: number,
|
|
18049
18362
|
dU2: number,
|
|
@@ -18060,22 +18373,22 @@ export declare class MxNewMx3dGeomPlane extends MxNewMx3dGeomElementarySurface {
|
|
|
18060
18373
|
IsVClosed(): boolean;
|
|
18061
18374
|
IsUPeriodic(): boolean;
|
|
18062
18375
|
IsVPeriodic(): boolean;
|
|
18063
|
-
D0(U: number, V: number, P:
|
|
18064
|
-
D1(U: number, V: number, P:
|
|
18065
|
-
D2(U: number, V: number, P:
|
|
18066
|
-
D3(U: number, V: number, P:
|
|
18067
|
-
DN(U: number, V: number, Nu: number, Nv: number):
|
|
18068
|
-
Transform(T:
|
|
18069
|
-
Copy():
|
|
18376
|
+
D0(U: number, V: number, P: Mx3dGePoint): void;
|
|
18377
|
+
D1(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec): void;
|
|
18378
|
+
D2(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec): void;
|
|
18379
|
+
D3(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec, D3U: Mx3dGeVec, D3V: Mx3dGeVec, D3UUV: Mx3dGeVec, D3UVV: Mx3dGeVec): void;
|
|
18380
|
+
DN(U: number, V: number, Nu: number, Nv: number): Mx3dGeVec;
|
|
18381
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18382
|
+
Copy(): Mx3dGeomObject;
|
|
18070
18383
|
DynamicType(): string;
|
|
18071
|
-
DynCast(theObject:
|
|
18072
|
-
static DownCast(theObject:
|
|
18073
|
-
Face(TolDegen: number):
|
|
18074
|
-
Face(W:
|
|
18075
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number):
|
|
18076
|
-
}
|
|
18077
|
-
export declare class
|
|
18078
|
-
constructor(A3:
|
|
18384
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18385
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomPlane;
|
|
18386
|
+
Face(TolDegen: number): Mx3dShapeFace;
|
|
18387
|
+
Face(W: Mx3dShapeWire, Inside: boolean): Mx3dShapeFace;
|
|
18388
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number): Mx3dShapeFace;
|
|
18389
|
+
}
|
|
18390
|
+
export declare class Mx3dGeomConicalSurface extends Mx3dGeomElementarySurface {
|
|
18391
|
+
constructor(A3: Mx3dGeCSYSR, Ang: number, Radius: number);
|
|
18079
18392
|
SetRadius(R: number): void;
|
|
18080
18393
|
SetSemiAngle(Ang: number): void;
|
|
18081
18394
|
UReversedParameter(U: number): number;
|
|
@@ -18084,8 +18397,8 @@ export declare class MxNewMx3dGeomConicalSurface extends MxNewMx3dGeomElementary
|
|
|
18084
18397
|
TransformParameters(UV: [
|
|
18085
18398
|
dU: number,
|
|
18086
18399
|
dV: number
|
|
18087
|
-
], T:
|
|
18088
|
-
Apex():
|
|
18400
|
+
], T: Mx3dGeTrsf): void;
|
|
18401
|
+
Apex(): Mx3dGePoint;
|
|
18089
18402
|
Bounds(U1U2V1V2: [
|
|
18090
18403
|
dU1: number,
|
|
18091
18404
|
dU2: number,
|
|
@@ -18110,29 +18423,29 @@ export declare class MxNewMx3dGeomConicalSurface extends MxNewMx3dGeomElementary
|
|
|
18110
18423
|
IsVClosed(): boolean;
|
|
18111
18424
|
IsUPeriodic(): boolean;
|
|
18112
18425
|
IsVPeriodic(): boolean;
|
|
18113
|
-
D0(U: number, V: number, P:
|
|
18114
|
-
D1(U: number, V: number, P:
|
|
18115
|
-
D2(U: number, V: number, P:
|
|
18116
|
-
D3(U: number, V: number, P:
|
|
18117
|
-
DN(U: number, V: number, Nu: number, Nv: number):
|
|
18118
|
-
Transform(T:
|
|
18119
|
-
Copy():
|
|
18426
|
+
D0(U: number, V: number, P: Mx3dGePoint): void;
|
|
18427
|
+
D1(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec): void;
|
|
18428
|
+
D2(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec): void;
|
|
18429
|
+
D3(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec, D3U: Mx3dGeVec, D3V: Mx3dGeVec, D3UUV: Mx3dGeVec, D3UVV: Mx3dGeVec): void;
|
|
18430
|
+
DN(U: number, V: number, Nu: number, Nv: number): Mx3dGeVec;
|
|
18431
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18432
|
+
Copy(): Mx3dGeomObject;
|
|
18120
18433
|
DynamicType(): string;
|
|
18121
|
-
DynCast(theObject:
|
|
18122
|
-
static DownCast(theObject:
|
|
18123
|
-
Face(TolDegen: number):
|
|
18124
|
-
Face(W:
|
|
18125
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number):
|
|
18126
|
-
}
|
|
18127
|
-
export declare class
|
|
18128
|
-
constructor(A3:
|
|
18434
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18435
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomConicalSurface;
|
|
18436
|
+
Face(TolDegen: number): Mx3dShapeFace;
|
|
18437
|
+
Face(W: Mx3dShapeWire, Inside: boolean): Mx3dShapeFace;
|
|
18438
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number): Mx3dShapeFace;
|
|
18439
|
+
}
|
|
18440
|
+
export declare class Mx3dGeomCylindricalSurface extends Mx3dGeomElementarySurface {
|
|
18441
|
+
constructor(A3: Mx3dGeCSYSR, Radius: number);
|
|
18129
18442
|
SetRadius(R: number): void;
|
|
18130
18443
|
UReversedParameter(U: number): number;
|
|
18131
18444
|
VReversedParameter(V: number): number;
|
|
18132
18445
|
TransformParameters(UV: [
|
|
18133
18446
|
dU: number,
|
|
18134
18447
|
dV: number
|
|
18135
|
-
], T:
|
|
18448
|
+
], T: Mx3dGeTrsf): void;
|
|
18136
18449
|
Bounds(U1U2V1V2: [
|
|
18137
18450
|
dU1: number,
|
|
18138
18451
|
dU2: number,
|
|
@@ -18156,22 +18469,22 @@ export declare class MxNewMx3dGeomCylindricalSurface extends MxNewMx3dGeomElemen
|
|
|
18156
18469
|
IsVClosed(): boolean;
|
|
18157
18470
|
IsUPeriodic(): boolean;
|
|
18158
18471
|
IsVPeriodic(): boolean;
|
|
18159
|
-
D0(U: number, V: number, P:
|
|
18160
|
-
D1(U: number, V: number, P:
|
|
18161
|
-
D2(U: number, V: number, P:
|
|
18162
|
-
D3(U: number, V: number, P:
|
|
18163
|
-
DN(U: number, V: number, Nu: number, Nv: number):
|
|
18164
|
-
Transform(T:
|
|
18165
|
-
Copy():
|
|
18472
|
+
D0(U: number, V: number, P: Mx3dGePoint): void;
|
|
18473
|
+
D1(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec): void;
|
|
18474
|
+
D2(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec): void;
|
|
18475
|
+
D3(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec, D3U: Mx3dGeVec, D3V: Mx3dGeVec, D3UUV: Mx3dGeVec, D3UVV: Mx3dGeVec): void;
|
|
18476
|
+
DN(U: number, V: number, Nu: number, Nv: number): Mx3dGeVec;
|
|
18477
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18478
|
+
Copy(): Mx3dGeomObject;
|
|
18166
18479
|
DynamicType(): string;
|
|
18167
|
-
DynCast(theObject:
|
|
18168
|
-
static DownCast(theObject:
|
|
18169
|
-
Face(TolDegen: number):
|
|
18170
|
-
Face(W:
|
|
18171
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number):
|
|
18172
|
-
}
|
|
18173
|
-
export declare class
|
|
18174
|
-
constructor(A3:
|
|
18480
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18481
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomCylindricalSurface;
|
|
18482
|
+
Face(TolDegen: number): Mx3dShapeFace;
|
|
18483
|
+
Face(W: Mx3dShapeWire, Inside: boolean): Mx3dShapeFace;
|
|
18484
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number): Mx3dShapeFace;
|
|
18485
|
+
}
|
|
18486
|
+
export declare class Mx3dGeomSphericalSurface extends Mx3dGeomElementarySurface {
|
|
18487
|
+
constructor(A3: Mx3dGeCSYSR, Radius: number);
|
|
18175
18488
|
SetRadius(R: number): void;
|
|
18176
18489
|
UReversedParameter(U: number): number;
|
|
18177
18490
|
VReversedParameter(V: number): number;
|
|
@@ -18200,22 +18513,22 @@ export declare class MxNewMx3dGeomSphericalSurface extends MxNewMx3dGeomElementa
|
|
|
18200
18513
|
IsVClosed(): boolean;
|
|
18201
18514
|
IsUPeriodic(): boolean;
|
|
18202
18515
|
IsVPeriodic(): boolean;
|
|
18203
|
-
D0(U: number, V: number, P:
|
|
18204
|
-
D1(U: number, V: number, P:
|
|
18205
|
-
D2(U: number, V: number, P:
|
|
18206
|
-
D3(U: number, V: number, P:
|
|
18207
|
-
DN(U: number, V: number, Nu: number, Nv: number):
|
|
18208
|
-
Transform(T:
|
|
18209
|
-
Copy():
|
|
18516
|
+
D0(U: number, V: number, P: Mx3dGePoint): void;
|
|
18517
|
+
D1(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec): void;
|
|
18518
|
+
D2(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec): void;
|
|
18519
|
+
D3(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec, D3U: Mx3dGeVec, D3V: Mx3dGeVec, D3UUV: Mx3dGeVec, D3UVV: Mx3dGeVec): void;
|
|
18520
|
+
DN(U: number, V: number, Nu: number, Nv: number): Mx3dGeVec;
|
|
18521
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18522
|
+
Copy(): Mx3dGeomObject;
|
|
18210
18523
|
DynamicType(): string;
|
|
18211
|
-
DynCast(theObject:
|
|
18212
|
-
static DownCast(theObject:
|
|
18213
|
-
Face(TolDegen: number):
|
|
18214
|
-
Face(W:
|
|
18215
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number):
|
|
18216
|
-
}
|
|
18217
|
-
export declare class
|
|
18218
|
-
constructor(A3:
|
|
18524
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18525
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomSphericalSurface;
|
|
18526
|
+
Face(TolDegen: number): Mx3dShapeFace;
|
|
18527
|
+
Face(W: Mx3dShapeWire, Inside: boolean): Mx3dShapeFace;
|
|
18528
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number): Mx3dShapeFace;
|
|
18529
|
+
}
|
|
18530
|
+
export declare class Mx3dGeomToroidalSurface extends Mx3dGeomElementarySurface {
|
|
18531
|
+
constructor(A3: Mx3dGeCSYSR, MajorRadius: number, MinorRadius: number);
|
|
18219
18532
|
SetMajorRadius(MajorRadius: number): void;
|
|
18220
18533
|
SetMinorRadius(MinorRadius: number): void;
|
|
18221
18534
|
UReversedParameter(U: number): number;
|
|
@@ -18235,27 +18548,27 @@ export declare class MxNewMx3dGeomToroidalSurface extends MxNewMx3dGeomElementar
|
|
|
18235
18548
|
IsVClosed(): boolean;
|
|
18236
18549
|
IsUPeriodic(): boolean;
|
|
18237
18550
|
IsVPeriodic(): boolean;
|
|
18238
|
-
D0(U: number, V: number, P:
|
|
18239
|
-
D1(U: number, V: number, P:
|
|
18240
|
-
D2(U: number, V: number, P:
|
|
18241
|
-
D3(U: number, V: number, P:
|
|
18242
|
-
DN(U: number, V: number, Nu: number, Nv: number):
|
|
18243
|
-
Transform(T:
|
|
18244
|
-
Copy():
|
|
18551
|
+
D0(U: number, V: number, P: Mx3dGePoint): void;
|
|
18552
|
+
D1(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec): void;
|
|
18553
|
+
D2(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec): void;
|
|
18554
|
+
D3(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec, D3U: Mx3dGeVec, D3V: Mx3dGeVec, D3UUV: Mx3dGeVec, D3UVV: Mx3dGeVec): void;
|
|
18555
|
+
DN(U: number, V: number, Nu: number, Nv: number): Mx3dGeVec;
|
|
18556
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18557
|
+
Copy(): Mx3dGeomObject;
|
|
18245
18558
|
DynamicType(): string;
|
|
18246
|
-
DynCast(theObject:
|
|
18247
|
-
static DownCast(theObject:
|
|
18248
|
-
Face(TolDegen: number):
|
|
18249
|
-
Face(W:
|
|
18250
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number):
|
|
18559
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18560
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomToroidalSurface;
|
|
18561
|
+
Face(TolDegen: number): Mx3dShapeFace;
|
|
18562
|
+
Face(W: Mx3dShapeWire, Inside: boolean): Mx3dShapeFace;
|
|
18563
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number): Mx3dShapeFace;
|
|
18251
18564
|
}
|
|
18252
|
-
export declare class
|
|
18565
|
+
export declare class Mx3dGeomBoundedSurface extends Mx3dGeomSurface {
|
|
18253
18566
|
constructor(p?: object);
|
|
18254
18567
|
DynamicType(): string;
|
|
18255
18568
|
}
|
|
18256
|
-
export declare class
|
|
18257
|
-
constructor(Poles:
|
|
18258
|
-
constructor(Poles:
|
|
18569
|
+
export declare class Mx3dGeomBSplineSurface extends Mx3dGeomBoundedSurface {
|
|
18570
|
+
constructor(Poles: Mx3dGePoint[][], dUKnots: number[], dVKnots: number[], iUMults: number[], iVMults: number[], UDegree: number, VDegree: number, UPeriodic: boolean, VPeriodic: boolean);
|
|
18571
|
+
constructor(Poles: Mx3dGePoint[][], dWeights: number[][], dUKnots: number[], dVKnots: number[], iUMults: number[], iVMults: number[], UDegree: number, VDegree: number, UPeriodic: boolean, VPeriodic: boolean);
|
|
18259
18572
|
ExchangeUV(): void;
|
|
18260
18573
|
SetUPeriodic(): void;
|
|
18261
18574
|
SetVPeriodic(): void;
|
|
@@ -18300,16 +18613,16 @@ export declare class MxNewMx3dGeomBSplineSurface extends MxNewMx3dGeomBoundedSur
|
|
|
18300
18613
|
iI1: number,
|
|
18301
18614
|
iI2: number
|
|
18302
18615
|
], WithKnotRepetition: boolean): void;
|
|
18303
|
-
SetPole(UIndex: number, VIndex: number, P:
|
|
18304
|
-
SetPole(UIndex: number, VIndex: number, P:
|
|
18305
|
-
SetPoleCol(VIndex: number, CPoles:
|
|
18306
|
-
SetPoleCol(VIndex: number, CPoles:
|
|
18307
|
-
SetPoleRow(UIndex: number, CPoles:
|
|
18308
|
-
SetPoleRow(UIndex: number, CPoles:
|
|
18616
|
+
SetPole(UIndex: number, VIndex: number, P: Mx3dGePoint): void;
|
|
18617
|
+
SetPole(UIndex: number, VIndex: number, P: Mx3dGePoint, Weight: number): void;
|
|
18618
|
+
SetPoleCol(VIndex: number, CPoles: Mx3dGePoint[]): void;
|
|
18619
|
+
SetPoleCol(VIndex: number, CPoles: Mx3dGePoint[], dCPoleWeights: number[]): void;
|
|
18620
|
+
SetPoleRow(UIndex: number, CPoles: Mx3dGePoint[]): void;
|
|
18621
|
+
SetPoleRow(UIndex: number, CPoles: Mx3dGePoint[], dCPoleWeights: number[]): void;
|
|
18309
18622
|
SetWeight(UIndex: number, VIndex: number, Weight: number): void;
|
|
18310
18623
|
SetWeightCol(VIndex: number, dCPoleWeights: number[]): void;
|
|
18311
18624
|
SetWeightRow(UIndex: number, dCPoleWeights: number[]): void;
|
|
18312
|
-
MovePoint(U: number, V: number, P:
|
|
18625
|
+
MovePoint(U: number, V: number, P: Mx3dGePoint, UIndex1: number, UIndex2: number, VIndex1: number, VIndex2: number, UFULVFVL: [
|
|
18313
18626
|
iUF: number,
|
|
18314
18627
|
iUL: number,
|
|
18315
18628
|
iVF: number,
|
|
@@ -18338,8 +18651,8 @@ export declare class MxNewMx3dGeomBSplineSurface extends MxNewMx3dGeomBoundedSur
|
|
|
18338
18651
|
NbUPoles(): number;
|
|
18339
18652
|
NbVKnots(): number;
|
|
18340
18653
|
NbVPoles(): number;
|
|
18341
|
-
Pole(UIndex: number, VIndex: number):
|
|
18342
|
-
Poles():
|
|
18654
|
+
Pole(UIndex: number, VIndex: number): Mx3dGePoint;
|
|
18655
|
+
Poles(): Mx3dGePoint[][];
|
|
18343
18656
|
UDegree(): number;
|
|
18344
18657
|
UKnot(UIndex: number): number;
|
|
18345
18658
|
UKnots(): number[];
|
|
@@ -18354,40 +18667,40 @@ export declare class MxNewMx3dGeomBSplineSurface extends MxNewMx3dGeomBoundedSur
|
|
|
18354
18667
|
VMultiplicities(): number[];
|
|
18355
18668
|
Weight(UIndex: number, VIndex: number): number;
|
|
18356
18669
|
Weights(): number[][];
|
|
18357
|
-
D0(U: number, V: number, P:
|
|
18358
|
-
D1(U: number, V: number, P:
|
|
18359
|
-
D2(U: number, V: number, P:
|
|
18360
|
-
D3(U: number, V: number, P:
|
|
18361
|
-
DN(U: number, V: number, Nu: number, Nv: number):
|
|
18362
|
-
LocalD0(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, P:
|
|
18363
|
-
LocalD1(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, P:
|
|
18364
|
-
LocalD2(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, P:
|
|
18365
|
-
LocalD3(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, P:
|
|
18366
|
-
LocalDN(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, Nu: number, Nv: number):
|
|
18367
|
-
LocalValue(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number):
|
|
18368
|
-
Transform(T:
|
|
18369
|
-
Copy():
|
|
18670
|
+
D0(U: number, V: number, P: Mx3dGePoint): void;
|
|
18671
|
+
D1(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec): void;
|
|
18672
|
+
D2(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec): void;
|
|
18673
|
+
D3(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec, D3U: Mx3dGeVec, D3V: Mx3dGeVec, D3UUV: Mx3dGeVec, D3UVV: Mx3dGeVec): void;
|
|
18674
|
+
DN(U: number, V: number, Nu: number, Nv: number): Mx3dGeVec;
|
|
18675
|
+
LocalD0(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, P: Mx3dGePoint): void;
|
|
18676
|
+
LocalD1(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec): void;
|
|
18677
|
+
LocalD2(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec): void;
|
|
18678
|
+
LocalD3(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec, D3U: Mx3dGeVec, D3V: Mx3dGeVec, D3UUV: Mx3dGeVec, D3UVV: Mx3dGeVec): void;
|
|
18679
|
+
LocalDN(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number, Nu: number, Nv: number): Mx3dGeVec;
|
|
18680
|
+
LocalValue(U: number, V: number, FromUK1: number, ToUK2: number, FromVK1: number, ToVK2: number): Mx3dGePoint;
|
|
18681
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18682
|
+
Copy(): Mx3dGeomObject;
|
|
18370
18683
|
DynamicType(): string;
|
|
18371
|
-
DynCast(theObject:
|
|
18372
|
-
static DownCast(theObject:
|
|
18373
|
-
Face(TolDegen: number):
|
|
18374
|
-
Face(W:
|
|
18375
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number):
|
|
18376
|
-
}
|
|
18377
|
-
export declare class
|
|
18378
|
-
constructor(SurfacePoles:
|
|
18684
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18685
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomBSplineSurface;
|
|
18686
|
+
Face(TolDegen: number): Mx3dShapeFace;
|
|
18687
|
+
Face(W: Mx3dShapeWire, Inside: boolean): Mx3dShapeFace;
|
|
18688
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number): Mx3dShapeFace;
|
|
18689
|
+
}
|
|
18690
|
+
export declare class Mx3dGeomBezierSurface extends Mx3dGeomBoundedSurface {
|
|
18691
|
+
constructor(SurfacePoles: Mx3dGePoint[][], PoleWeights?: number[][]);
|
|
18379
18692
|
ExchangeUV(): void;
|
|
18380
18693
|
Increase(UDeg: number, VDeg: number): void;
|
|
18381
|
-
InsertPoleColAfter(VIndex: number, CPoles:
|
|
18382
|
-
InsertPoleColBefore(VIndex: number, CPoles:
|
|
18383
|
-
InsertPoleRowAfter(UIndex: number, CPoles:
|
|
18384
|
-
InsertPoleRowBefore(UIndex: number, CPoles:
|
|
18694
|
+
InsertPoleColAfter(VIndex: number, CPoles: Mx3dGePoint[], CPoleWeights?: number[]): void;
|
|
18695
|
+
InsertPoleColBefore(VIndex: number, CPoles: Mx3dGePoint[], CPoleWeights?: number[]): void;
|
|
18696
|
+
InsertPoleRowAfter(UIndex: number, CPoles: Mx3dGePoint[], CPoleWeights?: number[]): void;
|
|
18697
|
+
InsertPoleRowBefore(UIndex: number, CPoles: Mx3dGePoint[], CPoleWeights?: number[]): void;
|
|
18385
18698
|
RemovePoleCol(VIndex: number): void;
|
|
18386
18699
|
RemovePoleRow(UIndex: number): void;
|
|
18387
18700
|
Segment(U1: number, U2: number, V1: number, V2: number): void;
|
|
18388
|
-
SetPole(UIndex: number, VIndex: number, P:
|
|
18389
|
-
SetPoleCol(VIndex: number, CPoles:
|
|
18390
|
-
SetPoleRow(UIndex: number, CPoles:
|
|
18701
|
+
SetPole(UIndex: number, VIndex: number, P: Mx3dGePoint, Weight?: number): void;
|
|
18702
|
+
SetPoleCol(VIndex: number, CPoles: Mx3dGePoint[], CPoleWeights?: number[]): void;
|
|
18703
|
+
SetPoleRow(UIndex: number, CPoles: Mx3dGePoint[], CPoleWeights?: number[]): void;
|
|
18391
18704
|
SetWeight(UIndex: number, VIndex: number, Weight: number): void;
|
|
18392
18705
|
SetWeightCol(VIndex: number, CPoleWeights: number[]): void;
|
|
18393
18706
|
SetWeightRow(UIndex: number, CPoleWeights: number[]): void;
|
|
@@ -18402,15 +18715,15 @@ export declare class MxNewMx3dGeomBezierSurface extends MxNewMx3dGeomBoundedSurf
|
|
|
18402
18715
|
dV2: number
|
|
18403
18716
|
]): void;
|
|
18404
18717
|
Continuity(): MdGe.MxGAShapeEnum;
|
|
18405
|
-
D0(U: number, V: number, P:
|
|
18406
|
-
D1(U: number, V: number, P:
|
|
18407
|
-
D2(U: number, V: number, P:
|
|
18408
|
-
D3(U: number, V: number, P:
|
|
18409
|
-
DN(U: number, V: number, Nu: number, Nv: number):
|
|
18718
|
+
D0(U: number, V: number, P: Mx3dGePoint): void;
|
|
18719
|
+
D1(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec): void;
|
|
18720
|
+
D2(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec): void;
|
|
18721
|
+
D3(U: number, V: number, P: Mx3dGePoint, D1U: Mx3dGeVec, D1V: Mx3dGeVec, D2U: Mx3dGeVec, D2V: Mx3dGeVec, D2UV: Mx3dGeVec, D3U: Mx3dGeVec, D3V: Mx3dGeVec, D3UUV: Mx3dGeVec, D3UVV: Mx3dGeVec): void;
|
|
18722
|
+
DN(U: number, V: number, Nu: number, Nv: number): Mx3dGeVec;
|
|
18410
18723
|
NbUPoles(): number;
|
|
18411
18724
|
NbVPoles(): number;
|
|
18412
|
-
Pole(UIndex: number, VIndex: number):
|
|
18413
|
-
Poles():
|
|
18725
|
+
Pole(UIndex: number, VIndex: number): Mx3dGePoint;
|
|
18726
|
+
Poles(): Mx3dGePoint[][];
|
|
18414
18727
|
UDegree(): number;
|
|
18415
18728
|
Weight(UIndex: number, VIndex: number): number;
|
|
18416
18729
|
Weights(): number[][];
|
|
@@ -18422,15 +18735,15 @@ export declare class MxNewMx3dGeomBezierSurface extends MxNewMx3dGeomBoundedSurf
|
|
|
18422
18735
|
IsVPeriodic(): boolean;
|
|
18423
18736
|
IsURational(): boolean;
|
|
18424
18737
|
IsVRational(): boolean;
|
|
18425
|
-
Transform(T:
|
|
18426
|
-
Copy():
|
|
18427
|
-
DynCast(theObject:
|
|
18428
|
-
static DownCast(theObject:
|
|
18429
|
-
Face(TolDegen: number):
|
|
18430
|
-
Face(W:
|
|
18431
|
-
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number):
|
|
18432
|
-
}
|
|
18433
|
-
export declare class
|
|
18738
|
+
Transform(T: Mx3dGeTrsf): void;
|
|
18739
|
+
Copy(): Mx3dGeomObject;
|
|
18740
|
+
DynCast(theObject: Mx3dGeomObject): this;
|
|
18741
|
+
static DownCast(theObject: Mx3dGeomObject): Mx3dGeomBezierSurface;
|
|
18742
|
+
Face(TolDegen: number): Mx3dShapeFace;
|
|
18743
|
+
Face(W: Mx3dShapeWire, Inside: boolean): Mx3dShapeFace;
|
|
18744
|
+
Face(UMin: number, UMax: number, VMin: number, VMax: number, TolDegen: number): Mx3dShapeFace;
|
|
18745
|
+
}
|
|
18746
|
+
export declare class Mx3dGeMaterial extends Mx3dBaseObject {
|
|
18434
18747
|
constructor();
|
|
18435
18748
|
constructor(theName: MdGe.MxNameOfMaterial);
|
|
18436
18749
|
Name(): MdGe.MxNameOfMaterial;
|
|
@@ -18439,20 +18752,20 @@ export declare class MxNewMx3dGeMaterial extends MxNewMx3dBaseObject {
|
|
|
18439
18752
|
MaterialName(): string;
|
|
18440
18753
|
SetMaterialName(theName: string): void;
|
|
18441
18754
|
Reset(): void;
|
|
18442
|
-
Color():
|
|
18443
|
-
SetColor(theColor:
|
|
18755
|
+
Color(): Mx3dGeColor;
|
|
18756
|
+
SetColor(theColor: Mx3dGeColor): void;
|
|
18444
18757
|
Transparency(): number;
|
|
18445
18758
|
Alpha(): number;
|
|
18446
18759
|
SetTransparency(theValue: number): void;
|
|
18447
18760
|
SetAlpha(theValue: number): void;
|
|
18448
|
-
AmbientColor():
|
|
18449
|
-
SetAmbientColor(theColor:
|
|
18450
|
-
DiffuseColor():
|
|
18451
|
-
SetDiffuseColor(theColor:
|
|
18452
|
-
SpecularColor():
|
|
18453
|
-
SetSpecularColor(theColor:
|
|
18454
|
-
EmissiveColor():
|
|
18455
|
-
SetEmissiveColor(theColor:
|
|
18761
|
+
AmbientColor(): Mx3dGeColor;
|
|
18762
|
+
SetAmbientColor(theColor: Mx3dGeColor): void;
|
|
18763
|
+
DiffuseColor(): Mx3dGeColor;
|
|
18764
|
+
SetDiffuseColor(theColor: Mx3dGeColor): void;
|
|
18765
|
+
SpecularColor(): Mx3dGeColor;
|
|
18766
|
+
SetSpecularColor(theColor: Mx3dGeColor): void;
|
|
18767
|
+
EmissiveColor(): Mx3dGeColor;
|
|
18768
|
+
SetEmissiveColor(theColor: Mx3dGeColor): void;
|
|
18456
18769
|
Shininess(): number;
|
|
18457
18770
|
SetShininess(theValue: number): void;
|
|
18458
18771
|
IncreaseShine(theDelta: number): void;
|
|
@@ -18461,18 +18774,18 @@ export declare class MxNewMx3dGeMaterial extends MxNewMx3dBaseObject {
|
|
|
18461
18774
|
ReflectionMode(theType: MdGe.MxTypeOfReflection): boolean;
|
|
18462
18775
|
MaterialType(): MdGe.MxTypeOfMaterial;
|
|
18463
18776
|
SetMaterialType(theType: MdGe.MxTypeOfMaterial): void;
|
|
18464
|
-
IsDifferent(theOther:
|
|
18465
|
-
IsEqual(theOther:
|
|
18777
|
+
IsDifferent(theOther: Mx3dGeMaterial): boolean;
|
|
18778
|
+
IsEqual(theOther: Mx3dGeMaterial): boolean;
|
|
18466
18779
|
}
|
|
18467
|
-
export declare class
|
|
18468
|
-
constructor(theColor:
|
|
18469
|
-
SetColor(theColor:
|
|
18780
|
+
export declare class Mx3dAspectLine extends Mx3dAspectObject {
|
|
18781
|
+
constructor(theColor: Mx3dGeColor, theType: MdGe.MxTypeOfLine, theWidth: number);
|
|
18782
|
+
SetColor(theColor: Mx3dGeColor): void;
|
|
18470
18783
|
SetTypeOfLine(theType: MdGe.MxTypeOfLine): void;
|
|
18471
18784
|
SetWidth(theWidth: number): void;
|
|
18472
18785
|
}
|
|
18473
|
-
export declare class
|
|
18786
|
+
export declare class Mx3dAspectText extends Mx3dAspectObject {
|
|
18474
18787
|
constructor(p?: object);
|
|
18475
|
-
SetColor(theColor:
|
|
18788
|
+
SetColor(theColor: Mx3dGeColor): void;
|
|
18476
18789
|
SetFont(theFont: string): void;
|
|
18477
18790
|
SetHeight(theHeight: number): void;
|
|
18478
18791
|
SetAngle(theAngle: number): void;
|
|
@@ -18485,7 +18798,7 @@ export declare class MxNewMx3dAspectText extends MxNewMx3dAspectObject {
|
|
|
18485
18798
|
VerticalJustification(): MdGe.MxVerticalTextAlignment;
|
|
18486
18799
|
Orientation(): MdGe.MxTextPath;
|
|
18487
18800
|
}
|
|
18488
|
-
export declare class
|
|
18801
|
+
export declare class Mx3dAspectArrow extends Mx3dAspectObject {
|
|
18489
18802
|
constructor();
|
|
18490
18803
|
constructor(anAngle: number, aLength: number);
|
|
18491
18804
|
SetAngle(anAngle: number): void;
|
|
@@ -18494,12 +18807,12 @@ export declare class MxNewMx3dAspectArrow extends MxNewMx3dAspectObject {
|
|
|
18494
18807
|
Length(): number;
|
|
18495
18808
|
SetZoomable(theIsZoomable: boolean): void;
|
|
18496
18809
|
IsZoomable(): boolean;
|
|
18497
|
-
SetColor(theColor:
|
|
18810
|
+
SetColor(theColor: Mx3dGeColor): void;
|
|
18498
18811
|
}
|
|
18499
|
-
export declare class
|
|
18812
|
+
export declare class Mx3dAspectDim extends Mx3dAspectObject {
|
|
18500
18813
|
constructor(p?: object);
|
|
18501
|
-
SetLineAspect(theAspect:
|
|
18502
|
-
SetTextAspect(theAspect:
|
|
18814
|
+
SetLineAspect(theAspect: Mx3dAspectLine): void;
|
|
18815
|
+
SetTextAspect(theAspect: Mx3dAspectText): void;
|
|
18503
18816
|
IsText3d(): boolean;
|
|
18504
18817
|
MakeText3d(isText3d: boolean): void;
|
|
18505
18818
|
IsTextShaded(): boolean;
|
|
@@ -18514,8 +18827,8 @@ export declare class MxNewMx3dAspectDim extends MxNewMx3dAspectObject {
|
|
|
18514
18827
|
TextVerticalPosition(): MdGe.MxDimensionTextVerticalPosition;
|
|
18515
18828
|
SetTextHorizontalPosition(thePosition: MdGe.MxDimensionTextHorizontalPosition): void;
|
|
18516
18829
|
TextHorizontalPosition(): MdGe.MxDimensionTextHorizontalPosition;
|
|
18517
|
-
SetArrowAspect(theAspect:
|
|
18518
|
-
SetCommonColor(theColor:
|
|
18830
|
+
SetArrowAspect(theAspect: Mx3dAspectArrow): void;
|
|
18831
|
+
SetCommonColor(theColor: Mx3dGeColor): void;
|
|
18519
18832
|
SetExtensionSize(theSize: number): void;
|
|
18520
18833
|
ExtensionSize(): number;
|
|
18521
18834
|
SetArrowTailSize(theSize: number): void;
|
|
@@ -18523,26 +18836,26 @@ export declare class MxNewMx3dAspectDim extends MxNewMx3dAspectObject {
|
|
|
18523
18836
|
SetValueStringFormat(theFormat: string): void;
|
|
18524
18837
|
ValueStringFormat(): string;
|
|
18525
18838
|
}
|
|
18526
|
-
export declare class
|
|
18527
|
-
constructor(theCircle:
|
|
18528
|
-
constructor(theCircle:
|
|
18529
|
-
Circle():
|
|
18530
|
-
AnchorPoint():
|
|
18531
|
-
Shape():
|
|
18532
|
-
SetMeasuredGeometry(theCircle:
|
|
18533
|
-
SetTextPosition(theTextPos:
|
|
18534
|
-
GetTextPosition():
|
|
18839
|
+
export declare class Mx3dDimDiameter extends Mx3dDimObject {
|
|
18840
|
+
constructor(theCircle: Mx3dGeCircle);
|
|
18841
|
+
constructor(theCircle: Mx3dGeCircle, thePlane: Mx3dGePlane);
|
|
18842
|
+
Circle(): Mx3dGeCircle;
|
|
18843
|
+
AnchorPoint(): Mx3dGePoint;
|
|
18844
|
+
Shape(): Mx3dShapeObject;
|
|
18845
|
+
SetMeasuredGeometry(theCircle: Mx3dGeCircle): void;
|
|
18846
|
+
SetTextPosition(theTextPos: Mx3dGePoint): void;
|
|
18847
|
+
GetTextPosition(): Mx3dGePoint;
|
|
18535
18848
|
SetDisplayUnits(theUnits: string): void;
|
|
18536
18849
|
SetModelUnits(theUnits: string): void;
|
|
18537
18850
|
GetValue(): number;
|
|
18538
18851
|
SetComputedValue(): void;
|
|
18539
18852
|
SetCustomValue(theValue: number): void;
|
|
18540
|
-
GetPlane():
|
|
18853
|
+
GetPlane(): Mx3dGePlane;
|
|
18541
18854
|
GetGeometryType(): number;
|
|
18542
|
-
SetCustomPlane(thePlane:
|
|
18855
|
+
SetCustomPlane(thePlane: Mx3dGePlane): void;
|
|
18543
18856
|
UnsetCustomPlane(): void;
|
|
18544
18857
|
IsTextPositionCustom(): boolean;
|
|
18545
|
-
SetDimensionAspect(theDimensionAspect:
|
|
18858
|
+
SetDimensionAspect(theDimensionAspect: Mx3dAspectDim): void;
|
|
18546
18859
|
KindOfDimension(): MdGe.MxKindOfDimension;
|
|
18547
18860
|
UnsetFixedTextPosition(): void;
|
|
18548
18861
|
SelToleranceForText2d(): number;
|
|
@@ -18551,25 +18864,25 @@ export declare class MxNewMx3dDimDiameter extends MxNewMx3dDimObject {
|
|
|
18551
18864
|
SetFlyout(theFlyout: number): void;
|
|
18552
18865
|
IsValid(): boolean;
|
|
18553
18866
|
}
|
|
18554
|
-
export declare class
|
|
18555
|
-
constructor(theCircle:
|
|
18556
|
-
constructor(theCircle:
|
|
18557
|
-
Circle():
|
|
18558
|
-
AnchorPoint():
|
|
18559
|
-
Shape():
|
|
18560
|
-
SetMeasuredGeometry(theCircle:
|
|
18561
|
-
SetMeasuredGeometry(theCircle:
|
|
18562
|
-
SetTextPosition(theTextPos:
|
|
18563
|
-
GetTextPosition():
|
|
18867
|
+
export declare class Mx3dDimRadius extends Mx3dDimObject {
|
|
18868
|
+
constructor(theCircle: Mx3dGeCircle);
|
|
18869
|
+
constructor(theCircle: Mx3dGeCircle, theAnchorPoint: Mx3dGePoint);
|
|
18870
|
+
Circle(): Mx3dGeCircle;
|
|
18871
|
+
AnchorPoint(): Mx3dGePoint;
|
|
18872
|
+
Shape(): Mx3dShapeObject;
|
|
18873
|
+
SetMeasuredGeometry(theCircle: Mx3dGeCircle): void;
|
|
18874
|
+
SetMeasuredGeometry(theCircle: Mx3dGeCircle, theAnchorPoint: Mx3dGePoint, theHasAnchor: boolean): void;
|
|
18875
|
+
SetTextPosition(theTextPos: Mx3dGePoint): void;
|
|
18876
|
+
GetTextPosition(): Mx3dGePoint;
|
|
18564
18877
|
GetValue(): number;
|
|
18565
18878
|
SetComputedValue(): void;
|
|
18566
18879
|
SetCustomValue(theValue: number): void;
|
|
18567
|
-
GetPlane():
|
|
18880
|
+
GetPlane(): Mx3dGePlane;
|
|
18568
18881
|
GetGeometryType(): number;
|
|
18569
|
-
SetCustomPlane(thePlane:
|
|
18882
|
+
SetCustomPlane(thePlane: Mx3dGePlane): void;
|
|
18570
18883
|
UnsetCustomPlane(): void;
|
|
18571
18884
|
IsTextPositionCustom(): boolean;
|
|
18572
|
-
SetDimensionAspect(theDimensionAspect:
|
|
18885
|
+
SetDimensionAspect(theDimensionAspect: Mx3dAspectDim): void;
|
|
18573
18886
|
KindOfDimension(): MdGe.MxKindOfDimension;
|
|
18574
18887
|
UnsetFixedTextPosition(): void;
|
|
18575
18888
|
SelToleranceForText2d(): number;
|
|
@@ -18578,20 +18891,20 @@ export declare class MxNewMx3dDimRadius extends MxNewMx3dDimObject {
|
|
|
18578
18891
|
SetFlyout(theFlyout: number): void;
|
|
18579
18892
|
IsValid(): boolean;
|
|
18580
18893
|
}
|
|
18581
|
-
export declare class
|
|
18582
|
-
constructor(theFirstEdge:
|
|
18583
|
-
constructor(theFirstPoint:
|
|
18584
|
-
FirstPoint():
|
|
18585
|
-
SecondPoint():
|
|
18586
|
-
CenterPoint():
|
|
18587
|
-
FirstShape():
|
|
18588
|
-
SecondShape():
|
|
18589
|
-
ThirdShape():
|
|
18590
|
-
SetMeasuredGeometry(theCone:
|
|
18591
|
-
SetMeasuredGeometry(theFirstEdge:
|
|
18592
|
-
SetMeasuredGeometry(theFirstPoint:
|
|
18593
|
-
SetTextPosition(theTextPos:
|
|
18594
|
-
GetTextPosition():
|
|
18894
|
+
export declare class Mx3dDimAngle extends Mx3dDimObject {
|
|
18895
|
+
constructor(theFirstEdge: Mx3dShapeEdge, theSecondEdge: Mx3dShapeEdge);
|
|
18896
|
+
constructor(theFirstPoint: Mx3dGePoint, theSecondPoint: Mx3dGePoint, theThirdPoint: Mx3dGePoint);
|
|
18897
|
+
FirstPoint(): Mx3dGePoint;
|
|
18898
|
+
SecondPoint(): Mx3dGePoint;
|
|
18899
|
+
CenterPoint(): Mx3dGePoint;
|
|
18900
|
+
FirstShape(): Mx3dShapeObject;
|
|
18901
|
+
SecondShape(): Mx3dShapeObject;
|
|
18902
|
+
ThirdShape(): Mx3dShapeObject;
|
|
18903
|
+
SetMeasuredGeometry(theCone: Mx3dShapeFace): void;
|
|
18904
|
+
SetMeasuredGeometry(theFirstEdge: Mx3dShapeEdge, theSecondEdge: Mx3dShapeEdge): void;
|
|
18905
|
+
SetMeasuredGeometry(theFirstPoint: Mx3dGePoint, theSecondPoint: Mx3dGePoint, theThridPoint: Mx3dGePoint): void;
|
|
18906
|
+
SetTextPosition(theTextPos: Mx3dGePoint): void;
|
|
18907
|
+
GetTextPosition(): Mx3dGePoint;
|
|
18595
18908
|
GetDisplayUnits(): string;
|
|
18596
18909
|
GetModelUnits(): string;
|
|
18597
18910
|
SetDisplayUnits(theUnits: string): void;
|
|
@@ -18603,12 +18916,12 @@ export declare class MxNewMx3dDimAngle extends MxNewMx3dDimObject {
|
|
|
18603
18916
|
GetValue(): number;
|
|
18604
18917
|
SetComputedValue(): void;
|
|
18605
18918
|
SetCustomValue(theValue: number): void;
|
|
18606
|
-
GetPlane():
|
|
18919
|
+
GetPlane(): Mx3dGePlane;
|
|
18607
18920
|
GetGeometryType(): number;
|
|
18608
|
-
SetCustomPlane(thePlane:
|
|
18921
|
+
SetCustomPlane(thePlane: Mx3dGePlane): void;
|
|
18609
18922
|
UnsetCustomPlane(): void;
|
|
18610
18923
|
IsTextPositionCustom(): boolean;
|
|
18611
|
-
SetDimensionAspect(theDimensionAspect:
|
|
18924
|
+
SetDimensionAspect(theDimensionAspect: Mx3dAspectDim): void;
|
|
18612
18925
|
KindOfDimension(): MdGe.MxKindOfDimension;
|
|
18613
18926
|
UnsetFixedTextPosition(): void;
|
|
18614
18927
|
SelToleranceForText2d(): number;
|
|
@@ -18617,28 +18930,28 @@ export declare class MxNewMx3dDimAngle extends MxNewMx3dDimObject {
|
|
|
18617
18930
|
SetFlyout(theFlyout: number): void;
|
|
18618
18931
|
IsValid(): boolean;
|
|
18619
18932
|
}
|
|
18620
|
-
export declare class
|
|
18933
|
+
export declare class Mx3dDimLength extends Mx3dDimObject {
|
|
18621
18934
|
constructor();
|
|
18622
|
-
constructor(theEdge:
|
|
18623
|
-
constructor(theFirstPoint:
|
|
18624
|
-
FirstPoint():
|
|
18625
|
-
SecondPoint():
|
|
18626
|
-
FirstShape():
|
|
18627
|
-
SecondShape():
|
|
18628
|
-
SetMeasuredGeometry(theFirstPoint:
|
|
18629
|
-
SetMeasuredShapes(theFirstShape:
|
|
18630
|
-
SetTextPosition(theTextPos:
|
|
18631
|
-
GetTextPosition():
|
|
18632
|
-
SetDirection(theDirection:
|
|
18935
|
+
constructor(theEdge: Mx3dShapeEdge, thePlane: Mx3dGePlane);
|
|
18936
|
+
constructor(theFirstPoint: Mx3dGePoint, theSecondPoint: Mx3dGePoint, thePlane: Mx3dGePlane);
|
|
18937
|
+
FirstPoint(): Mx3dGePoint;
|
|
18938
|
+
SecondPoint(): Mx3dGePoint;
|
|
18939
|
+
FirstShape(): Mx3dShapeObject;
|
|
18940
|
+
SecondShape(): Mx3dShapeObject;
|
|
18941
|
+
SetMeasuredGeometry(theFirstPoint: Mx3dGePoint, theSecondPoint: Mx3dGePoint, thePlane: Mx3dGePlane): void;
|
|
18942
|
+
SetMeasuredShapes(theFirstShape: Mx3dShapeObject, theSecondShape: Mx3dShapeObject): void;
|
|
18943
|
+
SetTextPosition(theTextPos: Mx3dGePoint): void;
|
|
18944
|
+
GetTextPosition(): Mx3dGePoint;
|
|
18945
|
+
SetDirection(theDirection: Mx3dGeDir, theUseDirection: boolean): void;
|
|
18633
18946
|
GetValue(): number;
|
|
18634
18947
|
SetComputedValue(): void;
|
|
18635
18948
|
SetCustomValue(theValue: number): void;
|
|
18636
|
-
GetPlane():
|
|
18949
|
+
GetPlane(): Mx3dGePlane;
|
|
18637
18950
|
GetGeometryType(): number;
|
|
18638
|
-
SetCustomPlane(thePlane:
|
|
18951
|
+
SetCustomPlane(thePlane: Mx3dGePlane): void;
|
|
18639
18952
|
UnsetCustomPlane(): void;
|
|
18640
18953
|
IsTextPositionCustom(): boolean;
|
|
18641
|
-
SetDimensionAspect(theDimensionAspect:
|
|
18954
|
+
SetDimensionAspect(theDimensionAspect: Mx3dAspectDim): void;
|
|
18642
18955
|
KindOfDimension(): MdGe.MxKindOfDimension;
|
|
18643
18956
|
UnsetFixedTextPosition(): void;
|
|
18644
18957
|
SelToleranceForText2d(): number;
|