mxcad 1.0.236 → 1.0.237
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 +21 -0
- package/dist/mxcad.es.js +40 -6
- package/dist/mxcad.umd.js +2 -2
- package/dist/wasm/2d/mxdrawassembly_min.js +1989 -1945
- package/dist/wasm/2d/mxdrawassembly_min.wasm +0 -0
- package/dist/wasm/2d-st/mxdrawassembly_min.js +1972 -1928
- package/dist/wasm/2d-st/mxdrawassembly_minst.wasm +0 -0
- package/package.json +1 -1
package/dist/mxcad.d.ts
CHANGED
|
@@ -8085,6 +8085,27 @@ export declare class McDbRasterImage extends McDbEntity {
|
|
|
8085
8085
|
*/
|
|
8086
8086
|
clipBoundaryType(): McDb.ClipBoundaryType;
|
|
8087
8087
|
}
|
|
8088
|
+
/**
|
|
8089
|
+
* Wipeout类
|
|
8090
|
+
*/
|
|
8091
|
+
export declare class McDbWipeout extends McDbEntity {
|
|
8092
|
+
/**
|
|
8093
|
+
* 构造函数。
|
|
8094
|
+
* ```
|
|
8095
|
+
*/
|
|
8096
|
+
constructor(x?: object);
|
|
8097
|
+
/**
|
|
8098
|
+
* 设置Wipeout类边界
|
|
8099
|
+
*/
|
|
8100
|
+
setVertices(aryPoint: McGePoint3dArray): boolean;
|
|
8101
|
+
/**
|
|
8102
|
+
* 获取Wipeout类边界
|
|
8103
|
+
* @example
|
|
8104
|
+
* ```ts
|
|
8105
|
+
* ```
|
|
8106
|
+
*/
|
|
8107
|
+
getVertices(): McGePoint3dArray;
|
|
8108
|
+
}
|
|
8088
8109
|
/**
|
|
8089
8110
|
* 背景绘制对象
|
|
8090
8111
|
*/
|
package/dist/mxcad.es.js
CHANGED
|
@@ -14145,7 +14145,7 @@ win.McDrawObjectEvent_asciiToUTF8 = function (hexstr) {
|
|
|
14145
14145
|
return MxG2312Obj.decodeFromGb2312(hexstr);
|
|
14146
14146
|
};
|
|
14147
14147
|
|
|
14148
|
-
const version$1 = "1.0.
|
|
14148
|
+
const version$1 = "1.0.237";
|
|
14149
14149
|
|
|
14150
14150
|
var isSharedArrayBuffer = ("SharedArrayBuffer" in window);
|
|
14151
14151
|
var isCdn = document.currentScript && /unpkg\.com\/mxcad/.test(document.currentScript.src);
|
|
@@ -17729,12 +17729,39 @@ var McDbRasterImage = /*#__PURE__*/function (_McDbEntity9) {
|
|
|
17729
17729
|
}]);
|
|
17730
17730
|
return McDbRasterImage;
|
|
17731
17731
|
}(McDbEntity);
|
|
17732
|
-
var
|
|
17733
|
-
_inherits$1(
|
|
17734
|
-
var _super21 = _createSuper$4(
|
|
17732
|
+
var McDbWipeout = /*#__PURE__*/function (_McDbEntity10) {
|
|
17733
|
+
_inherits$1(McDbWipeout, _McDbEntity10);
|
|
17734
|
+
var _super21 = _createSuper$4(McDbWipeout);
|
|
17735
|
+
function McDbWipeout(x) {
|
|
17736
|
+
var _this18;
|
|
17737
|
+
_classCallCheck$1(this, McDbWipeout);
|
|
17738
|
+
if (x instanceof Object) {
|
|
17739
|
+
_this18 = _super21.call(this, x);
|
|
17740
|
+
} else {
|
|
17741
|
+
_this18 = _super21.call(this);
|
|
17742
|
+
_this18.initTempObject(new MxCpp.mxcadassemblyimp.MdDbWipeout());
|
|
17743
|
+
}
|
|
17744
|
+
return _possibleConstructorReturn$1(_this18);
|
|
17745
|
+
}
|
|
17746
|
+
_createClass$1(McDbWipeout, [{
|
|
17747
|
+
key: "setVertices",
|
|
17748
|
+
value: function setVertices(aryPoint) {
|
|
17749
|
+
return this.imp.setVertices(aryPoint.imp);
|
|
17750
|
+
}
|
|
17751
|
+
}, {
|
|
17752
|
+
key: "getVertices",
|
|
17753
|
+
value: function getVertices() {
|
|
17754
|
+
return new McGePoint3dArray(this.imp.getVertices());
|
|
17755
|
+
}
|
|
17756
|
+
}]);
|
|
17757
|
+
return McDbWipeout;
|
|
17758
|
+
}(McDbEntity);
|
|
17759
|
+
var McDbBackgroundEntity = /*#__PURE__*/function (_McDbEntity11) {
|
|
17760
|
+
_inherits$1(McDbBackgroundEntity, _McDbEntity11);
|
|
17761
|
+
var _super22 = _createSuper$4(McDbBackgroundEntity);
|
|
17735
17762
|
function McDbBackgroundEntity(x) {
|
|
17736
17763
|
_classCallCheck$1(this, McDbBackgroundEntity);
|
|
17737
|
-
return
|
|
17764
|
+
return _super22.call(this, x);
|
|
17738
17765
|
}
|
|
17739
17766
|
_createClass$1(McDbBackgroundEntity, [{
|
|
17740
17767
|
key: "setShow",
|
|
@@ -21190,6 +21217,12 @@ var McAppType = /*#__PURE__*/function () {
|
|
|
21190
21217
|
this.classNameToCreateCalls["McDbRasterImageDef"] = function () {
|
|
21191
21218
|
return new McDbRasterImageDef();
|
|
21192
21219
|
};
|
|
21220
|
+
this.objectIdToObjectCalls["McDbWipeout"] = function (lIdIndex) {
|
|
21221
|
+
return new McDbWipeout(_this8.imp.ObjectIdToMdDbWipeout(lIdIndex));
|
|
21222
|
+
};
|
|
21223
|
+
this.classNameToCreateCalls["McDbWipeout"] = function () {
|
|
21224
|
+
return new McDbWipeout();
|
|
21225
|
+
};
|
|
21193
21226
|
this.objectIdToObjectCalls["McDbDictionary"] = function (lIdIndex) {
|
|
21194
21227
|
return new McDbDictionary(_this8.imp.ObjectIdToMdDbDictionary(lIdIndex));
|
|
21195
21228
|
};
|
|
@@ -48145,6 +48178,7 @@ const mxcad = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
48145
48178
|
McDbHatch,
|
|
48146
48179
|
McDbProxyEntity,
|
|
48147
48180
|
McDbRasterImage,
|
|
48181
|
+
McDbWipeout,
|
|
48148
48182
|
McDbBackgroundEntity,
|
|
48149
48183
|
FetchAttributes,
|
|
48150
48184
|
McObject,
|
|
@@ -48281,4 +48315,4 @@ const mxcad = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
|
48281
48315
|
mx_gcj02_To_gps84
|
|
48282
48316
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
48283
48317
|
|
|
48284
|
-
export { ColorIndexType, ColorMethod, DxfCode, FetchAttributes, IMcDbDwgFiler, IsZero, McAppType, McCmColor, McDb, McDb2LineAngularDimension, McDbAlignedDimension, McDbArc, McDbAttribute, McDbAttributeDefinition, McDbBackgroundEntity, McDbBlockReference, McDbBlockTable, McDbBlockTableRecord, McDbCircle, McDbCurve, McDbCustomEntity, McDbDatabase, McDbDictionary, McDbDimStyleTable, McDbDimStyleTableRecord, McDbDimension, McDbEllipse, McDbEntity, McDbGroup, McDbHatch, McDbLayerTable, McDbLayerTableRecord, McDbLine, McDbLinetypeTable, McDbLinetypeTableRecord, McDbMText, McDbObject, McDbObjectArray, McDbPoint, McDbPolyline, McDbProxyEntity, McDbRasterImage, McDbRasterImageDef, McDbRotatedDimension, McDbText, McDbTextStyleTable, McDbTextStyleTableRecord, McDbXrecord, McGeBound, McGeDoubleArray, McGeLongArray, McGeMatrix3d, McGePoint3d, McGePoint3dArray, McGeStringArray, McGeVector3d, McObject, McObjectId, McObjectIdType, McRxObject, MdGe, Mx3dAlgoChamfer, Mx3dAlgoFillet, Mx3dAlgoFillet2d, Mx3dAlgoObject, Mx3dApplication, Mx3dAspectArrow, Mx3dAspectDim, Mx3dAspectLine, Mx3dAspectObject, Mx3dAspectText, Mx3dBaseObject, Mx3dBrepCastGeom, Mx3dDbDocument, Mx3dDbLabel, Mx3dDbObject, Mx3dDimAngle, Mx3dDimDiameter, Mx3dDimLength, Mx3dDimObject, Mx3dDimRadius, Mx3dGeAxis, Mx3dGeBndBox, Mx3dGeCSYS, Mx3dGeCSYSR, Mx3dGeCircle, Mx3dGeColor, Mx3dGeConic, Mx3dGeCurve, Mx3dGeCylinder, Mx3dGeDir, Mx3dGeEllipse, Mx3dGeHyperbola, Mx3dGeLine, Mx3dGeLocation, Mx3dGeMaterial, Mx3dGeObject, Mx3dGePlane, Mx3dGePoint, Mx3dGeTrsf, Mx3dGeVec, Mx3dGeomBSplineCurve, Mx3dGeomBSplineSurface, Mx3dGeomBezierCurve, Mx3dGeomBezierSurface, Mx3dGeomBoundedCurve, Mx3dGeomBoundedSurface, Mx3dGeomCircle, Mx3dGeomConic, Mx3dGeomConicalSurface, Mx3dGeomCurve, Mx3dGeomCylindricalSurface, Mx3dGeomElementarySurface, Mx3dGeomEllipse, Mx3dGeomHyperbola, Mx3dGeomLine, Mx3dGeomObject, Mx3dGeomParabola, Mx3dGeomPlane, Mx3dGeomSphericalSurface, Mx3dGeomSurface, Mx3dGeomToroidalSurface, Mx3dInterpolateBSplineCurve, Mx3dMkBox, Mx3dMkCone, Mx3dMkCylinder, Mx3dMkFace, Mx3dMkLoft, Mx3dMkObject, Mx3dMkPipe, Mx3dMkPolygon, Mx3dMkPrism, Mx3dMkRevol, Mx3dMkSphere, Mx3dMkThickSolid, Mx3dMkTorus, Mx3dMkWedge, Mx3dShapeCompSolid, Mx3dShapeCompound, Mx3dShapeDownCast, Mx3dShapeEdge, Mx3dShapeFace, Mx3dShapeObject, Mx3dShapeShell, Mx3dShapeSolid, Mx3dShapeVertex, Mx3dShapeWire, Mx3dSymbolObject, Mx3dSymbolText, Mx3dUtils, Mx3dView, Mx3dWireTool, MxApp3D, MxCAD3DObject, MxCADCloneType, MxCADPluginBase, MxCADPluginMapDefaultData, MxCADPluginSampleCode, MxCADResbuf, MxCADSelectionSet, MxCADSelectionSetStatus, MxCADUiPrAngle, MxCADUiPrBase, MxCADUiPrDist, MxCADUiPrEntity, MxCADUiPrInt, MxCADUiPrKeyWord, MxCADUiPrPoint, MxCADUiPrString, MxCADUtility, MxCADUtilityClass, MxCADWorldDraw, MxCheckTheBrowser, MxCompare, MxCoordConvert, MxCoordConvertType, MxCpp, MxCppType, MxMap, MxMapAddGoogleCnLayer, MxMapAddRasterTileLayer, MxPropertiesWindowCustom, MxPropertiesWindowCustomValue, MxPropertiesWindowCustomValueType, MxTools, Mx_Erase, _ML_String, b64Decode, b64Encode, createMcCmColor, createMxCad, mxcad as default, downloadFile, downloadFileFromUrl, drawArc, drawCircle, drawEllipticalArc, drawLine, drawMText, drawPolyLine, drawPolygon, drawRectang, drawText, getColorUtils, getFileFromUrl, getFilterImp, getJsonFromUrl, loadMxCADassembly, mx_gcj02_To_gps84, mx_gps84_To_gcj02, postEmscriptenIndexedDBFile, postMemoryFile, saveAsFileDialog, setMcCmColor };
|
|
48318
|
+
export { ColorIndexType, ColorMethod, DxfCode, FetchAttributes, IMcDbDwgFiler, IsZero, McAppType, McCmColor, McDb, McDb2LineAngularDimension, McDbAlignedDimension, McDbArc, McDbAttribute, McDbAttributeDefinition, McDbBackgroundEntity, McDbBlockReference, McDbBlockTable, McDbBlockTableRecord, McDbCircle, McDbCurve, McDbCustomEntity, McDbDatabase, McDbDictionary, McDbDimStyleTable, McDbDimStyleTableRecord, McDbDimension, McDbEllipse, McDbEntity, McDbGroup, McDbHatch, McDbLayerTable, McDbLayerTableRecord, McDbLine, McDbLinetypeTable, McDbLinetypeTableRecord, McDbMText, McDbObject, McDbObjectArray, McDbPoint, McDbPolyline, McDbProxyEntity, McDbRasterImage, McDbRasterImageDef, McDbRotatedDimension, McDbText, McDbTextStyleTable, McDbTextStyleTableRecord, McDbWipeout, McDbXrecord, McGeBound, McGeDoubleArray, McGeLongArray, McGeMatrix3d, McGePoint3d, McGePoint3dArray, McGeStringArray, McGeVector3d, McObject, McObjectId, McObjectIdType, McRxObject, MdGe, Mx3dAlgoChamfer, Mx3dAlgoFillet, Mx3dAlgoFillet2d, Mx3dAlgoObject, Mx3dApplication, Mx3dAspectArrow, Mx3dAspectDim, Mx3dAspectLine, Mx3dAspectObject, Mx3dAspectText, Mx3dBaseObject, Mx3dBrepCastGeom, Mx3dDbDocument, Mx3dDbLabel, Mx3dDbObject, Mx3dDimAngle, Mx3dDimDiameter, Mx3dDimLength, Mx3dDimObject, Mx3dDimRadius, Mx3dGeAxis, Mx3dGeBndBox, Mx3dGeCSYS, Mx3dGeCSYSR, Mx3dGeCircle, Mx3dGeColor, Mx3dGeConic, Mx3dGeCurve, Mx3dGeCylinder, Mx3dGeDir, Mx3dGeEllipse, Mx3dGeHyperbola, Mx3dGeLine, Mx3dGeLocation, Mx3dGeMaterial, Mx3dGeObject, Mx3dGePlane, Mx3dGePoint, Mx3dGeTrsf, Mx3dGeVec, Mx3dGeomBSplineCurve, Mx3dGeomBSplineSurface, Mx3dGeomBezierCurve, Mx3dGeomBezierSurface, Mx3dGeomBoundedCurve, Mx3dGeomBoundedSurface, Mx3dGeomCircle, Mx3dGeomConic, Mx3dGeomConicalSurface, Mx3dGeomCurve, Mx3dGeomCylindricalSurface, Mx3dGeomElementarySurface, Mx3dGeomEllipse, Mx3dGeomHyperbola, Mx3dGeomLine, Mx3dGeomObject, Mx3dGeomParabola, Mx3dGeomPlane, Mx3dGeomSphericalSurface, Mx3dGeomSurface, Mx3dGeomToroidalSurface, Mx3dInterpolateBSplineCurve, Mx3dMkBox, Mx3dMkCone, Mx3dMkCylinder, Mx3dMkFace, Mx3dMkLoft, Mx3dMkObject, Mx3dMkPipe, Mx3dMkPolygon, Mx3dMkPrism, Mx3dMkRevol, Mx3dMkSphere, Mx3dMkThickSolid, Mx3dMkTorus, Mx3dMkWedge, Mx3dShapeCompSolid, Mx3dShapeCompound, Mx3dShapeDownCast, Mx3dShapeEdge, Mx3dShapeFace, Mx3dShapeObject, Mx3dShapeShell, Mx3dShapeSolid, Mx3dShapeVertex, Mx3dShapeWire, Mx3dSymbolObject, Mx3dSymbolText, Mx3dUtils, Mx3dView, Mx3dWireTool, MxApp3D, MxCAD3DObject, MxCADCloneType, MxCADPluginBase, MxCADPluginMapDefaultData, MxCADPluginSampleCode, MxCADResbuf, MxCADSelectionSet, MxCADSelectionSetStatus, MxCADUiPrAngle, MxCADUiPrBase, MxCADUiPrDist, MxCADUiPrEntity, MxCADUiPrInt, MxCADUiPrKeyWord, MxCADUiPrPoint, MxCADUiPrString, MxCADUtility, MxCADUtilityClass, MxCADWorldDraw, MxCheckTheBrowser, MxCompare, MxCoordConvert, MxCoordConvertType, MxCpp, MxCppType, MxMap, MxMapAddGoogleCnLayer, MxMapAddRasterTileLayer, MxPropertiesWindowCustom, MxPropertiesWindowCustomValue, MxPropertiesWindowCustomValueType, MxTools, Mx_Erase, _ML_String, b64Decode, b64Encode, createMcCmColor, createMxCad, mxcad as default, downloadFile, downloadFileFromUrl, drawArc, drawCircle, drawEllipticalArc, drawLine, drawMText, drawPolyLine, drawPolygon, drawRectang, drawText, getColorUtils, getFileFromUrl, getFilterImp, getJsonFromUrl, loadMxCADassembly, mx_gcj02_To_gps84, mx_gps84_To_gcj02, postEmscriptenIndexedDBFile, postMemoryFile, saveAsFileDialog, setMcCmColor };
|