@mlightcad/data-model 1.1.1 → 1.1.3

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 (259) hide show
  1. package/dist/data-model.js +5490 -1022
  2. package/dist/data-model.umd.cjs +2 -2
  3. package/lib/base/AcDbHostApplicationServices.d.ts +72 -6
  4. package/lib/base/AcDbHostApplicationServices.d.ts.map +1 -1
  5. package/lib/base/AcDbHostApplicationServices.js +71 -7
  6. package/lib/base/AcDbHostApplicationServices.js.map +1 -1
  7. package/lib/base/AcDbObject.d.ts +160 -25
  8. package/lib/base/AcDbObject.d.ts.map +1 -1
  9. package/lib/base/AcDbObject.js +149 -25
  10. package/lib/base/AcDbObject.js.map +1 -1
  11. package/lib/converter/AcDbBatchProcessing.d.ts +112 -10
  12. package/lib/converter/AcDbBatchProcessing.d.ts.map +1 -1
  13. package/lib/converter/AcDbBatchProcessing.js +110 -11
  14. package/lib/converter/AcDbBatchProcessing.js.map +1 -1
  15. package/lib/converter/AcDbDxfConverter.d.ts +224 -6
  16. package/lib/converter/AcDbDxfConverter.d.ts.map +1 -1
  17. package/lib/converter/AcDbDxfConverter.js +224 -6
  18. package/lib/converter/AcDbDxfConverter.js.map +1 -1
  19. package/lib/converter/AcDbDxfParseWorker.d.ts +16 -0
  20. package/lib/converter/AcDbDxfParseWorker.d.ts.map +1 -1
  21. package/lib/converter/AcDbDxfParseWorker.js +16 -0
  22. package/lib/converter/AcDbDxfParseWorker.js.map +1 -1
  23. package/lib/converter/AcDbEntitiyConverter.d.ts +118 -3
  24. package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -1
  25. package/lib/converter/AcDbEntitiyConverter.js +118 -3
  26. package/lib/converter/AcDbEntitiyConverter.js.map +1 -1
  27. package/lib/converter/AcDbObjectConverter.d.ts +52 -0
  28. package/lib/converter/AcDbObjectConverter.d.ts.map +1 -1
  29. package/lib/converter/AcDbObjectConverter.js +52 -0
  30. package/lib/converter/AcDbObjectConverter.js.map +1 -1
  31. package/lib/database/AcDbBlockTable.d.ts +35 -3
  32. package/lib/database/AcDbBlockTable.d.ts.map +1 -1
  33. package/lib/database/AcDbBlockTable.js +35 -3
  34. package/lib/database/AcDbBlockTable.js.map +1 -1
  35. package/lib/database/AcDbBlockTableRecord.d.ts +98 -15
  36. package/lib/database/AcDbBlockTableRecord.d.ts.map +1 -1
  37. package/lib/database/AcDbBlockTableRecord.js +96 -15
  38. package/lib/database/AcDbBlockTableRecord.js.map +1 -1
  39. package/lib/database/AcDbDatabase.d.ts +303 -33
  40. package/lib/database/AcDbDatabase.d.ts.map +1 -1
  41. package/lib/database/AcDbDatabase.js +223 -39
  42. package/lib/database/AcDbDatabase.js.map +1 -1
  43. package/lib/database/AcDbDatabaseConverter.d.ts +77 -12
  44. package/lib/database/AcDbDatabaseConverter.d.ts.map +1 -1
  45. package/lib/database/AcDbDatabaseConverter.js +46 -13
  46. package/lib/database/AcDbDatabaseConverter.js.map +1 -1
  47. package/lib/database/AcDbDatabaseConverterManager.d.ts +97 -15
  48. package/lib/database/AcDbDatabaseConverterManager.d.ts.map +1 -1
  49. package/lib/database/AcDbDatabaseConverterManager.js +90 -15
  50. package/lib/database/AcDbDatabaseConverterManager.js.map +1 -1
  51. package/lib/database/AcDbDimStyleTable.d.ts +22 -2
  52. package/lib/database/AcDbDimStyleTable.d.ts.map +1 -1
  53. package/lib/database/AcDbDimStyleTable.js +22 -2
  54. package/lib/database/AcDbDimStyleTable.js.map +1 -1
  55. package/lib/database/AcDbDimStyleTableRecord.d.ts +115 -0
  56. package/lib/database/AcDbDimStyleTableRecord.d.ts.map +1 -1
  57. package/lib/database/AcDbDimStyleTableRecord.js +44 -0
  58. package/lib/database/AcDbDimStyleTableRecord.js.map +1 -1
  59. package/lib/database/AcDbLayerTable.d.ts +39 -2
  60. package/lib/database/AcDbLayerTable.d.ts.map +1 -1
  61. package/lib/database/AcDbLayerTable.js +39 -2
  62. package/lib/database/AcDbLayerTable.js.map +1 -1
  63. package/lib/database/AcDbLayerTableRecord.d.ts +198 -18
  64. package/lib/database/AcDbLayerTableRecord.d.ts.map +1 -1
  65. package/lib/database/AcDbLayerTableRecord.js +182 -19
  66. package/lib/database/AcDbLayerTableRecord.js.map +1 -1
  67. package/lib/database/AcDbLinetypeTable.d.ts +21 -2
  68. package/lib/database/AcDbLinetypeTable.d.ts.map +1 -1
  69. package/lib/database/AcDbLinetypeTable.js +21 -2
  70. package/lib/database/AcDbLinetypeTable.js.map +1 -1
  71. package/lib/database/AcDbLinetypeTableRecord.d.ts +46 -14
  72. package/lib/database/AcDbLinetypeTableRecord.d.ts.map +1 -1
  73. package/lib/database/AcDbLinetypeTableRecord.js +46 -14
  74. package/lib/database/AcDbLinetypeTableRecord.js.map +1 -1
  75. package/lib/database/AcDbSymbolTable.d.ts +134 -29
  76. package/lib/database/AcDbSymbolTable.d.ts.map +1 -1
  77. package/lib/database/AcDbSymbolTable.js +133 -37
  78. package/lib/database/AcDbSymbolTable.js.map +1 -1
  79. package/lib/database/AcDbSymbolTableRecord.d.ts +47 -2
  80. package/lib/database/AcDbSymbolTableRecord.d.ts.map +1 -1
  81. package/lib/database/AcDbSymbolTableRecord.js +40 -2
  82. package/lib/database/AcDbSymbolTableRecord.js.map +1 -1
  83. package/lib/database/AcDbTextStyleTable.d.ts +36 -2
  84. package/lib/database/AcDbTextStyleTable.d.ts.map +1 -1
  85. package/lib/database/AcDbTextStyleTable.js +36 -2
  86. package/lib/database/AcDbTextStyleTable.js.map +1 -1
  87. package/lib/database/AcDbTextStyleTableRecord.d.ts +129 -17
  88. package/lib/database/AcDbTextStyleTableRecord.d.ts.map +1 -1
  89. package/lib/database/AcDbTextStyleTableRecord.js +127 -17
  90. package/lib/database/AcDbTextStyleTableRecord.js.map +1 -1
  91. package/lib/database/AcDbViewportTable.d.ts +22 -2
  92. package/lib/database/AcDbViewportTable.d.ts.map +1 -1
  93. package/lib/database/AcDbViewportTable.js +22 -2
  94. package/lib/database/AcDbViewportTable.js.map +1 -1
  95. package/lib/database/AcDbViewportTableRecord.d.ts +74 -9
  96. package/lib/database/AcDbViewportTableRecord.d.ts.map +1 -1
  97. package/lib/database/AcDbViewportTableRecord.js +65 -9
  98. package/lib/database/AcDbViewportTableRecord.js.map +1 -1
  99. package/lib/entity/AcDbArc.d.ts +202 -17
  100. package/lib/entity/AcDbArc.d.ts.map +1 -1
  101. package/lib/entity/AcDbArc.js +201 -17
  102. package/lib/entity/AcDbArc.js.map +1 -1
  103. package/lib/entity/AcDbBlockReference.d.ts +147 -13
  104. package/lib/entity/AcDbBlockReference.d.ts.map +1 -1
  105. package/lib/entity/AcDbBlockReference.js +142 -13
  106. package/lib/entity/AcDbBlockReference.js.map +1 -1
  107. package/lib/entity/AcDbCircle.d.ts +145 -12
  108. package/lib/entity/AcDbCircle.d.ts.map +1 -1
  109. package/lib/entity/AcDbCircle.js +144 -12
  110. package/lib/entity/AcDbCircle.js.map +1 -1
  111. package/lib/entity/AcDbCurve.d.ts +33 -2
  112. package/lib/entity/AcDbCurve.d.ts.map +1 -1
  113. package/lib/entity/AcDbCurve.js +17 -0
  114. package/lib/entity/AcDbCurve.js.map +1 -1
  115. package/lib/entity/AcDbEllipse.d.ts +168 -16
  116. package/lib/entity/AcDbEllipse.d.ts.map +1 -1
  117. package/lib/entity/AcDbEllipse.js +167 -16
  118. package/lib/entity/AcDbEllipse.js.map +1 -1
  119. package/lib/entity/AcDbEntity.d.ts +299 -35
  120. package/lib/entity/AcDbEntity.d.ts.map +1 -1
  121. package/lib/entity/AcDbEntity.js +275 -27
  122. package/lib/entity/AcDbEntity.js.map +1 -1
  123. package/lib/entity/AcDbHatch.d.ts +60 -4
  124. package/lib/entity/AcDbHatch.d.ts.map +1 -1
  125. package/lib/entity/AcDbHatch.js +52 -4
  126. package/lib/entity/AcDbHatch.js.map +1 -1
  127. package/lib/entity/AcDbLeader.d.ts +157 -10
  128. package/lib/entity/AcDbLeader.d.ts.map +1 -1
  129. package/lib/entity/AcDbLeader.js +149 -10
  130. package/lib/entity/AcDbLeader.js.map +1 -1
  131. package/lib/entity/AcDbLine.d.ts +154 -13
  132. package/lib/entity/AcDbLine.d.ts.map +1 -1
  133. package/lib/entity/AcDbLine.js +153 -13
  134. package/lib/entity/AcDbLine.js.map +1 -1
  135. package/lib/entity/AcDbMText.d.ts +127 -11
  136. package/lib/entity/AcDbMText.d.ts.map +1 -1
  137. package/lib/entity/AcDbMText.js +112 -11
  138. package/lib/entity/AcDbMText.js.map +1 -1
  139. package/lib/entity/AcDbPoint.d.ts +86 -7
  140. package/lib/entity/AcDbPoint.d.ts.map +1 -1
  141. package/lib/entity/AcDbPoint.js +85 -7
  142. package/lib/entity/AcDbPoint.js.map +1 -1
  143. package/lib/entity/AcDbPolyline.d.ts +172 -25
  144. package/lib/entity/AcDbPolyline.d.ts.map +1 -1
  145. package/lib/entity/AcDbPolyline.js +170 -25
  146. package/lib/entity/AcDbPolyline.js.map +1 -1
  147. package/lib/entity/AcDbRasterImage.d.ts +75 -31
  148. package/lib/entity/AcDbRasterImage.d.ts.map +1 -1
  149. package/lib/entity/AcDbRasterImage.js +60 -31
  150. package/lib/entity/AcDbRasterImage.js.map +1 -1
  151. package/lib/entity/AcDbRay.d.ts +115 -9
  152. package/lib/entity/AcDbRay.d.ts.map +1 -1
  153. package/lib/entity/AcDbRay.js +113 -9
  154. package/lib/entity/AcDbRay.js.map +1 -1
  155. package/lib/entity/AcDbSpline.d.ts +106 -14
  156. package/lib/entity/AcDbSpline.d.ts.map +1 -1
  157. package/lib/entity/AcDbSpline.js +67 -4
  158. package/lib/entity/AcDbSpline.js.map +1 -1
  159. package/lib/entity/AcDbTable.d.ts +161 -44
  160. package/lib/entity/AcDbTable.d.ts.map +1 -1
  161. package/lib/entity/AcDbTable.js +135 -44
  162. package/lib/entity/AcDbTable.js.map +1 -1
  163. package/lib/entity/AcDbText.d.ts +298 -25
  164. package/lib/entity/AcDbText.d.ts.map +1 -1
  165. package/lib/entity/AcDbText.js +288 -25
  166. package/lib/entity/AcDbText.js.map +1 -1
  167. package/lib/entity/AcDbTrace.d.ts +150 -23
  168. package/lib/entity/AcDbTrace.d.ts.map +1 -1
  169. package/lib/entity/AcDbTrace.js +147 -23
  170. package/lib/entity/AcDbTrace.js.map +1 -1
  171. package/lib/entity/AcDbViewport.d.ts +122 -9
  172. package/lib/entity/AcDbViewport.d.ts.map +1 -1
  173. package/lib/entity/AcDbViewport.js +122 -9
  174. package/lib/entity/AcDbViewport.js.map +1 -1
  175. package/lib/entity/AcDbWipeout.d.ts +29 -1
  176. package/lib/entity/AcDbWipeout.d.ts.map +1 -1
  177. package/lib/entity/AcDbWipeout.js +29 -1
  178. package/lib/entity/AcDbWipeout.js.map +1 -1
  179. package/lib/entity/AcDbXline.d.ts +116 -9
  180. package/lib/entity/AcDbXline.d.ts.map +1 -1
  181. package/lib/entity/AcDbXline.js +114 -9
  182. package/lib/entity/AcDbXline.js.map +1 -1
  183. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +56 -12
  184. package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +1 -1
  185. package/lib/entity/dimension/AcDb3PointAngularDimension.js +56 -12
  186. package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +1 -1
  187. package/lib/entity/dimension/AcDbAlignedDimension.d.ts +158 -17
  188. package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +1 -1
  189. package/lib/entity/dimension/AcDbAlignedDimension.js +153 -17
  190. package/lib/entity/dimension/AcDbAlignedDimension.js.map +1 -1
  191. package/lib/entity/dimension/AcDbArcDimension.d.ts +58 -12
  192. package/lib/entity/dimension/AcDbArcDimension.d.ts.map +1 -1
  193. package/lib/entity/dimension/AcDbArcDimension.js +58 -12
  194. package/lib/entity/dimension/AcDbArcDimension.js.map +1 -1
  195. package/lib/entity/dimension/AcDbDiametricDimension.d.ts +99 -25
  196. package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -1
  197. package/lib/entity/dimension/AcDbDiametricDimension.js +99 -25
  198. package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -1
  199. package/lib/entity/dimension/AcDbDimension.d.ts +108 -14
  200. package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -1
  201. package/lib/entity/dimension/AcDbDimension.js +99 -14
  202. package/lib/entity/dimension/AcDbDimension.js.map +1 -1
  203. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +48 -16
  204. package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +1 -1
  205. package/lib/entity/dimension/AcDbOrdinateDimension.js +48 -16
  206. package/lib/entity/dimension/AcDbOrdinateDimension.js.map +1 -1
  207. package/lib/entity/dimension/AcDbRadialDimension.d.ts +167 -24
  208. package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -1
  209. package/lib/entity/dimension/AcDbRadialDimension.js +162 -24
  210. package/lib/entity/dimension/AcDbRadialDimension.js.map +1 -1
  211. package/lib/misc/AcDbAngleUnits.d.ts +12 -0
  212. package/lib/misc/AcDbAngleUnits.d.ts.map +1 -1
  213. package/lib/misc/AcDbAngleUnits.js +12 -0
  214. package/lib/misc/AcDbAngleUnits.js.map +1 -1
  215. package/lib/misc/AcDbConstants.d.ts +20 -0
  216. package/lib/misc/AcDbConstants.d.ts.map +1 -1
  217. package/lib/misc/AcDbConstants.js +20 -0
  218. package/lib/misc/AcDbConstants.js.map +1 -1
  219. package/lib/misc/AcDbDimArrowType.d.ts +24 -21
  220. package/lib/misc/AcDbDimArrowType.d.ts.map +1 -1
  221. package/lib/misc/AcDbDimArrowType.js +24 -21
  222. package/lib/misc/AcDbDimArrowType.js.map +1 -1
  223. package/lib/misc/AcDbObjectIterator.d.ts +42 -3
  224. package/lib/misc/AcDbObjectIterator.d.ts.map +1 -1
  225. package/lib/misc/AcDbObjectIterator.js +42 -3
  226. package/lib/misc/AcDbObjectIterator.js.map +1 -1
  227. package/lib/misc/AcDbOsnapMode.d.ts +18 -10
  228. package/lib/misc/AcDbOsnapMode.d.ts.map +1 -1
  229. package/lib/misc/AcDbOsnapMode.js +18 -10
  230. package/lib/misc/AcDbOsnapMode.js.map +1 -1
  231. package/lib/misc/AcDbRenderingCache.d.ts +107 -29
  232. package/lib/misc/AcDbRenderingCache.d.ts.map +1 -1
  233. package/lib/misc/AcDbRenderingCache.js +105 -29
  234. package/lib/misc/AcDbRenderingCache.js.map +1 -1
  235. package/lib/misc/AcDbUnitsValue.d.ts +58 -8
  236. package/lib/misc/AcDbUnitsValue.d.ts.map +1 -1
  237. package/lib/misc/AcDbUnitsValue.js +58 -8
  238. package/lib/misc/AcDbUnitsValue.js.map +1 -1
  239. package/lib/object/AcDbDictionary.d.ts +128 -30
  240. package/lib/object/AcDbDictionary.d.ts.map +1 -1
  241. package/lib/object/AcDbDictionary.js +126 -30
  242. package/lib/object/AcDbDictionary.js.map +1 -1
  243. package/lib/object/AcDbRasterImageDef.d.ts +38 -9
  244. package/lib/object/AcDbRasterImageDef.d.ts.map +1 -1
  245. package/lib/object/AcDbRasterImageDef.js +37 -9
  246. package/lib/object/AcDbRasterImageDef.js.map +1 -1
  247. package/lib/object/layout/AcDbLayout.d.ts +152 -13
  248. package/lib/object/layout/AcDbLayout.d.ts.map +1 -1
  249. package/lib/object/layout/AcDbLayout.js +146 -13
  250. package/lib/object/layout/AcDbLayout.js.map +1 -1
  251. package/lib/object/layout/AcDbLayoutDictionary.d.ts +35 -7
  252. package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +1 -1
  253. package/lib/object/layout/AcDbLayoutDictionary.js +35 -7
  254. package/lib/object/layout/AcDbLayoutDictionary.js.map +1 -1
  255. package/lib/object/layout/AcDbLayoutManager.d.ts +103 -31
  256. package/lib/object/layout/AcDbLayoutManager.d.ts.map +1 -1
  257. package/lib/object/layout/AcDbLayoutManager.js +98 -31
  258. package/lib/object/layout/AcDbLayoutManager.js.map +1 -1
  259. package/package.json +8 -4
