@mlightcad/data-model 1.3.3 → 1.3.4
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/data-model.cjs +5 -0
- package/dist/data-model.js +25523 -0
- package/dist/dxf-parser-worker.js +1715 -0
- package/lib/base/AcDbHostApplicationServices.d.ts +96 -0
- package/lib/base/AcDbHostApplicationServices.d.ts.map +1 -0
- package/lib/base/AcDbHostApplicationServices.js +118 -0
- package/lib/base/AcDbHostApplicationServices.js.map +1 -0
- package/lib/base/AcDbObject.d.ts +205 -0
- package/lib/base/AcDbObject.d.ts.map +1 -0
- package/lib/base/AcDbObject.js +236 -0
- package/lib/base/AcDbObject.js.map +1 -0
- package/lib/base/index.d.ts +3 -0
- package/lib/base/index.d.ts.map +1 -0
- package/lib/base/index.js +3 -0
- package/lib/base/index.js.map +1 -0
- package/lib/converter/AcDbBatchProcessing.d.ts +146 -0
- package/lib/converter/AcDbBatchProcessing.d.ts.map +1 -0
- package/lib/converter/AcDbBatchProcessing.js +272 -0
- package/lib/converter/AcDbBatchProcessing.js.map +1 -0
- package/lib/converter/AcDbDxfConverter.d.ts +272 -0
- package/lib/converter/AcDbDxfConverter.d.ts.map +1 -0
- package/lib/converter/AcDbDxfConverter.js +874 -0
- package/lib/converter/AcDbDxfConverter.js.map +1 -0
- package/lib/converter/AcDbDxfParser.d.ts +23 -0
- package/lib/converter/AcDbDxfParser.d.ts.map +1 -0
- package/lib/converter/AcDbDxfParser.js +85 -0
- package/lib/converter/AcDbDxfParser.js.map +1 -0
- package/lib/converter/AcDbEntitiyConverter.d.ts +159 -0
- package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -0
- package/lib/converter/AcDbEntitiyConverter.js +659 -0
- package/lib/converter/AcDbEntitiyConverter.js.map +1 -0
- package/lib/converter/AcDbObjectConverter.d.ts +61 -0
- package/lib/converter/AcDbObjectConverter.d.ts.map +1 -0
- package/lib/converter/AcDbObjectConverter.js +91 -0
- package/lib/converter/AcDbObjectConverter.js.map +1 -0
- package/lib/converter/AcDbRegenerator.d.ts +101 -0
- package/lib/converter/AcDbRegenerator.d.ts.map +1 -0
- package/lib/converter/AcDbRegenerator.js +334 -0
- package/lib/converter/AcDbRegenerator.js.map +1 -0
- package/lib/converter/index.d.ts +5 -0
- package/lib/converter/index.d.ts.map +1 -0
- package/lib/converter/index.js +5 -0
- package/lib/converter/index.js.map +1 -0
- package/lib/converter/worker/AcDbBaseWorker.d.ts +36 -0
- package/lib/converter/worker/AcDbBaseWorker.d.ts.map +1 -0
- package/lib/converter/worker/AcDbBaseWorker.js +93 -0
- package/lib/converter/worker/AcDbBaseWorker.js.map +1 -0
- package/lib/converter/worker/AcDbDxfParserWorker.d.ts +11 -0
- package/lib/converter/worker/AcDbDxfParserWorker.d.ts.map +1 -0
- package/lib/converter/worker/AcDbDxfParserWorker.js +75 -0
- package/lib/converter/worker/AcDbDxfParserWorker.js.map +1 -0
- package/lib/converter/worker/AcDbWorkerManager.d.ts +107 -0
- package/lib/converter/worker/AcDbWorkerManager.d.ts.map +1 -0
- package/lib/converter/worker/AcDbWorkerManager.js +360 -0
- package/lib/converter/worker/AcDbWorkerManager.js.map +1 -0
- package/lib/converter/worker/index.d.ts +3 -0
- package/lib/converter/worker/index.d.ts.map +1 -0
- package/lib/converter/worker/index.js +3 -0
- package/lib/converter/worker/index.js.map +1 -0
- package/lib/database/AcDbBlockTable.d.ts +56 -0
- package/lib/database/AcDbBlockTable.d.ts.map +1 -0
- package/lib/database/AcDbBlockTable.js +98 -0
- package/lib/database/AcDbBlockTable.js.map +1 -0
- package/lib/database/AcDbBlockTableRecord.d.ts +185 -0
- package/lib/database/AcDbBlockTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbBlockTableRecord.js +261 -0
- package/lib/database/AcDbBlockTableRecord.js.map +1 -0
- package/lib/database/AcDbDatabase.d.ts +563 -0
- package/lib/database/AcDbDatabase.d.ts.map +1 -0
- package/lib/database/AcDbDatabase.js +842 -0
- package/lib/database/AcDbDatabase.js.map +1 -0
- package/lib/database/AcDbDatabaseConverter.d.ts +292 -0
- package/lib/database/AcDbDatabaseConverter.d.ts.map +1 -0
- package/lib/database/AcDbDatabaseConverter.js +448 -0
- package/lib/database/AcDbDatabaseConverter.js.map +1 -0
- package/lib/database/AcDbDatabaseConverterManager.d.ts +141 -0
- package/lib/database/AcDbDatabaseConverterManager.d.ts.map +1 -0
- package/lib/database/AcDbDatabaseConverterManager.js +173 -0
- package/lib/database/AcDbDatabaseConverterManager.js.map +1 -0
- package/lib/database/AcDbDimStyleTable.d.ts +31 -0
- package/lib/database/AcDbDimStyleTable.d.ts.map +1 -0
- package/lib/database/AcDbDimStyleTable.js +49 -0
- package/lib/database/AcDbDimStyleTable.js.map +1 -0
- package/lib/database/AcDbDimStyleTableRecord.d.ts +797 -0
- package/lib/database/AcDbDimStyleTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbDimStyleTableRecord.js +1294 -0
- package/lib/database/AcDbDimStyleTableRecord.js.map +1 -0
- package/lib/database/AcDbDwgVersion.d.ts +32 -0
- package/lib/database/AcDbDwgVersion.d.ts.map +1 -0
- package/lib/database/AcDbDwgVersion.js +126 -0
- package/lib/database/AcDbDwgVersion.js.map +1 -0
- package/lib/database/AcDbLayerTable.d.ts +51 -0
- package/lib/database/AcDbLayerTable.d.ts.map +1 -0
- package/lib/database/AcDbLayerTable.js +92 -0
- package/lib/database/AcDbLayerTable.js.map +1 -0
- package/lib/database/AcDbLayerTableRecord.d.ts +278 -0
- package/lib/database/AcDbLayerTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbLayerTableRecord.js +397 -0
- package/lib/database/AcDbLayerTableRecord.js.map +1 -0
- package/lib/database/AcDbLinetypeTable.d.ts +30 -0
- package/lib/database/AcDbLinetypeTable.d.ts.map +1 -0
- package/lib/database/AcDbLinetypeTable.js +48 -0
- package/lib/database/AcDbLinetypeTable.js.map +1 -0
- package/lib/database/AcDbLinetypeTableRecord.d.ts +79 -0
- package/lib/database/AcDbLinetypeTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbLinetypeTableRecord.js +129 -0
- package/lib/database/AcDbLinetypeTableRecord.js.map +1 -0
- package/lib/database/AcDbSymbolTable.d.ts +199 -0
- package/lib/database/AcDbSymbolTable.d.ts.map +1 -0
- package/lib/database/AcDbSymbolTable.js +264 -0
- package/lib/database/AcDbSymbolTable.js.map +1 -0
- package/lib/database/AcDbSymbolTableRecord.d.ts +61 -0
- package/lib/database/AcDbSymbolTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbSymbolTableRecord.js +82 -0
- package/lib/database/AcDbSymbolTableRecord.js.map +1 -0
- package/lib/database/AcDbTextStyleTable.d.ts +48 -0
- package/lib/database/AcDbTextStyleTable.d.ts.map +1 -0
- package/lib/database/AcDbTextStyleTable.js +112 -0
- package/lib/database/AcDbTextStyleTable.js.map +1 -0
- package/lib/database/AcDbTextStyleTableRecord.d.ts +179 -0
- package/lib/database/AcDbTextStyleTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbTextStyleTableRecord.js +276 -0
- package/lib/database/AcDbTextStyleTableRecord.js.map +1 -0
- package/lib/database/AcDbViewportTable.d.ts +31 -0
- package/lib/database/AcDbViewportTable.d.ts.map +1 -0
- package/lib/database/AcDbViewportTable.js +49 -0
- package/lib/database/AcDbViewportTable.js.map +1 -0
- package/lib/database/AcDbViewportTableRecord.d.ts +154 -0
- package/lib/database/AcDbViewportTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbViewportTableRecord.js +318 -0
- package/lib/database/AcDbViewportTableRecord.js.map +1 -0
- package/lib/database/index.d.ts +19 -0
- package/lib/database/index.d.ts.map +1 -0
- package/lib/database/index.js +19 -0
- package/lib/database/index.js.map +1 -0
- package/lib/entity/AcDbArc.d.ts +254 -0
- package/lib/entity/AcDbArc.d.ts.map +1 -0
- package/lib/entity/AcDbArc.js +340 -0
- package/lib/entity/AcDbArc.js.map +1 -0
- package/lib/entity/AcDbBlockReference.d.ts +190 -0
- package/lib/entity/AcDbBlockReference.d.ts.map +1 -0
- package/lib/entity/AcDbBlockReference.js +302 -0
- package/lib/entity/AcDbBlockReference.js.map +1 -0
- package/lib/entity/AcDbCircle.d.ts +186 -0
- package/lib/entity/AcDbCircle.d.ts.map +1 -0
- package/lib/entity/AcDbCircle.js +249 -0
- package/lib/entity/AcDbCircle.js.map +1 -0
- package/lib/entity/AcDbCurve.d.ts +42 -0
- package/lib/entity/AcDbCurve.d.ts.map +1 -0
- package/lib/entity/AcDbCurve.js +44 -0
- package/lib/entity/AcDbCurve.js.map +1 -0
- package/lib/entity/AcDbEllipse.d.ts +207 -0
- package/lib/entity/AcDbEllipse.d.ts.map +1 -0
- package/lib/entity/AcDbEllipse.js +272 -0
- package/lib/entity/AcDbEllipse.js.map +1 -0
- package/lib/entity/AcDbEntity.d.ts +385 -0
- package/lib/entity/AcDbEntity.d.ts.map +1 -0
- package/lib/entity/AcDbEntity.js +561 -0
- package/lib/entity/AcDbEntity.js.map +1 -0
- package/lib/entity/AcDbFace.d.ts +151 -0
- package/lib/entity/AcDbFace.d.ts.map +1 -0
- package/lib/entity/AcDbFace.js +224 -0
- package/lib/entity/AcDbFace.js.map +1 -0
- package/lib/entity/AcDbHatch.d.ts +174 -0
- package/lib/entity/AcDbHatch.d.ts.map +1 -0
- package/lib/entity/AcDbHatch.js +250 -0
- package/lib/entity/AcDbHatch.js.map +1 -0
- package/lib/entity/AcDbLeader.d.ts +243 -0
- package/lib/entity/AcDbLeader.d.ts.map +1 -0
- package/lib/entity/AcDbLeader.js +358 -0
- package/lib/entity/AcDbLeader.js.map +1 -0
- package/lib/entity/AcDbLine.d.ts +198 -0
- package/lib/entity/AcDbLine.d.ts.map +1 -0
- package/lib/entity/AcDbLine.js +300 -0
- package/lib/entity/AcDbLine.js.map +1 -0
- package/lib/entity/AcDbMText.d.ts +248 -0
- package/lib/entity/AcDbMText.d.ts.map +1 -0
- package/lib/entity/AcDbMText.js +414 -0
- package/lib/entity/AcDbMText.js.map +1 -0
- package/lib/entity/AcDbPoint.d.ts +113 -0
- package/lib/entity/AcDbPoint.d.ts.map +1 -0
- package/lib/entity/AcDbPoint.js +155 -0
- package/lib/entity/AcDbPoint.js.map +1 -0
- package/lib/entity/AcDbPolyline.d.ts +221 -0
- package/lib/entity/AcDbPolyline.d.ts.map +1 -0
- package/lib/entity/AcDbPolyline.js +301 -0
- package/lib/entity/AcDbPolyline.js.map +1 -0
- package/lib/entity/AcDbRasterImage.d.ts +216 -0
- package/lib/entity/AcDbRasterImage.d.ts.map +1 -0
- package/lib/entity/AcDbRasterImage.js +451 -0
- package/lib/entity/AcDbRasterImage.js.map +1 -0
- package/lib/entity/AcDbRay.d.ts +150 -0
- package/lib/entity/AcDbRay.d.ts.map +1 -0
- package/lib/entity/AcDbRay.js +208 -0
- package/lib/entity/AcDbRay.js.map +1 -0
- package/lib/entity/AcDbSpline.d.ts +135 -0
- package/lib/entity/AcDbSpline.d.ts.map +1 -0
- package/lib/entity/AcDbSpline.js +142 -0
- package/lib/entity/AcDbSpline.js.map +1 -0
- package/lib/entity/AcDbTable.d.ts +260 -0
- package/lib/entity/AcDbTable.d.ts.map +1 -0
- package/lib/entity/AcDbTable.js +452 -0
- package/lib/entity/AcDbTable.js.map +1 -0
- package/lib/entity/AcDbText.d.ts +388 -0
- package/lib/entity/AcDbText.d.ts.map +1 -0
- package/lib/entity/AcDbText.js +523 -0
- package/lib/entity/AcDbText.js.map +1 -0
- package/lib/entity/AcDbTrace.d.ts +193 -0
- package/lib/entity/AcDbTrace.d.ts.map +1 -0
- package/lib/entity/AcDbTrace.js +271 -0
- package/lib/entity/AcDbTrace.js.map +1 -0
- package/lib/entity/AcDbViewport.d.ts +173 -0
- package/lib/entity/AcDbViewport.d.ts.map +1 -0
- package/lib/entity/AcDbViewport.js +295 -0
- package/lib/entity/AcDbViewport.js.map +1 -0
- package/lib/entity/AcDbWipeout.d.ts +39 -0
- package/lib/entity/AcDbWipeout.d.ts.map +1 -0
- package/lib/entity/AcDbWipeout.js +70 -0
- package/lib/entity/AcDbWipeout.js.map +1 -0
- package/lib/entity/AcDbXline.d.ts +151 -0
- package/lib/entity/AcDbXline.d.ts.map +1 -0
- package/lib/entity/AcDbXline.js +209 -0
- package/lib/entity/AcDbXline.js.map +1 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +92 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.js +157 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbAlignedDimension.d.ts +220 -0
- package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbAlignedDimension.js +341 -0
- package/lib/entity/dimension/AcDbAlignedDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbArcDimension.d.ts +94 -0
- package/lib/entity/dimension/AcDbArcDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbArcDimension.js +159 -0
- package/lib/entity/dimension/AcDbArcDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbDiametricDimension.d.ts +145 -0
- package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbDiametricDimension.js +275 -0
- package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbDimension.d.ts +257 -0
- package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbDimension.js +466 -0
- package/lib/entity/dimension/AcDbDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +78 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.js +133 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbRadialDimension.d.ts +214 -0
- package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbRadialDimension.js +288 -0
- package/lib/entity/dimension/AcDbRadialDimension.js.map +1 -0
- package/lib/entity/dimension/index.d.ts +8 -0
- package/lib/entity/dimension/index.d.ts.map +1 -0
- package/lib/entity/dimension/index.js +8 -0
- package/lib/entity/dimension/index.js.map +1 -0
- package/lib/entity/index.d.ts +24 -0
- package/lib/entity/index.d.ts.map +1 -0
- package/lib/entity/index.js +24 -0
- package/lib/entity/index.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +10 -0
- package/lib/index.js.map +1 -0
- package/lib/misc/AcDbAngleUnits.d.ts +20 -0
- package/lib/misc/AcDbAngleUnits.d.ts.map +1 -0
- package/lib/misc/AcDbAngleUnits.js +21 -0
- package/lib/misc/AcDbAngleUnits.js.map +1 -0
- package/lib/misc/AcDbCodePage.d.ts +50 -0
- package/lib/misc/AcDbCodePage.d.ts.map +1 -0
- package/lib/misc/AcDbCodePage.js +100 -0
- package/lib/misc/AcDbCodePage.js.map +1 -0
- package/lib/misc/AcDbConstants.d.ts +24 -0
- package/lib/misc/AcDbConstants.d.ts.map +1 -0
- package/lib/misc/AcDbConstants.js +24 -0
- package/lib/misc/AcDbConstants.js.map +1 -0
- package/lib/misc/AcDbDimArrowType.d.ts +89 -0
- package/lib/misc/AcDbDimArrowType.d.ts.map +1 -0
- package/lib/misc/AcDbDimArrowType.js +90 -0
- package/lib/misc/AcDbDimArrowType.js.map +1 -0
- package/lib/misc/AcDbObjectIterator.d.ts +64 -0
- package/lib/misc/AcDbObjectIterator.d.ts.map +1 -0
- package/lib/misc/AcDbObjectIterator.js +84 -0
- package/lib/misc/AcDbObjectIterator.js.map +1 -0
- package/lib/misc/AcDbOsnapMode.d.ts +51 -0
- package/lib/misc/AcDbOsnapMode.d.ts.map +1 -0
- package/lib/misc/AcDbOsnapMode.js +52 -0
- package/lib/misc/AcDbOsnapMode.js.map +1 -0
- package/lib/misc/AcDbRenderingCache.d.ts +141 -0
- package/lib/misc/AcDbRenderingCache.d.ts.map +1 -0
- package/lib/misc/AcDbRenderingCache.js +239 -0
- package/lib/misc/AcDbRenderingCache.js.map +1 -0
- package/lib/misc/AcDbUnitsValue.d.ts +101 -0
- package/lib/misc/AcDbUnitsValue.d.ts.map +1 -0
- package/lib/misc/AcDbUnitsValue.js +121 -0
- package/lib/misc/AcDbUnitsValue.js.map +1 -0
- package/lib/misc/index.d.ts +9 -0
- package/lib/misc/index.d.ts.map +1 -0
- package/lib/misc/index.js +9 -0
- package/lib/misc/index.js.map +1 -0
- package/lib/object/AcDbDictionary.d.ts +178 -0
- package/lib/object/AcDbDictionary.d.ts.map +1 -0
- package/lib/object/AcDbDictionary.js +264 -0
- package/lib/object/AcDbDictionary.js.map +1 -0
- package/lib/object/AcDbRasterImageDef.d.ts +54 -0
- package/lib/object/AcDbRasterImageDef.d.ts.map +1 -0
- package/lib/object/AcDbRasterImageDef.js +82 -0
- package/lib/object/AcDbRasterImageDef.js.map +1 -0
- package/lib/object/index.d.ts +4 -0
- package/lib/object/index.d.ts.map +1 -0
- package/lib/object/index.js +4 -0
- package/lib/object/index.js.map +1 -0
- package/lib/object/layout/AcDbLayout.d.ts +190 -0
- package/lib/object/layout/AcDbLayout.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayout.js +253 -0
- package/lib/object/layout/AcDbLayout.js.map +1 -0
- package/lib/object/layout/AcDbLayoutDictionary.d.ts +47 -0
- package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayoutDictionary.js +122 -0
- package/lib/object/layout/AcDbLayoutDictionary.js.map +1 -0
- package/lib/object/layout/AcDbLayoutManager.d.ts +188 -0
- package/lib/object/layout/AcDbLayoutManager.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayoutManager.js +245 -0
- package/lib/object/layout/AcDbLayoutManager.js.map +1 -0
- package/lib/object/layout/index.d.ts +4 -0
- package/lib/object/layout/index.d.ts.map +1 -0
- package/lib/object/layout/index.js +4 -0
- package/lib/object/layout/index.js.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,561 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
if (typeof b !== "function" && b !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
11
|
+
extendStatics(d, b);
|
|
12
|
+
function __() { this.constructor = d; }
|
|
13
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
14
|
+
};
|
|
15
|
+
})();
|
|
16
|
+
var __assign = (this && this.__assign) || function () {
|
|
17
|
+
__assign = Object.assign || function(t) {
|
|
18
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19
|
+
s = arguments[i];
|
|
20
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
21
|
+
t[p] = s[p];
|
|
22
|
+
}
|
|
23
|
+
return t;
|
|
24
|
+
};
|
|
25
|
+
return __assign.apply(this, arguments);
|
|
26
|
+
};
|
|
27
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
28
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
29
|
+
if (!m) return o;
|
|
30
|
+
var i = m.call(o), r, ar = [], e;
|
|
31
|
+
try {
|
|
32
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
33
|
+
}
|
|
34
|
+
catch (error) { e = { error: error }; }
|
|
35
|
+
finally {
|
|
36
|
+
try {
|
|
37
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
38
|
+
}
|
|
39
|
+
finally { if (e) throw e.error; }
|
|
40
|
+
}
|
|
41
|
+
return ar;
|
|
42
|
+
};
|
|
43
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
44
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
45
|
+
if (ar || !(i in from)) {
|
|
46
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
47
|
+
ar[i] = from[i];
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
51
|
+
};
|
|
52
|
+
import { AcCmColor } from '@mlightcad/common';
|
|
53
|
+
import { AcDbObject } from '../base/AcDbObject';
|
|
54
|
+
import { ByBlock, ByLayer, DEFAULT_LINE_TYPE } from '../misc';
|
|
55
|
+
/**
|
|
56
|
+
* Abstract base class for all drawing entities.
|
|
57
|
+
*
|
|
58
|
+
* This class provides the fundamental functionality for all drawing entities,
|
|
59
|
+
* including layer management, color handling, linetype support, visibility,
|
|
60
|
+
* and geometric operations. All specific entity types (lines, circles, text, etc.)
|
|
61
|
+
* inherit from this class.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```typescript
|
|
65
|
+
* class MyEntity extends AcDbEntity {
|
|
66
|
+
* get geometricExtents(): AcGeBox3d {
|
|
67
|
+
* // Implementation for geometric extents
|
|
68
|
+
* }
|
|
69
|
+
*
|
|
70
|
+
* draw(renderer: AcGiRenderer): AcGiEntity | undefined {
|
|
71
|
+
* // Implementation for drawing
|
|
72
|
+
* }
|
|
73
|
+
* }
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
var AcDbEntity = /** @class */ (function (_super) {
|
|
77
|
+
__extends(AcDbEntity, _super);
|
|
78
|
+
function AcDbEntity() {
|
|
79
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
|
|
80
|
+
/** The layer name this entity belongs to */
|
|
81
|
+
_this._layer = '0';
|
|
82
|
+
/** The color of this entity */
|
|
83
|
+
_this._color = new AcCmColor();
|
|
84
|
+
/** The linetype name for this entity */
|
|
85
|
+
_this._lineType = ByLayer;
|
|
86
|
+
/** The line weight for this entity */
|
|
87
|
+
_this._lineWeight = 1;
|
|
88
|
+
/** The linetype scale factor for this entity */
|
|
89
|
+
_this._linetypeScale = -1;
|
|
90
|
+
/** Whether this entity is visible */
|
|
91
|
+
_this._visibility = true;
|
|
92
|
+
/** The transparency level of this entity (0-1) */
|
|
93
|
+
_this._transparency = 0;
|
|
94
|
+
return _this;
|
|
95
|
+
}
|
|
96
|
+
Object.defineProperty(AcDbEntity.prototype, "type", {
|
|
97
|
+
/**
|
|
98
|
+
* Gets the type name of this entity.
|
|
99
|
+
*
|
|
100
|
+
* This method returns the entity type by removing the "AcDb" prefix
|
|
101
|
+
* from the constructor name.
|
|
102
|
+
*
|
|
103
|
+
* @returns The entity type name
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* ```typescript
|
|
107
|
+
* const entity = new AcDbLine();
|
|
108
|
+
* console.log(entity.type); // "Line"
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
get: function () {
|
|
112
|
+
return this.constructor.typeName;
|
|
113
|
+
},
|
|
114
|
+
enumerable: false,
|
|
115
|
+
configurable: true
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(AcDbEntity.prototype, "layer", {
|
|
118
|
+
/**
|
|
119
|
+
* Gets the name of the layer referenced by this entity.
|
|
120
|
+
*
|
|
121
|
+
* @returns The layer name
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* ```typescript
|
|
125
|
+
* const layerName = entity.layer;
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
get: function () {
|
|
129
|
+
return this._layer;
|
|
130
|
+
},
|
|
131
|
+
/**
|
|
132
|
+
* Sets the name of the layer for this entity.
|
|
133
|
+
*
|
|
134
|
+
* @param value - The new layer name
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* ```typescript
|
|
138
|
+
* entity.layer = 'MyLayer';
|
|
139
|
+
* ```
|
|
140
|
+
*/
|
|
141
|
+
set: function (value) {
|
|
142
|
+
this._layer = value;
|
|
143
|
+
},
|
|
144
|
+
enumerable: false,
|
|
145
|
+
configurable: true
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(AcDbEntity.prototype, "color", {
|
|
148
|
+
/**
|
|
149
|
+
* Gets the color information of this entity.
|
|
150
|
+
*
|
|
151
|
+
* @returns The color object for this entity
|
|
152
|
+
*
|
|
153
|
+
* @example
|
|
154
|
+
* ```typescript
|
|
155
|
+
* const color = entity.color;
|
|
156
|
+
* ```
|
|
157
|
+
*/
|
|
158
|
+
get: function () {
|
|
159
|
+
return this._color;
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
* Sets the color information for this entity.
|
|
163
|
+
*
|
|
164
|
+
* @param value - The new color object
|
|
165
|
+
*
|
|
166
|
+
* @example
|
|
167
|
+
* ```typescript
|
|
168
|
+
* entity.color = new AcCmColor(0xFF0000);
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
set: function (value) {
|
|
172
|
+
this._color.copy(value);
|
|
173
|
+
},
|
|
174
|
+
enumerable: false,
|
|
175
|
+
configurable: true
|
|
176
|
+
});
|
|
177
|
+
Object.defineProperty(AcDbEntity.prototype, "rgbColor", {
|
|
178
|
+
/**
|
|
179
|
+
* Gets the RGB color of this entity after converting color index.
|
|
180
|
+
*
|
|
181
|
+
* This method handles the conversion of color indices (including ByLayer and ByBlock)
|
|
182
|
+
* to actual RGB colors. It resolves layer colors and block colors as needed.
|
|
183
|
+
*
|
|
184
|
+
* @returns The RGB color value as a number
|
|
185
|
+
*
|
|
186
|
+
* @example
|
|
187
|
+
* ```typescript
|
|
188
|
+
* const rgbColor = entity.rgbColor;
|
|
189
|
+
* console.log(`RGB: ${rgbColor.toString(16)}`);
|
|
190
|
+
* ```
|
|
191
|
+
*/
|
|
192
|
+
get: function () {
|
|
193
|
+
// Default color
|
|
194
|
+
var color = this.database.cecolor;
|
|
195
|
+
if (this.color.isByLayer) {
|
|
196
|
+
var layerColor = this.getLayerColor();
|
|
197
|
+
if (layerColor && layerColor.color) {
|
|
198
|
+
color = layerColor;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
else if (this.color.isByBlock) {
|
|
202
|
+
// Do nothing for common entity and just use default color in database
|
|
203
|
+
// Block reference entity need to override this method handle 'byBlock'.
|
|
204
|
+
}
|
|
205
|
+
else if (this.color.color != null) {
|
|
206
|
+
color = this.color;
|
|
207
|
+
}
|
|
208
|
+
return color.color == null ? 0xffffff : color.color;
|
|
209
|
+
},
|
|
210
|
+
enumerable: false,
|
|
211
|
+
configurable: true
|
|
212
|
+
});
|
|
213
|
+
Object.defineProperty(AcDbEntity.prototype, "lineType", {
|
|
214
|
+
/**
|
|
215
|
+
* Gets the name of the line type referenced by this entity.
|
|
216
|
+
*
|
|
217
|
+
* @returns The linetype name
|
|
218
|
+
*
|
|
219
|
+
* @example
|
|
220
|
+
* ```typescript
|
|
221
|
+
* const lineType = entity.lineType;
|
|
222
|
+
* ```
|
|
223
|
+
*/
|
|
224
|
+
get: function () {
|
|
225
|
+
return this._lineType;
|
|
226
|
+
},
|
|
227
|
+
/**
|
|
228
|
+
* Sets the name of the line type for this entity.
|
|
229
|
+
*
|
|
230
|
+
* @param value - The new linetype name
|
|
231
|
+
*
|
|
232
|
+
* @example
|
|
233
|
+
* ```typescript
|
|
234
|
+
* entity.lineType = 'DASHED';
|
|
235
|
+
* ```
|
|
236
|
+
*/
|
|
237
|
+
set: function (value) {
|
|
238
|
+
this._lineType = value || ByLayer;
|
|
239
|
+
},
|
|
240
|
+
enumerable: false,
|
|
241
|
+
configurable: true
|
|
242
|
+
});
|
|
243
|
+
Object.defineProperty(AcDbEntity.prototype, "lineWeight", {
|
|
244
|
+
/**
|
|
245
|
+
* Gets the line weight used by this entity.
|
|
246
|
+
*
|
|
247
|
+
* @returns The line weight value
|
|
248
|
+
*
|
|
249
|
+
* @example
|
|
250
|
+
* ```typescript
|
|
251
|
+
* const weight = entity.lineWeight;
|
|
252
|
+
* ```
|
|
253
|
+
*/
|
|
254
|
+
get: function () {
|
|
255
|
+
return this._lineWeight;
|
|
256
|
+
},
|
|
257
|
+
/**
|
|
258
|
+
* Sets the line weight for this entity.
|
|
259
|
+
*
|
|
260
|
+
* @param value - The new line weight value
|
|
261
|
+
*
|
|
262
|
+
* @example
|
|
263
|
+
* ```typescript
|
|
264
|
+
* entity.lineWeight = 2;
|
|
265
|
+
* ```
|
|
266
|
+
*/
|
|
267
|
+
set: function (value) {
|
|
268
|
+
this._lineWeight = value;
|
|
269
|
+
},
|
|
270
|
+
enumerable: false,
|
|
271
|
+
configurable: true
|
|
272
|
+
});
|
|
273
|
+
Object.defineProperty(AcDbEntity.prototype, "linetypeScale", {
|
|
274
|
+
/**
|
|
275
|
+
* Gets the line type scale factor of this entity.
|
|
276
|
+
*
|
|
277
|
+
* When an entity is first instantiated, its line type scale is initialized
|
|
278
|
+
* to an invalid value. When the entity is added to the database, if a
|
|
279
|
+
* linetype scale has not been specified for the entity, it is set to the
|
|
280
|
+
* database's current line type scale value.
|
|
281
|
+
*
|
|
282
|
+
* @returns The linetype scale factor
|
|
283
|
+
*
|
|
284
|
+
* @example
|
|
285
|
+
* ```typescript
|
|
286
|
+
* const scale = entity.linetypeScale;
|
|
287
|
+
* ```
|
|
288
|
+
*/
|
|
289
|
+
get: function () {
|
|
290
|
+
return this._linetypeScale;
|
|
291
|
+
},
|
|
292
|
+
/**
|
|
293
|
+
* Sets the line type scale factor for this entity.
|
|
294
|
+
*
|
|
295
|
+
* @param value - The new linetype scale factor
|
|
296
|
+
*
|
|
297
|
+
* @example
|
|
298
|
+
* ```typescript
|
|
299
|
+
* entity.linetypeScale = 2.0;
|
|
300
|
+
* ```
|
|
301
|
+
*/
|
|
302
|
+
set: function (value) {
|
|
303
|
+
this._linetypeScale = value;
|
|
304
|
+
},
|
|
305
|
+
enumerable: false,
|
|
306
|
+
configurable: true
|
|
307
|
+
});
|
|
308
|
+
Object.defineProperty(AcDbEntity.prototype, "visibility", {
|
|
309
|
+
/**
|
|
310
|
+
* Gets whether this entity is visible.
|
|
311
|
+
*
|
|
312
|
+
* @returns True if the entity is visible, false otherwise
|
|
313
|
+
*
|
|
314
|
+
* @example
|
|
315
|
+
* ```typescript
|
|
316
|
+
* const isVisible = entity.visibility;
|
|
317
|
+
* ```
|
|
318
|
+
*/
|
|
319
|
+
get: function () {
|
|
320
|
+
return this._visibility;
|
|
321
|
+
},
|
|
322
|
+
/**
|
|
323
|
+
* Sets whether this entity is visible.
|
|
324
|
+
*
|
|
325
|
+
* @param value - True to make the entity visible, false to hide it
|
|
326
|
+
*
|
|
327
|
+
* @example
|
|
328
|
+
* ```typescript
|
|
329
|
+
* entity.visibility = false; // Hide the entity
|
|
330
|
+
* ```
|
|
331
|
+
*/
|
|
332
|
+
set: function (value) {
|
|
333
|
+
this._visibility = value;
|
|
334
|
+
},
|
|
335
|
+
enumerable: false,
|
|
336
|
+
configurable: true
|
|
337
|
+
});
|
|
338
|
+
Object.defineProperty(AcDbEntity.prototype, "transparency", {
|
|
339
|
+
/**
|
|
340
|
+
* Gets the transparency level of this entity.
|
|
341
|
+
*
|
|
342
|
+
* @returns The transparency value (0-1, where 0 is opaque and 1 is fully transparent)
|
|
343
|
+
*
|
|
344
|
+
* @example
|
|
345
|
+
* ```typescript
|
|
346
|
+
* const transparency = entity.transparency;
|
|
347
|
+
* ```
|
|
348
|
+
*/
|
|
349
|
+
get: function () {
|
|
350
|
+
return this._transparency;
|
|
351
|
+
},
|
|
352
|
+
/**
|
|
353
|
+
* Sets the transparency level of this entity.
|
|
354
|
+
*
|
|
355
|
+
* @param value - The transparency value (0-1, where 0 is opaque and 1 is fully transparent)
|
|
356
|
+
*
|
|
357
|
+
* @example
|
|
358
|
+
* ```typescript
|
|
359
|
+
* entity.transparency = 0.5; // 50% transparent
|
|
360
|
+
* ```
|
|
361
|
+
*/
|
|
362
|
+
set: function (value) {
|
|
363
|
+
this._transparency = value;
|
|
364
|
+
},
|
|
365
|
+
enumerable: false,
|
|
366
|
+
configurable: true
|
|
367
|
+
});
|
|
368
|
+
/**
|
|
369
|
+
* Gets the grip points for this entity.
|
|
370
|
+
*
|
|
371
|
+
* Grip points are the control points that can be used to modify the entity.
|
|
372
|
+
* This method should be overridden by subclasses to provide entity-specific
|
|
373
|
+
* grip points.
|
|
374
|
+
*
|
|
375
|
+
* @returns Array of grip points as 3D points
|
|
376
|
+
*
|
|
377
|
+
* @example
|
|
378
|
+
* ```typescript
|
|
379
|
+
* const gripPoints = entity.subGetGripPoints();
|
|
380
|
+
* ```
|
|
381
|
+
*/
|
|
382
|
+
AcDbEntity.prototype.subGetGripPoints = function () {
|
|
383
|
+
var gripPoints = new Array();
|
|
384
|
+
return gripPoints;
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* Gets the object snap points for this entity.
|
|
388
|
+
*
|
|
389
|
+
* Object snap points are the points that can be used for precise positioning
|
|
390
|
+
* when drawing or editing. This method should be overridden by subclasses
|
|
391
|
+
* to provide entity-specific snap points.
|
|
392
|
+
*
|
|
393
|
+
* @param osnapMode - The object snap mode
|
|
394
|
+
* @param gsSelectionMark - The selection mark
|
|
395
|
+
* @param pickPoint - The pick point
|
|
396
|
+
* @param lastPoint - The last point
|
|
397
|
+
* @param snapPoints - Array to populate with snap points
|
|
398
|
+
*
|
|
399
|
+
* @example
|
|
400
|
+
* ```typescript
|
|
401
|
+
* const snapPoints: AcGePoint3d[] = [];
|
|
402
|
+
* entity.subGetOsnapPoints(AcDbOsnapMode.Endpoint, 0, pickPoint, lastPoint, snapPoints);
|
|
403
|
+
* ```
|
|
404
|
+
*/
|
|
405
|
+
AcDbEntity.prototype.subGetOsnapPoints = function (
|
|
406
|
+
// @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
|
|
407
|
+
osnapMode,
|
|
408
|
+
// @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
|
|
409
|
+
gsSelectionMark,
|
|
410
|
+
// @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
|
|
411
|
+
pickPoint,
|
|
412
|
+
// @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
|
|
413
|
+
lastPoint,
|
|
414
|
+
// @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
|
|
415
|
+
snapPoints) { };
|
|
416
|
+
/**
|
|
417
|
+
* Transforms this entity by the specified matrix.
|
|
418
|
+
*
|
|
419
|
+
* This method applies a geometric transformation to the entity.
|
|
420
|
+
* Subclasses should override this method to provide entity-specific
|
|
421
|
+
* transformation behavior.
|
|
422
|
+
*
|
|
423
|
+
* @param matrix - The transformation matrix to apply
|
|
424
|
+
* @returns This entity after transformation
|
|
425
|
+
*
|
|
426
|
+
* @example
|
|
427
|
+
* ```typescript
|
|
428
|
+
* const matrix = AcGeMatrix3d.translation(10, 0, 0);
|
|
429
|
+
* entity.transformBy(matrix);
|
|
430
|
+
* ```
|
|
431
|
+
*/
|
|
432
|
+
// @ts-expect-error not use '_' prefix so that typedoc can the correct parameter to generate doc
|
|
433
|
+
AcDbEntity.prototype.transformBy = function (matrix) {
|
|
434
|
+
return this;
|
|
435
|
+
};
|
|
436
|
+
/**
|
|
437
|
+
* Triggers a modified event for this entity.
|
|
438
|
+
*
|
|
439
|
+
* This method notifies listeners that the entity has been modified.
|
|
440
|
+
*
|
|
441
|
+
* @example
|
|
442
|
+
* ```typescript
|
|
443
|
+
* entity.triggerModifiedEvent();
|
|
444
|
+
* ```
|
|
445
|
+
*/
|
|
446
|
+
AcDbEntity.prototype.triggerModifiedEvent = function () {
|
|
447
|
+
this.database.events.entityModified.dispatch({
|
|
448
|
+
database: this.database,
|
|
449
|
+
entity: this
|
|
450
|
+
});
|
|
451
|
+
};
|
|
452
|
+
Object.defineProperty(AcDbEntity.prototype, "lineStyle", {
|
|
453
|
+
/**
|
|
454
|
+
* Gets the line style for this entity.
|
|
455
|
+
*
|
|
456
|
+
* This method returns the line style based on the entity's linetype
|
|
457
|
+
* and other properties.
|
|
458
|
+
*
|
|
459
|
+
* @returns The line style object
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* ```typescript
|
|
463
|
+
* const lineStyle = entity.lineStyle;
|
|
464
|
+
* ```
|
|
465
|
+
*/
|
|
466
|
+
get: function () {
|
|
467
|
+
var _a;
|
|
468
|
+
var linetypeName = this.getLineType();
|
|
469
|
+
var linetypeRecord = (_a = this.database) === null || _a === void 0 ? void 0 : _a.tables.linetypeTable.getAt(linetypeName);
|
|
470
|
+
if (linetypeRecord) {
|
|
471
|
+
return __assign(__assign({}, linetypeRecord.linetype), { color: this.rgbColor });
|
|
472
|
+
}
|
|
473
|
+
else {
|
|
474
|
+
return {
|
|
475
|
+
name: linetypeName,
|
|
476
|
+
standardFlag: 0,
|
|
477
|
+
color: this.rgbColor,
|
|
478
|
+
description: '',
|
|
479
|
+
totalPatternLength: 0
|
|
480
|
+
};
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
enumerable: false,
|
|
484
|
+
configurable: true
|
|
485
|
+
});
|
|
486
|
+
/**
|
|
487
|
+
* Gets the line type for this entity.
|
|
488
|
+
*
|
|
489
|
+
* This method resolves the line type, handling ByLayer and ByBlock
|
|
490
|
+
* references as needed.
|
|
491
|
+
*
|
|
492
|
+
* @returns The resolved line type name
|
|
493
|
+
*
|
|
494
|
+
* @example
|
|
495
|
+
* ```typescript
|
|
496
|
+
* const lineType = entity.getLineType();
|
|
497
|
+
* ```
|
|
498
|
+
*/
|
|
499
|
+
AcDbEntity.prototype.getLineType = function () {
|
|
500
|
+
if (this.lineType == ByLayer) {
|
|
501
|
+
var layer = this.database.tables.layerTable.getAt(this.layer);
|
|
502
|
+
if (layer && layer.linetype)
|
|
503
|
+
return layer.linetype;
|
|
504
|
+
}
|
|
505
|
+
else if (this.lineType == ByBlock) {
|
|
506
|
+
// TODO: Get line type correctly
|
|
507
|
+
return DEFAULT_LINE_TYPE;
|
|
508
|
+
}
|
|
509
|
+
else {
|
|
510
|
+
return this.lineType;
|
|
511
|
+
}
|
|
512
|
+
return DEFAULT_LINE_TYPE;
|
|
513
|
+
};
|
|
514
|
+
/**
|
|
515
|
+
* Gets the color of the layer this entity belongs to.
|
|
516
|
+
*
|
|
517
|
+
* This method retrieves the color from the layer table for the
|
|
518
|
+
* layer this entity belongs to.
|
|
519
|
+
*
|
|
520
|
+
* @returns The layer color, or undefined if the layer doesn't exist
|
|
521
|
+
*
|
|
522
|
+
* @example
|
|
523
|
+
* ```typescript
|
|
524
|
+
* const layerColor = entity.getLayerColor();
|
|
525
|
+
* ```
|
|
526
|
+
*/
|
|
527
|
+
AcDbEntity.prototype.getLayerColor = function () {
|
|
528
|
+
var layer = this.database.tables.layerTable.getAt(this.layer);
|
|
529
|
+
if (layer == null) {
|
|
530
|
+
console.error("The layer with name '".concat(this.layer, "' not found in drawing database!"));
|
|
531
|
+
}
|
|
532
|
+
else {
|
|
533
|
+
return layer.color;
|
|
534
|
+
}
|
|
535
|
+
return null;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* Attaches entity information to a graphic interface entity.
|
|
539
|
+
*
|
|
540
|
+
* This method transfers essential entity properties (object ID, owner ID,
|
|
541
|
+
* layer name, and visibility) from this entity to the target graphic
|
|
542
|
+
* interface entity. This is typically used during the rendering process
|
|
543
|
+
* to ensure the graphic entity has the correct metadata.
|
|
544
|
+
*
|
|
545
|
+
* @param target - The graphic interface entity to attach information to
|
|
546
|
+
*
|
|
547
|
+
*/
|
|
548
|
+
AcDbEntity.prototype.attachEntityInfo = function (target) {
|
|
549
|
+
if (target) {
|
|
550
|
+
target.objectId = this.objectId;
|
|
551
|
+
target.ownerId = this.ownerId;
|
|
552
|
+
target.layerName = this.layer;
|
|
553
|
+
target.visible = this.visibility;
|
|
554
|
+
}
|
|
555
|
+
};
|
|
556
|
+
/** The entity type name */
|
|
557
|
+
AcDbEntity.typeName = 'Entity';
|
|
558
|
+
return AcDbEntity;
|
|
559
|
+
}(AcDbObject));
|
|
560
|
+
export { AcDbEntity };
|
|
561
|
+
//# sourceMappingURL=AcDbEntity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcDbEntity.js","sourceRoot":"","sources":["../../src/entity/AcDbEntity.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAY7C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAiB,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE5E;;;;;;;;;;;;;;;;;;;;GAoBG;AACH;IAAyC,8BAAU;IAAnD;;QAGE,4CAA4C;QACpC,YAAM,GAAW,GAAG,CAAA;QAC5B,+BAA+B;QACvB,YAAM,GAAc,IAAI,SAAS,EAAE,CAAA;QAC3C,wCAAwC;QAChC,eAAS,GAAW,OAAO,CAAA;QACnC,sCAAsC;QAC9B,iBAAW,GAAW,CAAC,CAAA;QAC/B,gDAAgD;QACxC,oBAAc,GAAW,CAAC,CAAC,CAAA;QACnC,qCAAqC;QAC7B,iBAAW,GAAY,IAAI,CAAA;QACnC,kDAAkD;QAC1C,mBAAa,GAAW,CAAC,CAAA;;IA6dnC,CAAC;IA7cC,sBAAI,4BAAI;QAdR;;;;;;;;;;;;;WAaG;aACH;YACE,OAAQ,IAAI,CAAC,WAAiC,CAAC,QAAQ,CAAA;QACzD,CAAC;;;OAAA;IAYD,sBAAI,6BAAK;QAVT;;;;;;;;;WASG;aACH;YACE,OAAO,IAAI,CAAC,MAAM,CAAA;QACpB,CAAC;QAED;;;;;;;;;WASG;aACH,UAAU,KAAa;YACrB,IAA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