@mlightcad/data-model 1.3.3 → 1.3.5

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.
Files changed (344) hide show
  1. package/dist/data-model.cjs +5 -0
  2. package/dist/data-model.js +25995 -0
  3. package/dist/dxf-parser-worker.js +1715 -0
  4. package/lib/base/AcDbHostApplicationServices.d.ts +96 -0
  5. package/lib/base/AcDbHostApplicationServices.d.ts.map +1 -0
  6. package/lib/base/AcDbHostApplicationServices.js +118 -0
  7. package/lib/base/AcDbHostApplicationServices.js.map +1 -0
  8. package/lib/base/AcDbObject.d.ts +205 -0
  9. package/lib/base/AcDbObject.d.ts.map +1 -0
  10. package/lib/base/AcDbObject.js +236 -0
  11. package/lib/base/AcDbObject.js.map +1 -0
  12. package/lib/base/index.d.ts +3 -0
  13. package/lib/base/index.d.ts.map +1 -0
  14. package/lib/base/index.js +3 -0
  15. package/lib/base/index.js.map +1 -0
  16. package/lib/converter/AcDbBatchProcessing.d.ts +146 -0
  17. package/lib/converter/AcDbBatchProcessing.d.ts.map +1 -0
  18. package/lib/converter/AcDbBatchProcessing.js +272 -0
  19. package/lib/converter/AcDbBatchProcessing.js.map +1 -0
  20. package/lib/converter/AcDbDxfConverter.d.ts +272 -0
  21. package/lib/converter/AcDbDxfConverter.d.ts.map +1 -0
  22. package/lib/converter/AcDbDxfConverter.js +883 -0
  23. package/lib/converter/AcDbDxfConverter.js.map +1 -0
  24. package/lib/converter/AcDbDxfParser.d.ts +23 -0
  25. package/lib/converter/AcDbDxfParser.d.ts.map +1 -0
  26. package/lib/converter/AcDbDxfParser.js +85 -0
  27. package/lib/converter/AcDbDxfParser.js.map +1 -0
  28. package/lib/converter/AcDbEntitiyConverter.d.ts +160 -0
  29. package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -0
  30. package/lib/converter/AcDbEntitiyConverter.js +708 -0
  31. package/lib/converter/AcDbEntitiyConverter.js.map +1 -0
  32. package/lib/converter/AcDbObjectConverter.d.ts +61 -0
  33. package/lib/converter/AcDbObjectConverter.d.ts.map +1 -0
  34. package/lib/converter/AcDbObjectConverter.js +91 -0
  35. package/lib/converter/AcDbObjectConverter.js.map +1 -0
  36. package/lib/converter/AcDbRegenerator.d.ts +101 -0
  37. package/lib/converter/AcDbRegenerator.d.ts.map +1 -0
  38. package/lib/converter/AcDbRegenerator.js +334 -0
  39. package/lib/converter/AcDbRegenerator.js.map +1 -0
  40. package/lib/converter/index.d.ts +5 -0
  41. package/lib/converter/index.d.ts.map +1 -0
  42. package/lib/converter/index.js +5 -0
  43. package/lib/converter/index.js.map +1 -0
  44. package/lib/converter/worker/AcDbBaseWorker.d.ts +36 -0
  45. package/lib/converter/worker/AcDbBaseWorker.d.ts.map +1 -0
  46. package/lib/converter/worker/AcDbBaseWorker.js +93 -0
  47. package/lib/converter/worker/AcDbBaseWorker.js.map +1 -0
  48. package/lib/converter/worker/AcDbDxfParserWorker.d.ts +11 -0
  49. package/lib/converter/worker/AcDbDxfParserWorker.d.ts.map +1 -0
  50. package/lib/converter/worker/AcDbDxfParserWorker.js +75 -0
  51. package/lib/converter/worker/AcDbDxfParserWorker.js.map +1 -0
  52. package/lib/converter/worker/AcDbWorkerManager.d.ts +107 -0
  53. package/lib/converter/worker/AcDbWorkerManager.d.ts.map +1 -0
  54. package/lib/converter/worker/AcDbWorkerManager.js +360 -0
  55. package/lib/converter/worker/AcDbWorkerManager.js.map +1 -0
  56. package/lib/converter/worker/index.d.ts +3 -0
  57. package/lib/converter/worker/index.d.ts.map +1 -0
  58. package/lib/converter/worker/index.js +3 -0
  59. package/lib/converter/worker/index.js.map +1 -0
  60. package/lib/database/AcDbBlockTable.d.ts +56 -0
  61. package/lib/database/AcDbBlockTable.d.ts.map +1 -0
  62. package/lib/database/AcDbBlockTable.js +98 -0
  63. package/lib/database/AcDbBlockTable.js.map +1 -0
  64. package/lib/database/AcDbBlockTableRecord.d.ts +185 -0
  65. package/lib/database/AcDbBlockTableRecord.d.ts.map +1 -0
  66. package/lib/database/AcDbBlockTableRecord.js +261 -0
  67. package/lib/database/AcDbBlockTableRecord.js.map +1 -0
  68. package/lib/database/AcDbDatabase.d.ts +563 -0
  69. package/lib/database/AcDbDatabase.d.ts.map +1 -0
  70. package/lib/database/AcDbDatabase.js +842 -0
  71. package/lib/database/AcDbDatabase.js.map +1 -0
  72. package/lib/database/AcDbDatabaseConverter.d.ts +292 -0
  73. package/lib/database/AcDbDatabaseConverter.d.ts.map +1 -0
  74. package/lib/database/AcDbDatabaseConverter.js +448 -0
  75. package/lib/database/AcDbDatabaseConverter.js.map +1 -0
  76. package/lib/database/AcDbDatabaseConverterManager.d.ts +141 -0
  77. package/lib/database/AcDbDatabaseConverterManager.d.ts.map +1 -0
  78. package/lib/database/AcDbDatabaseConverterManager.js +173 -0
  79. package/lib/database/AcDbDatabaseConverterManager.js.map +1 -0
  80. package/lib/database/AcDbDimStyleTable.d.ts +31 -0
  81. package/lib/database/AcDbDimStyleTable.d.ts.map +1 -0
  82. package/lib/database/AcDbDimStyleTable.js +49 -0
  83. package/lib/database/AcDbDimStyleTable.js.map +1 -0
  84. package/lib/database/AcDbDimStyleTableRecord.d.ts +797 -0
  85. package/lib/database/AcDbDimStyleTableRecord.d.ts.map +1 -0
  86. package/lib/database/AcDbDimStyleTableRecord.js +1294 -0
  87. package/lib/database/AcDbDimStyleTableRecord.js.map +1 -0
  88. package/lib/database/AcDbDwgVersion.d.ts +32 -0
  89. package/lib/database/AcDbDwgVersion.d.ts.map +1 -0
  90. package/lib/database/AcDbDwgVersion.js +126 -0
  91. package/lib/database/AcDbDwgVersion.js.map +1 -0
  92. package/lib/database/AcDbLayerTable.d.ts +51 -0
  93. package/lib/database/AcDbLayerTable.d.ts.map +1 -0
  94. package/lib/database/AcDbLayerTable.js +92 -0
  95. package/lib/database/AcDbLayerTable.js.map +1 -0
  96. package/lib/database/AcDbLayerTableRecord.d.ts +278 -0
  97. package/lib/database/AcDbLayerTableRecord.d.ts.map +1 -0
  98. package/lib/database/AcDbLayerTableRecord.js +397 -0
  99. package/lib/database/AcDbLayerTableRecord.js.map +1 -0
  100. package/lib/database/AcDbLinetypeTable.d.ts +30 -0
  101. package/lib/database/AcDbLinetypeTable.d.ts.map +1 -0
  102. package/lib/database/AcDbLinetypeTable.js +48 -0
  103. package/lib/database/AcDbLinetypeTable.js.map +1 -0
  104. package/lib/database/AcDbLinetypeTableRecord.d.ts +79 -0
  105. package/lib/database/AcDbLinetypeTableRecord.d.ts.map +1 -0
  106. package/lib/database/AcDbLinetypeTableRecord.js +129 -0
  107. package/lib/database/AcDbLinetypeTableRecord.js.map +1 -0
  108. package/lib/database/AcDbSymbolTable.d.ts +199 -0
  109. package/lib/database/AcDbSymbolTable.d.ts.map +1 -0
  110. package/lib/database/AcDbSymbolTable.js +264 -0
  111. package/lib/database/AcDbSymbolTable.js.map +1 -0
  112. package/lib/database/AcDbSymbolTableRecord.d.ts +61 -0
  113. package/lib/database/AcDbSymbolTableRecord.d.ts.map +1 -0
  114. package/lib/database/AcDbSymbolTableRecord.js +82 -0
  115. package/lib/database/AcDbSymbolTableRecord.js.map +1 -0
  116. package/lib/database/AcDbTextStyleTable.d.ts +48 -0
  117. package/lib/database/AcDbTextStyleTable.d.ts.map +1 -0
  118. package/lib/database/AcDbTextStyleTable.js +112 -0
  119. package/lib/database/AcDbTextStyleTable.js.map +1 -0
  120. package/lib/database/AcDbTextStyleTableRecord.d.ts +179 -0
  121. package/lib/database/AcDbTextStyleTableRecord.d.ts.map +1 -0
  122. package/lib/database/AcDbTextStyleTableRecord.js +276 -0
  123. package/lib/database/AcDbTextStyleTableRecord.js.map +1 -0
  124. package/lib/database/AcDbViewportTable.d.ts +31 -0
  125. package/lib/database/AcDbViewportTable.d.ts.map +1 -0
  126. package/lib/database/AcDbViewportTable.js +49 -0
  127. package/lib/database/AcDbViewportTable.js.map +1 -0
  128. package/lib/database/AcDbViewportTableRecord.d.ts +154 -0
  129. package/lib/database/AcDbViewportTableRecord.d.ts.map +1 -0
  130. package/lib/database/AcDbViewportTableRecord.js +318 -0
  131. package/lib/database/AcDbViewportTableRecord.js.map +1 -0
  132. package/lib/database/index.d.ts +19 -0
  133. package/lib/database/index.d.ts.map +1 -0
  134. package/lib/database/index.js +19 -0
  135. package/lib/database/index.js.map +1 -0
  136. package/lib/entity/AcDb2dPolyline.d.ts +146 -0
  137. package/lib/entity/AcDb2dPolyline.d.ts.map +1 -0
  138. package/lib/entity/AcDb2dPolyline.js +220 -0
  139. package/lib/entity/AcDb2dPolyline.js.map +1 -0
  140. package/lib/entity/AcDb2dVertex.d.ts +143 -0
  141. package/lib/entity/AcDb2dVertex.d.ts.map +1 -0
  142. package/lib/entity/AcDb2dVertex.js +210 -0
  143. package/lib/entity/AcDb2dVertex.js.map +1 -0
  144. package/lib/entity/AcDb3dPolyline.d.ts +102 -0
  145. package/lib/entity/AcDb3dPolyline.d.ts.map +1 -0
  146. package/lib/entity/AcDb3dPolyline.js +158 -0
  147. package/lib/entity/AcDb3dPolyline.js.map +1 -0
  148. package/lib/entity/AcDb3dVertex.d.ts +83 -0
  149. package/lib/entity/AcDb3dVertex.d.ts.map +1 -0
  150. package/lib/entity/AcDb3dVertex.js +133 -0
  151. package/lib/entity/AcDb3dVertex.js.map +1 -0
  152. package/lib/entity/AcDbArc.d.ts +254 -0
  153. package/lib/entity/AcDbArc.d.ts.map +1 -0
  154. package/lib/entity/AcDbArc.js +340 -0
  155. package/lib/entity/AcDbArc.js.map +1 -0
  156. package/lib/entity/AcDbBlockReference.d.ts +190 -0
  157. package/lib/entity/AcDbBlockReference.d.ts.map +1 -0
  158. package/lib/entity/AcDbBlockReference.js +302 -0
  159. package/lib/entity/AcDbBlockReference.js.map +1 -0
  160. package/lib/entity/AcDbCircle.d.ts +186 -0
  161. package/lib/entity/AcDbCircle.d.ts.map +1 -0
  162. package/lib/entity/AcDbCircle.js +249 -0
  163. package/lib/entity/AcDbCircle.js.map +1 -0
  164. package/lib/entity/AcDbCurve.d.ts +42 -0
  165. package/lib/entity/AcDbCurve.d.ts.map +1 -0
  166. package/lib/entity/AcDbCurve.js +44 -0
  167. package/lib/entity/AcDbCurve.js.map +1 -0
  168. package/lib/entity/AcDbEllipse.d.ts +207 -0
  169. package/lib/entity/AcDbEllipse.d.ts.map +1 -0
  170. package/lib/entity/AcDbEllipse.js +272 -0
  171. package/lib/entity/AcDbEllipse.js.map +1 -0
  172. package/lib/entity/AcDbEntity.d.ts +385 -0
  173. package/lib/entity/AcDbEntity.d.ts.map +1 -0
  174. package/lib/entity/AcDbEntity.js +561 -0
  175. package/lib/entity/AcDbEntity.js.map +1 -0
  176. package/lib/entity/AcDbFace.d.ts +151 -0
  177. package/lib/entity/AcDbFace.d.ts.map +1 -0
  178. package/lib/entity/AcDbFace.js +224 -0
  179. package/lib/entity/AcDbFace.js.map +1 -0
  180. package/lib/entity/AcDbHatch.d.ts +174 -0
  181. package/lib/entity/AcDbHatch.d.ts.map +1 -0
  182. package/lib/entity/AcDbHatch.js +250 -0
  183. package/lib/entity/AcDbHatch.js.map +1 -0
  184. package/lib/entity/AcDbLeader.d.ts +243 -0
  185. package/lib/entity/AcDbLeader.d.ts.map +1 -0
  186. package/lib/entity/AcDbLeader.js +358 -0
  187. package/lib/entity/AcDbLeader.js.map +1 -0
  188. package/lib/entity/AcDbLine.d.ts +198 -0
  189. package/lib/entity/AcDbLine.d.ts.map +1 -0
  190. package/lib/entity/AcDbLine.js +300 -0
  191. package/lib/entity/AcDbLine.js.map +1 -0
  192. package/lib/entity/AcDbMText.d.ts +248 -0
  193. package/lib/entity/AcDbMText.d.ts.map +1 -0
  194. package/lib/entity/AcDbMText.js +414 -0
  195. package/lib/entity/AcDbMText.js.map +1 -0
  196. package/lib/entity/AcDbPoint.d.ts +113 -0
  197. package/lib/entity/AcDbPoint.d.ts.map +1 -0
  198. package/lib/entity/AcDbPoint.js +155 -0
  199. package/lib/entity/AcDbPoint.js.map +1 -0
  200. package/lib/entity/AcDbPolyline.d.ts +221 -0
  201. package/lib/entity/AcDbPolyline.d.ts.map +1 -0
  202. package/lib/entity/AcDbPolyline.js +301 -0
  203. package/lib/entity/AcDbPolyline.js.map +1 -0
  204. package/lib/entity/AcDbRasterImage.d.ts +216 -0
  205. package/lib/entity/AcDbRasterImage.d.ts.map +1 -0
  206. package/lib/entity/AcDbRasterImage.js +451 -0
  207. package/lib/entity/AcDbRasterImage.js.map +1 -0
  208. package/lib/entity/AcDbRay.d.ts +150 -0
  209. package/lib/entity/AcDbRay.d.ts.map +1 -0
  210. package/lib/entity/AcDbRay.js +208 -0
  211. package/lib/entity/AcDbRay.js.map +1 -0
  212. package/lib/entity/AcDbSpline.d.ts +135 -0
  213. package/lib/entity/AcDbSpline.d.ts.map +1 -0
  214. package/lib/entity/AcDbSpline.js +142 -0
  215. package/lib/entity/AcDbSpline.js.map +1 -0
  216. package/lib/entity/AcDbTable.d.ts +260 -0
  217. package/lib/entity/AcDbTable.d.ts.map +1 -0
  218. package/lib/entity/AcDbTable.js +452 -0
  219. package/lib/entity/AcDbTable.js.map +1 -0
  220. package/lib/entity/AcDbText.d.ts +388 -0
  221. package/lib/entity/AcDbText.d.ts.map +1 -0
  222. package/lib/entity/AcDbText.js +523 -0
  223. package/lib/entity/AcDbText.js.map +1 -0
  224. package/lib/entity/AcDbTrace.d.ts +193 -0
  225. package/lib/entity/AcDbTrace.d.ts.map +1 -0
  226. package/lib/entity/AcDbTrace.js +271 -0
  227. package/lib/entity/AcDbTrace.js.map +1 -0
  228. package/lib/entity/AcDbViewport.d.ts +173 -0
  229. package/lib/entity/AcDbViewport.d.ts.map +1 -0
  230. package/lib/entity/AcDbViewport.js +295 -0
  231. package/lib/entity/AcDbViewport.js.map +1 -0
  232. package/lib/entity/AcDbWipeout.d.ts +39 -0
  233. package/lib/entity/AcDbWipeout.d.ts.map +1 -0
  234. package/lib/entity/AcDbWipeout.js +70 -0
  235. package/lib/entity/AcDbWipeout.js.map +1 -0
  236. package/lib/entity/AcDbXline.d.ts +151 -0
  237. package/lib/entity/AcDbXline.d.ts.map +1 -0
  238. package/lib/entity/AcDbXline.js +209 -0
  239. package/lib/entity/AcDbXline.js.map +1 -0
  240. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +92 -0
  241. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +1 -0
  242. package/lib/entity/dimension/AcDb3PointAngularDimension.js +157 -0
  243. package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +1 -0
  244. package/lib/entity/dimension/AcDbAlignedDimension.d.ts +220 -0
  245. package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +1 -0
  246. package/lib/entity/dimension/AcDbAlignedDimension.js +341 -0
  247. package/lib/entity/dimension/AcDbAlignedDimension.js.map +1 -0
  248. package/lib/entity/dimension/AcDbArcDimension.d.ts +94 -0
  249. package/lib/entity/dimension/AcDbArcDimension.d.ts.map +1 -0
  250. package/lib/entity/dimension/AcDbArcDimension.js +159 -0
  251. package/lib/entity/dimension/AcDbArcDimension.js.map +1 -0
  252. package/lib/entity/dimension/AcDbDiametricDimension.d.ts +145 -0
  253. package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -0
  254. package/lib/entity/dimension/AcDbDiametricDimension.js +275 -0
  255. package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -0
  256. package/lib/entity/dimension/AcDbDimension.d.ts +257 -0
  257. package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -0
  258. package/lib/entity/dimension/AcDbDimension.js +466 -0
  259. package/lib/entity/dimension/AcDbDimension.js.map +1 -0
  260. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +78 -0
  261. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +1 -0
  262. package/lib/entity/dimension/AcDbOrdinateDimension.js +133 -0
  263. package/lib/entity/dimension/AcDbOrdinateDimension.js.map +1 -0
  264. package/lib/entity/dimension/AcDbRadialDimension.d.ts +214 -0
  265. package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -0
  266. package/lib/entity/dimension/AcDbRadialDimension.js +288 -0
  267. package/lib/entity/dimension/AcDbRadialDimension.js.map +1 -0
  268. package/lib/entity/dimension/index.d.ts +8 -0
  269. package/lib/entity/dimension/index.d.ts.map +1 -0
  270. package/lib/entity/dimension/index.js +8 -0
  271. package/lib/entity/dimension/index.js.map +1 -0
  272. package/lib/entity/index.d.ts +28 -0
  273. package/lib/entity/index.d.ts.map +1 -0
  274. package/lib/entity/index.js +28 -0
  275. package/lib/entity/index.js.map +1 -0
  276. package/lib/index.d.ts +10 -0
  277. package/lib/index.d.ts.map +1 -0
  278. package/lib/index.js +10 -0
  279. package/lib/index.js.map +1 -0
  280. package/lib/misc/AcDbAngleUnits.d.ts +20 -0
  281. package/lib/misc/AcDbAngleUnits.d.ts.map +1 -0
  282. package/lib/misc/AcDbAngleUnits.js +21 -0
  283. package/lib/misc/AcDbAngleUnits.js.map +1 -0
  284. package/lib/misc/AcDbCodePage.d.ts +50 -0
  285. package/lib/misc/AcDbCodePage.d.ts.map +1 -0
  286. package/lib/misc/AcDbCodePage.js +100 -0
  287. package/lib/misc/AcDbCodePage.js.map +1 -0
  288. package/lib/misc/AcDbConstants.d.ts +24 -0
  289. package/lib/misc/AcDbConstants.d.ts.map +1 -0
  290. package/lib/misc/AcDbConstants.js +24 -0
  291. package/lib/misc/AcDbConstants.js.map +1 -0
  292. package/lib/misc/AcDbDimArrowType.d.ts +89 -0
  293. package/lib/misc/AcDbDimArrowType.d.ts.map +1 -0
  294. package/lib/misc/AcDbDimArrowType.js +90 -0
  295. package/lib/misc/AcDbDimArrowType.js.map +1 -0
  296. package/lib/misc/AcDbObjectIterator.d.ts +64 -0
  297. package/lib/misc/AcDbObjectIterator.d.ts.map +1 -0
  298. package/lib/misc/AcDbObjectIterator.js +84 -0
  299. package/lib/misc/AcDbObjectIterator.js.map +1 -0
  300. package/lib/misc/AcDbOsnapMode.d.ts +51 -0
  301. package/lib/misc/AcDbOsnapMode.d.ts.map +1 -0
  302. package/lib/misc/AcDbOsnapMode.js +52 -0
  303. package/lib/misc/AcDbOsnapMode.js.map +1 -0
  304. package/lib/misc/AcDbRenderingCache.d.ts +141 -0
  305. package/lib/misc/AcDbRenderingCache.d.ts.map +1 -0
  306. package/lib/misc/AcDbRenderingCache.js +239 -0
  307. package/lib/misc/AcDbRenderingCache.js.map +1 -0
  308. package/lib/misc/AcDbUnitsValue.d.ts +101 -0
  309. package/lib/misc/AcDbUnitsValue.d.ts.map +1 -0
  310. package/lib/misc/AcDbUnitsValue.js +121 -0
  311. package/lib/misc/AcDbUnitsValue.js.map +1 -0
  312. package/lib/misc/index.d.ts +9 -0
  313. package/lib/misc/index.d.ts.map +1 -0
  314. package/lib/misc/index.js +9 -0
  315. package/lib/misc/index.js.map +1 -0
  316. package/lib/object/AcDbDictionary.d.ts +178 -0
  317. package/lib/object/AcDbDictionary.d.ts.map +1 -0
  318. package/lib/object/AcDbDictionary.js +264 -0
  319. package/lib/object/AcDbDictionary.js.map +1 -0
  320. package/lib/object/AcDbRasterImageDef.d.ts +54 -0
  321. package/lib/object/AcDbRasterImageDef.d.ts.map +1 -0
  322. package/lib/object/AcDbRasterImageDef.js +82 -0
  323. package/lib/object/AcDbRasterImageDef.js.map +1 -0
  324. package/lib/object/index.d.ts +4 -0
  325. package/lib/object/index.d.ts.map +1 -0
  326. package/lib/object/index.js +4 -0
  327. package/lib/object/index.js.map +1 -0
  328. package/lib/object/layout/AcDbLayout.d.ts +190 -0
  329. package/lib/object/layout/AcDbLayout.d.ts.map +1 -0
  330. package/lib/object/layout/AcDbLayout.js +253 -0
  331. package/lib/object/layout/AcDbLayout.js.map +1 -0
  332. package/lib/object/layout/AcDbLayoutDictionary.d.ts +47 -0
  333. package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +1 -0
  334. package/lib/object/layout/AcDbLayoutDictionary.js +122 -0
  335. package/lib/object/layout/AcDbLayoutDictionary.js.map +1 -0
  336. package/lib/object/layout/AcDbLayoutManager.d.ts +188 -0
  337. package/lib/object/layout/AcDbLayoutManager.d.ts.map +1 -0
  338. package/lib/object/layout/AcDbLayoutManager.js +245 -0
  339. package/lib/object/layout/AcDbLayoutManager.js.map +1 -0
  340. package/lib/object/layout/index.d.ts +4 -0
  341. package/lib/object/layout/index.d.ts.map +1 -0
  342. package/lib/object/layout/index.js +4 -0
  343. package/lib/object/layout/index.js.map +1 -0
  344. package/package.json +4 -4