@@ -16,17 +16,61 @@ var __extends = (this && this.__extends) || (function () {
16
16
  import { AcGeCircArc3d, AcGeVector3d } from '@mlightcad/geometry-engine';
17
17
  import { AcDbCurve } from './AcDbCurve';
18
18
  /**
19
- * The class represents the arc entity in AutoCAD.
19
+ * Represents an arc entity in AutoCAD.
20
+ *
21
+ * An arc is a 2D geometric object defined by its center point, radius, start angle,
22
+ * and end angle. Arcs are portions of circles that can be used to create curved
23
+ * line segments in drawings. The arc is always drawn in the plane defined by its normal vector.
24
+ *
25
+ * @example
26
+ * ```typescript
27
+ * // Create a 90-degree arc from 0 to π/2 radians
28
+ * const arc = new AcDbArc(
29
+ * new AcGePoint3d(0, 0, 0),
30
+ * 10,
31
+ * 0,
32
+ * Math.PI / 2
33
+ * );
34
+ *
35
+ * // Access arc properties
36
+ * console.log(`Center: ${arc.center}`);
37
+ * console.log(`Radius: ${arc.radius}`);
38
+ * console.log(`Start angle: ${arc.startAngle}`);
39
+ * console.log(`End angle: ${arc.endAngle}`);
40
+ * ```
20
41
  */
21
42
  var AcDbArc = /** @class */ (function (_super) {
22
43
  __extends(AcDbArc, _super);
23
44
  /**
24
- * This constructor creates an arc using the values passed in. 'center' must be in WCS coordinates.
45
+ * Creates a new arc entity.
25
46
  *
26
- * @param center Input center point of the arc
27
- * @param radius Input radius of the arc
28
- * @param startAngle Input starting angle in radians of the arc
29
- * @param endAngle Input ending angle in radians of the arc
47
+ * This constructor creates an arc using the specified center point, radius,
48
+ * start angle, and end angle. The center point must be in World Coordinate
49
+ * System (WCS) coordinates. Angles are specified in radians.
50
+ *
51
+ * @param center - The center point of the arc in WCS coordinates
52
+ * @param radius - The radius of the arc (must be positive)
53
+ * @param startAngle - The starting angle in radians (0 to 2π)
54
+ * @param endAngle - The ending angle in radians (0 to 2π)
55
+ *
56
+ * @example
57
+ * ```typescript
58
+ * // Create a quarter circle arc (0 to 90 degrees)
59
+ * const quarterArc = new AcDbArc(
60
+ * new AcGePoint3d(0, 0, 0),
61
+ * 15,
62
+ * 0,
63
+ * Math.PI / 2
64
+ * );
65
+ *
66
+ * // Create a semicircle arc (0 to 180 degrees)
67
+ * const semicircle = new AcDbArc(
68
+ * new AcGePoint3d(10, 20, 0),
69
+ * 25,
70
+ * 0,
71
+ * Math.PI
72
+ * );
73
+ * ```
30
74
  */
31
75
  function AcDbArc(center, radius, startAngle, endAngle) {
32
76
  var _this = _super.call(this) || this;
@@ -35,11 +79,29 @@ var AcDbArc = /** @class */ (function (_super) {
35
79
  }
36
80
  Object.defineProperty(AcDbArc.prototype, "center", {
37
81
  /**
38
- * Center point of circular arc
82
+ * Gets the center point of this arc.
83
+ *
84
+ * @returns The center point as a 3D point
85
+ *
86
+ * @example
87
+ * ```typescript
88
+ * const centerPoint = arc.center;
89
+ * console.log(`Arc center: ${centerPoint.x}, ${centerPoint.y}, ${centerPoint.z}`);
90
+ * ```
39
91
  */
40
92
  get: function () {
41
93
  return this._geo.center;
42
94
  },
95
+ /**
96
+ * Sets the center point of this arc.
97
+ *
98
+ * @param value - The new center point
99
+ *
100
+ * @example
101
+ * ```typescript
102
+ * arc.center = new AcGePoint3d(5, 5, 0);
103
+ * ```
104
+ */
43
105
  set: function (value) {
44
106
  this._geo.center = value;
45
107
  },
@@ -48,11 +110,29 @@ var AcDbArc = /** @class */ (function (_super) {
48
110
  });
49
111
  Object.defineProperty(AcDbArc.prototype, "radius", {
50
112
  /**
51
- * Radius of circular arc
113
+ * Gets the radius of this arc.
114
+ *
115
+ * @returns The radius value
116
+ *
117
+ * @example
118
+ * ```typescript
119
+ * const radius = arc.radius;
120
+ * console.log(`Arc radius: ${radius}`);
121
+ * ```
52
122
  */
53
123
  get: function () {
54
124
  return this._geo.radius;
55
125
  },
126
+ /**
127
+ * Sets the radius of this arc.
128
+ *
129
+ * @param value - The new radius value (must be positive)
130
+ *
131
+ * @example
132
+ * ```typescript
133
+ * arc.radius = 25;
134
+ * ```
135
+ */
56
136
  set: function (value) {
57
137
  this._geo.radius = value;
58
138
  },
@@ -61,11 +141,29 @@ var AcDbArc = /** @class */ (function (_super) {
61
141
  });
62
142
  Object.defineProperty(AcDbArc.prototype, "startAngle", {
63
143
  /**
64
- * Start angle in radians of circular arc
144
+ * Gets the start angle of this arc.
145
+ *
146
+ * @returns The start angle in radians
147
+ *
148
+ * @example
149
+ * ```typescript
150
+ * const startAngle = arc.startAngle;
151
+ * console.log(`Arc start angle: ${startAngle} radians (${startAngle * 180 / Math.PI} degrees)`);
152
+ * ```
65
153
  */
66
154
  get: function () {
67
155
  return this._geo.startAngle;
68
156
  },
157
+ /**
158
+ * Sets the start angle of this arc.
159
+ *
160
+ * @param value - The new start angle in radians (0 to 2π)
161
+ *
162
+ * @example
163
+ * ```typescript
164
+ * arc.startAngle = Math.PI / 4; // 45 degrees
165
+ * ```
166
+ */
69
167
  set: function (value) {
70
168
  this._geo.startAngle = value;
71
169
  },
@@ -74,11 +172,29 @@ var AcDbArc = /** @class */ (function (_super) {
74
172
  });
75
173
  Object.defineProperty(AcDbArc.prototype, "endAngle", {
76
174
  /**
77
- * End angle in radians of circular arc
175
+ * Gets the end angle of this arc.
176
+ *
177
+ * @returns The end angle in radians
178
+ *
179
+ * @example
180
+ * ```typescript
181
+ * const endAngle = arc.endAngle;
182
+ * console.log(`Arc end angle: ${endAngle} radians (${endAngle * 180 / Math.PI} degrees)`);
183
+ * ```
78
184
  */
79
185
  get: function () {
80
186
  return this._geo.endAngle;
81
187
  },
188
+ /**
189
+ * Sets the end angle of this arc.
190
+ *
191
+ * @param value - The new end angle in radians (0 to 2π)
192
+ *
193
+ * @example
194
+ * ```typescript
195
+ * arc.endAngle = Math.PI; // 180 degrees
196
+ * ```
197
+ */
82
198
  set: function (value) {
83
199
  this._geo.endAngle = value;
84
200
  },
@@ -87,7 +203,17 @@ var AcDbArc = /** @class */ (function (_super) {
87
203
  });
88
204
  Object.defineProperty(AcDbArc.prototype, "startPoint", {
89
205
  /**
90
- * Start point of circular arc
206
+ * Gets the start point of this arc.
207
+ *
208
+ * The start point is calculated based on the center, radius, and start angle.
209
+ *
210
+ * @returns The start point as a 3D point
211
+ *
212
+ * @example
213
+ * ```typescript
214
+ * const startPoint = arc.startPoint;
215
+ * console.log(`Arc start point: ${startPoint.x}, ${startPoint.y}, ${startPoint.z}`);
216
+ * ```
91
217
  */
92
218
  get: function () {
93
219
  return this._geo.startPoint;
@@ -97,7 +223,17 @@ var AcDbArc = /** @class */ (function (_super) {
97
223
  });
98
224
  Object.defineProperty(AcDbArc.prototype, "endPoint", {
99
225
  /**
100
- * Get end point of circular arc
226
+ * Gets the end point of this arc.
227
+ *
228
+ * The end point is calculated based on the center, radius, and end angle.
229
+ *
230
+ * @returns The end point as a 3D point
231
+ *
232
+ * @example
233
+ * ```typescript
234
+ * const endPoint = arc.endPoint;
235
+ * console.log(`Arc end point: ${endPoint.x}, ${endPoint.y}, ${endPoint.z}`);
236
+ * ```
101
237
  */
102
238
  get: function () {
103
239
  return this._geo.endPoint;
@@ -107,7 +243,15 @@ var AcDbArc = /** @class */ (function (_super) {
107
243
  });
108
244
  Object.defineProperty(AcDbArc.prototype, "geometricExtents", {
109
245
  /**
110
- * @inheritdoc
246
+ * Gets the geometric extents (bounding box) of this arc.
247
+ *
248
+ * @returns The bounding box that encompasses the entire arc
249
+ *
250
+ * @example
251
+ * ```typescript
252
+ * const extents = arc.geometricExtents;
253
+ * console.log(`Arc bounds: ${extents.minPoint} to ${extents.maxPoint}`);
254
+ * ```
111
255
  */
112
256
  get: function () {
113
257
  return this._geo.box;
@@ -117,7 +261,12 @@ var AcDbArc = /** @class */ (function (_super) {
117
261
  });
118
262
  Object.defineProperty(AcDbArc.prototype, "closed", {
119
263
  /**
120
- * @inheritdoc
264
+ * Gets whether this arc is closed.
265
+ *
266
+ * An arc is considered closed if the start and end angles are the same
267
+ * (forming a complete circle).
268
+ *
269
+ * @returns True if the arc is closed (forms a complete circle), false otherwise
121
270
  */
122
271
  get: function () {
123
272
  return this._geo.closed;
@@ -126,7 +275,18 @@ var AcDbArc = /** @class */ (function (_super) {
126
275
  configurable: true
127
276
  });
128
277
  /**
129
- * @inheritdoc
278
+ * Gets the grip points for this arc.
279
+ *
280
+ * Grip points are control points that can be used to modify the arc.
281
+ * For an arc, the grip points are the center point, start point, and end point.
282
+ *
283
+ * @returns Array of grip points (center, start point, end point)
284
+ *
285
+ * @example
286
+ * ```typescript
287
+ * const gripPoints = arc.subGetGripPoints();
288
+ * // gripPoints contains: [center, startPoint, endPoint]
289
+ * ```
130
290
  */
131
291
  AcDbArc.prototype.subGetGripPoints = function () {
132
292
  var gripPoints = new Array();
@@ -136,14 +296,38 @@ var AcDbArc = /** @class */ (function (_super) {
136
296
  return gripPoints;
137
297
  };
138
298
  /**
139
- * @inheritdoc
299
+ * Transforms this arc by the specified matrix.
300
+ *
301
+ * This method applies a geometric transformation to the arc, updating
302
+ * the center point, radius, and angles according to the transformation matrix.
303
+ *
304
+ * @param matrix - The transformation matrix to apply
305
+ * @returns This arc after transformation
306
+ *
307
+ * @example
308
+ * ```typescript
309
+ * const translationMatrix = AcGeMatrix3d.translation(10, 0, 0);
310
+ * arc.transformBy(translationMatrix);
311
+ * // Arc is now translated 10 units in the X direction
312
+ * ```
140
313
  */
141
314
  AcDbArc.prototype.transformBy = function (matrix) {
142
315
  this._geo.transform(matrix);
143
316
  return this;
144
317
  };
145
318
  /**
146
- * @inheritdoc
319
+ * Draws this arc using the specified renderer.
320
+ *
321
+ * This method renders the arc as a circular arc using the arc's
322
+ * current style properties.
323
+ *
324
+ * @param renderer - The renderer to use for drawing
325
+ * @returns The rendered arc entity, or undefined if drawing failed
326
+ *
327
+ * @example
328
+ * ```typescript
329
+ * const renderedArc = arc.draw(renderer);
330
+ * ```
147
331
  */
148
332
  AcDbArc.prototype.draw = function (renderer) {
149
333
  return renderer.circularArc(this._geo, this.lineStyle);
@@ -1 +1 @@
1
- {"version":3,"file":"AcDbArc.js","sourceRoot":"","sources":["../../src/entity/AcDbArc.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EACL,aAAa,EAIb,YAAY,EACb,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EA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I,CAAC,IAAI,CAAC,UAAU,CAAA;QAC7B,CAAC;;;OAAA;IAeD,sBAAI,6BAAQ;QAbZ;;;;;;;;;;;;WAYG;aACH;YACE,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAA;QAC3B,CAAC;;;OAAA;IAaD,sBAAI,qCAAgB;QAXpB;;;;;;;;;;WAUG;aACH;YACE,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAA;QACtB,CAAC;;;OAAA;IAUD,sBAAI,2BAAM;QARV;;;;;;;WAOG;aACH;YACE,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAA;QACzB,CAAC;;;OAAA;IAED;;;;;;;;;;;;;OAaG;IACH,kCAAgB,GAAhB;QACE,IAAM,UAAU,GAAG,IAAI,KAAK,EAAe,CAAA;QAC3C,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QAC5B,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;QAChC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAA;QAC9B,OAAO,UAAU,CAAA;IACnB,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,6BAAW,GAAX,UAAY,MAAoB;QAC9B,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAA;QAC3B,OAAO,IAAI,CAAA;IACb,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,sBAAI,GAAJ,UAAK,QAAsB;QACzB,OAAO,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,CAAA;IACxD,CAAC;IACH,cAAC;AAAD,CAAC,AAjSD,CAA6B,SAAS,GAiSrC"}
@@ -2,47 +2,181 @@ import { AcGeBox3d, AcGePoint3d, AcGeVector3d } from '@mlightcad/geometry-engine
2
2
  import { AcGiEntity, AcGiRenderer } from '@mlightcad/graphic-interface';
3
3
  import { AcDbEntity } from './AcDbEntity';
4
4
  /**
5
- * A block reference is used to place, size, and display an instance of the collection of entities within
6
- * the block table record that it references.
5
+ * Represents a block reference entity in AutoCAD.
6
+ *
7
+ * A block reference is used to place, size, and display an instance of the collection
8
+ * of entities within the block table record that it references. Block references allow
9
+ * you to reuse complex geometry by referencing a block definition multiple times with
10
+ * different positions, rotations, and scales.
11
+ *
12
+ * @example
13
+ * ```typescript
14
+ * // Create a block reference
15
+ * const blockRef = new AcDbBlockReference("MyBlock");
16
+ * blockRef.position = new AcGePoint3d(10, 20, 0);
17
+ * blockRef.rotation = Math.PI / 4; // 45 degrees
18
+ * blockRef.scaleFactors = new AcGePoint3d(2, 2, 1); // 2x scale
19
+ *
20
+ * // Access block reference properties
21
+ * console.log(`Block name: ${blockRef.blockTableRecord?.name}`);
22
+ * console.log(`Position: ${blockRef.position}`);
23
+ * console.log(`Rotation: ${blockRef.rotation}`);
24
+ * ```
7
25
  */
8
26
  export declare class AcDbBlockReference extends AcDbEntity {
27
+ /** The WCS position point (insertion point) of the block reference */
9
28
  private _position;
29
+ /** The rotation value in radians */
10
30
  private _rotation;
31
+ /** The X, Y, and Z scale factors for the block reference */
11
32
  private _scaleFactors;
33
+ /** The normal vector of the plane containing the block reference */
12
34
  private _normal;
35
+ /** The name of the referenced block */
13
36
  private _blockName;
37
+ /**
38
+ * Creates a new block reference entity.
39
+ *
40
+ * This constructor initializes a block reference with the specified block name.
41
+ * The position is set to the origin, rotation to 0, normal to Z-axis, and scale factors to 1.
42
+ *
43
+ * @param blockName - The name of the block table record to reference
44
+ *
45
+ * @example
46
+ * ```typescript
47
+ * const blockRef = new AcDbBlockReference("MyBlock");
48
+ * blockRef.position = new AcGePoint3d(5, 10, 0);
49
+ * blockRef.rotation = Math.PI / 6; // 30 degrees
50
+ * ```
51
+ */
14
52
  constructor(blockName: string);
15
53
  /**
16
- * WCS position point (often referred to as the insertion point) of the block reference
54
+ * Gets the WCS position point (insertion point) of the block reference.
55
+ *
56
+ * @returns The position point in WCS coordinates
57
+ *
58
+ * @example
59
+ * ```typescript
60
+ * const position = blockRef.position;
61
+ * console.log(`Block position: ${position.x}, ${position.y}, ${position.z}`);
62
+ * ```
17
63
  */
18
64
  get position(): AcGePoint3d;
65
+ /**
66
+ * Sets the WCS position point (insertion point) of the block reference.
67
+ *
68
+ * @param value - The new position point
69
+ *
70
+ * @example
71
+ * ```typescript
72
+ * blockRef.position = new AcGePoint3d(15, 25, 0);
73
+ * ```
74
+ */
19
75
  set position(value: AcGePoint3d);
20
76
  /**
21
- * The rotation value (in radians) of the block reference. The rotation value is relative to the X
22
- * axis of a coordinate system that is parallel to the OCS of the block reference, but has its origin
23
- * at the position point of the block reference. The rotation axis is the Z axis of this coordinate
24
- * system with positive rotations going counterclockwise when looking down the Z axis towards the
25
- * origin.
77
+ * Gets the rotation value of the block reference.
78
+ *
79
+ * The rotation value is relative to the X axis of a coordinate system that is parallel
80
+ * to the OCS of the block reference, but has its origin at the position point of the
81
+ * block reference. The rotation axis is the Z axis of this coordinate system with
82
+ * positive rotations going counterclockwise when looking down the Z axis towards the origin.
83
+ *
84
+ * @returns The rotation value in radians
85
+ *
86
+ * @example
87
+ * ```typescript
88
+ * const rotation = blockRef.rotation;
89
+ * console.log(`Rotation: ${rotation} radians (${rotation * 180 / Math.PI} degrees)`);
90
+ * ```
26
91
  */
27
92
  get rotation(): number;
93
+ /**
94
+ * Sets the rotation value of the block reference.
95
+ *
96
+ * @param value - The new rotation value in radians
97
+ *
98
+ * @example
99
+ * ```typescript
100
+ * blockRef.rotation = Math.PI / 4; // 45 degrees
101
+ * ```
102
+ */
28
103
  set rotation(value: number);
29
104
  /**
30
- * The X, Y, and Z scale factors for the block reference.
105
+ * Gets the X, Y, and Z scale factors for the block reference.
106
+ *
107
+ * @returns The scale factors as a 3D point
108
+ *
109
+ * @example
110
+ * ```typescript
111
+ * const scaleFactors = blockRef.scaleFactors;
112
+ * console.log(`Scale factors: ${scaleFactors.x}, ${scaleFactors.y}, ${scaleFactors.z}`);
113
+ * ```
31
114
  */
32
115
  get scaleFactors(): AcGePoint3d;
116
+ /**
117
+ * Sets the X, Y, and Z scale factors for the block reference.
118
+ *
119
+ * @param value - The new scale factors
120
+ *
121
+ * @example
122
+ * ```typescript
123
+ * blockRef.scaleFactors = new AcGePoint3d(2, 1.5, 1); // 2x X scale, 1.5x Y scale
124
+ * ```
125
+ */
33
126
  set scaleFactors(value: AcGePoint3d);
34
127
  /**
35
- * The normal vector of the plane containing the block reference.
128
+ * Gets the normal vector of the plane containing the block reference.
129
+ *
130
+ * @returns The normal vector
131
+ *
132
+ * @example
133
+ * ```typescript
134
+ * const normal = blockRef.normal;
135
+ * console.log(`Normal: ${normal.x}, ${normal.y}, ${normal.z}`);
136
+ * ```
36
137
  */
37
138
  get normal(): AcGeVector3d;
139
+ /**
140
+ * Sets the normal vector of the plane containing the block reference.
141
+ *
142
+ * @param value - The new normal vector
143
+ *
144
+ * @example
145
+ * ```typescript
146
+ * blockRef.normal = new AcGeVector3d(0, 0, 1);
147
+ * ```
148
+ */
38
149
  set normal(value: AcGeVector3d);
39
150
  /**
40
- * The block table record referenced by the block reference. The referenced block table record contains
41
- * the entities that the block reference will display.
151
+ * Gets the block table record referenced by this block reference.
152
+ *
153
+ * The referenced block table record contains the entities that the block reference will display.
154
+ *
155
+ * @returns The block table record, or undefined if not found
156
+ *
157
+ * @example
158
+ * ```typescript
159
+ * const blockRecord = blockRef.blockTableRecord;
160
+ * if (blockRecord) {
161
+ * console.log(`Block name: ${blockRecord.name}`);
162
+ * }
163
+ * ```
42
164
  */
43
165
  get blockTableRecord(): import("..").AcDbBlockTableRecord | undefined;
44
166
  /**
45
- * @inheritdoc
167
+ * Gets the geometric extents (bounding box) of this block reference.
168
+ *
169
+ * This method calculates the bounding box by transforming the geometric extents
170
+ * of all entities in the referenced block according to the block reference's
171
+ * position, rotation, and scale factors.
172
+ *
173
+ * @returns The bounding box that encompasses the entire block reference
174
+ *
175
+ * @example
176
+ * ```typescript
177
+ * const extents = blockRef.geometricExtents;
178
+ * console.log(`Block bounds: ${extents.minPoint} to ${extents.maxPoint}`);
179
+ * ```
46
180
  */
47
181
  get geometricExtents(): AcGeBox3d;
48
182
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"AcDbBlockReference.d.ts","sourceRoot":"","sources":["../../src/entity/AcDbBlockReference.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EAGT,WAAW,EAEX,YAAY,EACb,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAGvE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC;;;GAGG;AACH,qBAAa,kBAAmB,SAAQ,UAAU;IAChD,OAAO,CAAC,SAAS,CAAa;IAC9B,OAAO,CAAC,SAAS,CAAQ;IACzB,OAAO,CAAC,aAAa,CAAa;IAClC,OAAO,CAAC,OAAO,CAAc;IAC7B,OAAO,CAAC,UAAU,CAAQ;gBAEd,SAAS,EAAE,MAAM;IAS7B;;OAEG;IACH,IAAI,QAAQ,IAGQ,WAAW,CAD9B;IACD,IAAI,QAAQ,CAAC,KAAK,EAAE,WAAW,EAE9B;IAED;;;;;;OAMG;IACH,IAAI,QAAQ,IAGQ,MAAM,CADzB;IACD,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;OAEG;IACH,IAAI,YAAY,IAGQ,WAAW,CADlC;IACD,IAAI,YAAY,CAAC,KAAK,EAAE,WAAW,EAElC;IAED;;OAEG;IACH,IAAI,MAAM,IAGQ,YAAY,CAD7B;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,YAAY,EAE7B;IAED;;;OAGG;IACH,IAAI,gBAAgB,kDAEnB;IAED;;OAEG;IACH,IAAI,gBAAgB,IAAI,SAAS,CAkBhC;IAED;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,YAAY;IAmB3B,OAAO,CAAC,sBAAsB;CAS/B"}
1
+ {"version":3,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