@@ -0,0 +1,302 @@
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 __values = (this && this.__values) || function(o) {
17
+ var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
18
+ if (m) return m.call(o);
19
+ if (o && typeof o.length === "number") return {
20
+ next: function () {
21
+ if (o && i >= o.length) o = void 0;
22
+ return { value: o && o[i++], done: !o };
23
+ }
24
+ };
25
+ throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
26
+ };
27
+ import { AcGeBox3d, AcGeEuler, AcGeMatrix3d, AcGePoint3d, AcGeQuaternion, AcGeVector3d } from '@mlightcad/geometry-engine';
28
+ import { AcDbRenderingCache } from '../misc';
29
+ import { AcDbEntity } from './AcDbEntity';
30
+ /**
31
+ * Represents a block reference entity in AutoCAD.
32
+ *
33
+ * A block reference is used to place, size, and display an instance of the collection
34
+ * of entities within the block table record that it references. Block references allow
35
+ * you to reuse complex geometry by referencing a block definition multiple times with
36
+ * different positions, rotations, and scales.
37
+ *
38
+ * @example
39
+ * ```typescript
40
+ * // Create a block reference
41
+ * const blockRef = new AcDbBlockReference("MyBlock");
42
+ * blockRef.position = new AcGePoint3d(10, 20, 0);
43
+ * blockRef.rotation = Math.PI / 4; // 45 degrees
44
+ * blockRef.scaleFactors = new AcGePoint3d(2, 2, 1); // 2x scale
45
+ *
46
+ * // Access block reference properties
47
+ * console.log(`Block name: ${blockRef.blockTableRecord?.name}`);
48
+ * console.log(`Position: ${blockRef.position}`);
49
+ * console.log(`Rotation: ${blockRef.rotation}`);
50
+ * ```
51
+ */
52
+ var AcDbBlockReference = /** @class */ (function (_super) {
53
+ __extends(AcDbBlockReference, _super);
54
+ /**
55
+ * Creates a new block reference entity.
56
+ *
57
+ * This constructor initializes a block reference with the specified block name.
58
+ * The position is set to the origin, rotation to 0, normal to Z-axis, and scale factors to 1.
59
+ *
60
+ * @param blockName - The name of the block table record to reference
61
+ *
62
+ * @example
63
+ * ```typescript
64
+ * const blockRef = new AcDbBlockReference("MyBlock");
65
+ * blockRef.position = new AcGePoint3d(5, 10, 0);
66
+ * blockRef.rotation = Math.PI / 6; // 30 degrees
67
+ * ```
68
+ */
69
+ function AcDbBlockReference(blockName) {
70
+ var _this = _super.call(this) || this;
71
+ _this._blockName = blockName;
72
+ _this._position = new AcGePoint3d();
73
+ _this._rotation = 0.0;
74
+ _this._normal = new AcGeVector3d(0, 0, 1);
75
+ _this._scaleFactors = new AcGePoint3d(1, 1, 1);
76
+ return _this;
77
+ }
78
+ Object.defineProperty(AcDbBlockReference.prototype, "position", {
79
+ /**
80
+ * Gets the WCS position point (insertion point) of the block reference.
81
+ *
82
+ * @returns The position point in WCS coordinates
83
+ *
84
+ * @example
85
+ * ```typescript
86
+ * const position = blockRef.position;
87
+ * console.log(`Block position: ${position.x}, ${position.y}, ${position.z}`);
88
+ * ```
89
+ */
90
+ get: function () {
91
+ return this._position;
92
+ },
93
+ /**
94
+ * Sets the WCS position point (insertion point) of the block reference.
95
+ *
96
+ * @param value - The new position point
97
+ *
98
+ * @example
99
+ * ```typescript
100
+ * blockRef.position = new AcGePoint3d(15, 25, 0);
101
+ * ```
102
+ */
103
+ set: function (value) {
104
+ this._position.copy(value);
105
+ },
106
+ enumerable: false,
107
+ configurable: true
108
+ });
109
+ Object.defineProperty(AcDbBlockReference.prototype, "rotation", {
110
+ /**
111
+ * Gets the rotation value of the block reference.
112
+ *
113
+ * The rotation value is relative to the X axis of a coordinate system that is parallel
114
+ * to the OCS of the block reference, but has its origin at the position point of the
115
+ * block reference. The rotation axis is the Z axis of this coordinate system with
116
+ * positive rotations going counterclockwise when looking down the Z axis towards the origin.
117
+ *
118
+ * @returns The rotation value in radians
119
+ *
120
+ * @example
121
+ * ```typescript
122
+ * const rotation = blockRef.rotation;
123
+ * console.log(`Rotation: ${rotation} radians (${rotation * 180 / Math.PI} degrees)`);
124
+ * ```
125
+ */
126
+ get: function () {
127
+ return this._rotation;
128
+ },
129
+ /**
130
+ * Sets the rotation value of the block reference.
131
+ *
132
+ * @param value - The new rotation value in radians
133
+ *
134
+ * @example
135
+ * ```typescript
136
+ * blockRef.rotation = Math.PI / 4; // 45 degrees
137
+ * ```
138
+ */
139
+ set: function (value) {
140
+ this._rotation = value;
141
+ },
142
+ enumerable: false,
143
+ configurable: true
144
+ });
145
+ Object.defineProperty(AcDbBlockReference.prototype, "scaleFactors", {
146
+ /**
147
+ * Gets the X, Y, and Z scale factors for the block reference.
148
+ *
149
+ * @returns The scale factors as a 3D point
150
+ *
151
+ * @example
152
+ * ```typescript
153
+ * const scaleFactors = blockRef.scaleFactors;
154
+ * console.log(`Scale factors: ${scaleFactors.x}, ${scaleFactors.y}, ${scaleFactors.z}`);
155
+ * ```
156
+ */
157
+ get: function () {
158
+ return this._scaleFactors;
159
+ },
160
+ /**
161
+ * Sets the X, Y, and Z scale factors for the block reference.
162
+ *
163
+ * @param value - The new scale factors
164
+ *
165
+ * @example
166
+ * ```typescript
167
+ * blockRef.scaleFactors = new AcGePoint3d(2, 1.5, 1); // 2x X scale, 1.5x Y scale
168
+ * ```
169
+ */
170
+ set: function (value) {
171
+ this._scaleFactors.copy(value);
172
+ },
173
+ enumerable: false,
174
+ configurable: true
175
+ });
176
+ Object.defineProperty(AcDbBlockReference.prototype, "normal", {
177
+ /**
178
+ * Gets the normal vector of the plane containing the block reference.
179
+ *
180
+ * @returns The normal vector
181
+ *
182
+ * @example
183
+ * ```typescript
184
+ * const normal = blockRef.normal;
185
+ * console.log(`Normal: ${normal.x}, ${normal.y}, ${normal.z}`);
186
+ * ```
187
+ */
188
+ get: function () {
189
+ return this._normal;
190
+ },
191
+ /**
192
+ * Sets the normal vector of the plane containing the block reference.
193
+ *
194
+ * @param value - The new normal vector
195
+ *
196
+ * @example
197
+ * ```typescript
198
+ * blockRef.normal = new AcGeVector3d(0, 0, 1);
199
+ * ```
200
+ */
201
+ set: function (value) {
202
+ this._normal.copy(value).normalize();
203
+ },
204
+ enumerable: false,
205
+ configurable: true
206
+ });
207
+ Object.defineProperty(AcDbBlockReference.prototype, "blockTableRecord", {
208
+ /**
209
+ * Gets the block table record referenced by this block reference.
210
+ *
211
+ * The referenced block table record contains the entities that the block reference will display.
212
+ *
213
+ * @returns The block table record, or undefined if not found
214
+ *
215
+ * @example
216
+ * ```typescript
217
+ * const blockRecord = blockRef.blockTableRecord;
218
+ * if (blockRecord) {
219
+ * console.log(`Block name: ${blockRecord.name}`);
220
+ * }
221
+ * ```
222
+ */
223
+ get: function () {
224
+ return this.database.tables.blockTable.getAt(this._blockName);
225
+ },
226
+ enumerable: false,
227
+ configurable: true
228
+ });
229
+ Object.defineProperty(AcDbBlockReference.prototype, "geometricExtents", {
230
+ /**
231
+ * Gets the geometric extents (bounding box) of this block reference.
232
+ *
233
+ * This method calculates the bounding box by transforming the geometric extents
234
+ * of all entities in the referenced block according to the block reference's
235
+ * position, rotation, and scale factors.
236
+ *
237
+ * @returns The bounding box that encompasses the entire block reference
238
+ *
239
+ * @example
240
+ * ```typescript
241
+ * const extents = blockRef.geometricExtents;
242
+ * console.log(`Block bounds: ${extents.minPoint} to ${extents.maxPoint}`);
243
+ * ```
244
+ */
245
+ get: function () {
246
+ var e_1, _a;
247
+ var box = new AcGeBox3d();
248
+ var blockTableRecord = this.blockTableRecord;
249
+ if (blockTableRecord != null) {
250
+ var entities = blockTableRecord.newIterator();
251
+ try {
252
+ for (var entities_1 = __values(entities), entities_1_1 = entities_1.next(); !entities_1_1.done; entities_1_1 = entities_1.next()) {
253
+ var entity = entities_1_1.value;
254
+ box.union(entity.geometricExtents);
255
+ }
256
+ }
257
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
258
+ finally {
259
+ try {
260
+ if (entities_1_1 && !entities_1_1.done && (_a = entities_1.return)) _a.call(entities_1);
261
+ }
262
+ finally { if (e_1) throw e_1.error; }
263
+ }
264
+ }
265
+ var quaternion = new AcGeQuaternion().setFromEuler(new AcGeEuler(this.rotation, 0, 0));
266
+ var matrix = new AcGeMatrix3d();
267
+ matrix.compose(this.position, quaternion, this.scaleFactors);
268
+ box.applyMatrix4(matrix);
269
+ return box;
270
+ },
271
+ enumerable: false,
272
+ configurable: true
273
+ });
274
+ /**
275
+ * @inheritdoc
276
+ */
277
+ AcDbBlockReference.prototype.draw = function (renderer) {
278
+ var results = [];
279
+ var blockTableRecord = this.blockTableRecord;
280
+ if (blockTableRecord != null) {
281
+ var matrix = this.computeTransformMatrix();
282
+ var block = AcDbRenderingCache.instance.draw(renderer, blockTableRecord, this.rgbColor, true, matrix, this.normal);
283
+ this.attachEntityInfo(block);
284
+ return block;
285
+ }
286
+ else {
287
+ var block = renderer.group(results);
288
+ this.attachEntityInfo(block);
289
+ return block;
290
+ }
291
+ };
292
+ AcDbBlockReference.prototype.computeTransformMatrix = function () {
293
+ var quaternion = new AcGeQuaternion();
294
+ quaternion.setFromAxisAngle(AcGeVector3d.Z_AXIS, this.rotation);
295
+ return new AcGeMatrix3d().compose(this._position, quaternion, this._scaleFactors);
296
+ };
297
+ /** The entity type name */
298
+ AcDbBlockReference.typeName = 'BlockReference';
299
+ return AcDbBlockReference;
300
+ }(AcDbEntity));
301
+ export { AcDbBlockReference };
302
+ //# sourceMappingURL=AcDbBlockReference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcDbBlockReference.js","sourceRoot":"","sources":["../../src/entity/AcDbBlockReference.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,186 @@
1
+ import { AcGeMatrix3d, AcGePoint3d, AcGePoint3dLike, AcGePointLike, AcGeVector3d } from '@mlightcad/geometry-engine';
2
+ import { AcGiRenderer } from '@mlightcad/graphic-interface';
3
+ import { AcDbCurve } from './AcDbCurve';
4
+ /**
5
+ * Represents a circle entity in AutoCAD.
6
+ *
7
+ * A circle is a 2D geometric object defined by its center point and radius.
8
+ * Circles are closed curves that can be used to create circular shapes
9
+ * in drawings. The circle is always drawn in the plane defined by its normal vector.
10
+ *
11
+ * @example
12
+ * ```typescript
13
+ * // Create a circle with center at (0,0,0) and radius 5
14
+ * const circle = new AcDbCircle(
15
+ * new AcGePoint3d(0, 0, 0),
16
+ * 5
17
+ * );
18
+ *
19
+ * // Access circle properties
20
+ * console.log(`Center: ${circle.center}`);
21
+ * console.log(`Radius: ${circle.radius}`);
22
+ * console.log(`Normal: ${circle.normal}`);
23
+ * ```
24
+ */
25
+ export declare class AcDbCircle extends AcDbCurve {
26
+ /** The entity type name */
27
+ static typeName: string;
28
+ /** The underlying geometric circular arc object */
29
+ private _geo;
30
+ /**
31
+ * Creates a new circle entity.
32
+ *
33
+ * This constructor creates a circle using the specified center point and radius.
34
+ * The center point must be in World Coordinate System (WCS) coordinates.
35
+ * The circle is created as a full circle (0 to 2π radians).
36
+ *
37
+ * @param center - The center point of the circle in WCS coordinates
38
+ * @param radius - The radius of the circle (must be positive)
39
+ * @param normal - The normal vector defining the plane of the circle (defaults to Z-axis)
40
+ *
41
+ * @example
42
+ * ```typescript
43
+ * // Create a circle in the XY plane
44
+ * const circle = new AcDbCircle(
45
+ * new AcGePoint3d(10, 20, 0),
46
+ * 15
47
+ * );
48
+ *
49
+ * // Create a circle in a different plane
50
+ * const circleInYZ = new AcDbCircle(
51
+ * new AcGePoint3d(0, 0, 0),
52
+ * 10,
53
+ * AcGeVector3d.X_AXIS
54
+ * );
55
+ * ```
56
+ */
57
+ constructor(center: AcGePointLike, radius: number, normal?: AcGeVector3d);
58
+ /**
59
+ * Gets the center point of this circle.
60
+ *
61
+ * @returns The center point as a 3D point
62
+ *
63
+ * @example
64
+ * ```typescript
65
+ * const centerPoint = circle.center;
66
+ * console.log(`Circle center: ${centerPoint.x}, ${centerPoint.y}, ${centerPoint.z}`);
67
+ * ```
68
+ */
69
+ get center(): AcGePoint3d;
70
+ /**
71
+ * Sets the center point of this circle.
72
+ *
73
+ * @param value - The new center point
74
+ *
75
+ * @example
76
+ * ```typescript
77
+ * circle.center = new AcGePoint3d(5, 5, 0);
78
+ * ```
79
+ */
80
+ set center(value: AcGePoint3dLike);
81
+ /**
82
+ * Gets the radius of this circle.
83
+ *
84
+ * @returns The radius value
85
+ *
86
+ * @example
87
+ * ```typescript
88
+ * const radius = circle.radius;
89
+ * console.log(`Circle radius: ${radius}`);
90
+ * ```
91
+ */
92
+ get radius(): number;
93
+ /**
94
+ * Sets the radius of this circle.
95
+ *
96
+ * @param value - The new radius value (must be positive)
97
+ *
98
+ * @example
99
+ * ```typescript
100
+ * circle.radius = 25;
101
+ * ```
102
+ */
103
+ set radius(value: number);
104
+ /**
105
+ * Gets the normal vector of this circle.
106
+ *
107
+ * The normal vector defines the plane in which the circle lies.
108
+ *
109
+ * @returns The unit normal vector in WCS coordinates
110
+ *
111
+ * @example
112
+ * ```typescript
113
+ * const normal = circle.normal;
114
+ * console.log(`Circle normal: ${normal.x}, ${normal.y}, ${normal.z}`);
115
+ * ```
116
+ */
117
+ get normal(): AcGeVector3d;
118
+ /**
119
+ * Gets the geometric extents (bounding box) of this circle.
120
+ *
121
+ * @returns The bounding box that encompasses the entire circle
122
+ *
123
+ * @example
124
+ * ```typescript
125
+ * const extents = circle.geometricExtents;
126
+ * console.log(`Circle bounds: ${extents.minPoint} to ${extents.maxPoint}`);
127
+ * ```
128
+ */
129
+ get geometricExtents(): import("@mlightcad/geometry-engine").AcGeBox3d;
130
+ /**
131
+ * Gets whether this circle is closed.
132
+ *
133
+ * Circles are always closed entities, so this always returns true.
134
+ *
135
+ * @returns Always true for circles
136
+ */
137
+ get closed(): boolean;
138
+ /**
139
+ * Gets the grip points for this circle.
140
+ *
141
+ * Grip points are control points that can be used to modify the circle.
142
+ * For a circle, the grip point is the center point.
143
+ *
144
+ * @returns Array of grip points (center point)
145
+ *
146
+ * @example
147
+ * ```typescript
148
+ * const gripPoints = circle.subGetGripPoints();
149
+ * // gripPoints contains: [center]
150
+ * ```
151
+ */
152
+ subGetGripPoints(): AcGePoint3d[];
153
+ /**
154
+ * Transforms this circle by the specified matrix.
155
+ *
156
+ * This method applies a geometric transformation to the circle, updating
157
+ * the center point, radius, and normal vector according to the transformation matrix.
158
+ *
159
+ * @param matrix - The transformation matrix to apply
160
+ * @returns This circle after transformation
161
+ *
162
+ * @example
163
+ * ```typescript
164
+ * const translationMatrix = AcGeMatrix3d.translation(10, 0, 0);
165
+ * circle.transformBy(translationMatrix);
166
+ * // Circle is now translated 10 units in the X direction
167
+ * ```
168
+ */
169
+ transformBy(matrix: AcGeMatrix3d): this;
170
+ /**
171
+ * Draws this circle using the specified renderer.
172
+ *
173
+ * This method renders the circle as a circular arc using the circle's
174
+ * current style properties.
175
+ *
176
+ * @param renderer - The renderer to use for drawing
177
+ * @returns The rendered circle entity, or undefined if drawing failed
178
+ *
179
+ * @example
180
+ * ```typescript
181
+ * const renderedCircle = circle.draw(renderer);
182
+ * ```
183
+ */
184
+ draw(renderer: AcGiRenderer): import("@mlightcad/graphic-interface").AcGiEntity;
185
+ }
186
+ //# sourceMappingURL=AcDbCircle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AcDbCircle.d.ts","sourceRoot":"","sources":["../../src/entity/AcDbCircle.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,YAAY,EAEb,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,qBAAa,UAAW,SAAQ,SAAS;IACvC,2BAA2B;IAC3B,OAAgB,QAAQ,EAAE,MAAM,CAAW;IAE3C,mDAAmD;IACnD,OAAO,CAAC,IAAI,CAAe;IAE3B;;;;;;;;;;;;;;;;;;;;;;;;;;OA0BG;gBAED,MAAM,EAAE,aAAa,EACrB,MAAM,EAAE,MAAM,EACd,MAAM,GAAE,YAAkC;IAa5C;;;;;;;;;;OAUG;IACH,IAAI,MAAM,IAAI,WAAW,CAExB;IAED;;;;;;;;;OASG;IACH,IAAI,MAAM,CAAC,KAAK,EAAE,eAAe,EAEhC;IAED;;;;;;;;;;OAUG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED;;;;;;;;;OASG;IACH,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAEvB;IAED;;;;;;;;;;;;OAYG;IACH,IAAI,MAAM,iBAET;IAED;;;;;;;;;;OAUG;IACH,IAAI,gBAAgB,mDAEnB;IAED;;;;;;OAMG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED;;;;;;;;;;;;;OAaG;IACH,gBAAgB;IAMhB;;;;;;;;;;;;;;;OAeG;IACH,WAAW,CAAC,MAAM,EAAE,YAAY;IAKhC;;;;;;;;;;;;;OAaG;IACH,IAAI,CAAC,QAAQ,EAAE,YAAY;CAG5B"}