@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.
- package/dist/data-model.cjs +5 -0
- package/dist/data-model.js +25995 -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 +883 -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 +160 -0
- package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -0
- package/lib/converter/AcDbEntitiyConverter.js +708 -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/AcDb2dPolyline.d.ts +146 -0
- package/lib/entity/AcDb2dPolyline.d.ts.map +1 -0
- package/lib/entity/AcDb2dPolyline.js +220 -0
- package/lib/entity/AcDb2dPolyline.js.map +1 -0
- package/lib/entity/AcDb2dVertex.d.ts +143 -0
- package/lib/entity/AcDb2dVertex.d.ts.map +1 -0
- package/lib/entity/AcDb2dVertex.js +210 -0
- package/lib/entity/AcDb2dVertex.js.map +1 -0
- package/lib/entity/AcDb3dPolyline.d.ts +102 -0
- package/lib/entity/AcDb3dPolyline.d.ts.map +1 -0
- package/lib/entity/AcDb3dPolyline.js +158 -0
- package/lib/entity/AcDb3dPolyline.js.map +1 -0
- package/lib/entity/AcDb3dVertex.d.ts +83 -0
- package/lib/entity/AcDb3dVertex.d.ts.map +1 -0
- package/lib/entity/AcDb3dVertex.js +133 -0
- package/lib/entity/AcDb3dVertex.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 +28 -0
- package/lib/entity/index.d.ts.map +1 -0
- package/lib/entity/index.js +28 -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,220 @@
|
|
|
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
|
+
import { AcGeBox3d, AcGePoint3d, AcGePolyline2d, } from '@mlightcad/geometry-engine';
|
|
17
|
+
import { AcDbCurve } from './AcDbCurve';
|
|
18
|
+
/**
|
|
19
|
+
* Represents the curve/spline-fit type for one 2d polyline.
|
|
20
|
+
*/
|
|
21
|
+
export var AcDbPoly2dType;
|
|
22
|
+
(function (AcDbPoly2dType) {
|
|
23
|
+
/**
|
|
24
|
+
* A standard polyline with no curve/spline fitting.
|
|
25
|
+
*/
|
|
26
|
+
AcDbPoly2dType[AcDbPoly2dType["SimplePoly"] = 0] = "SimplePoly";
|
|
27
|
+
/**
|
|
28
|
+
* A polyline that has been curve fit.
|
|
29
|
+
*/
|
|
30
|
+
AcDbPoly2dType[AcDbPoly2dType["FitCurvePoly"] = 1] = "FitCurvePoly";
|
|
31
|
+
/**
|
|
32
|
+
* A spline-fit polyline that has a Quadratic B-spline path.
|
|
33
|
+
*/
|
|
34
|
+
AcDbPoly2dType[AcDbPoly2dType["QuadSplinePoly"] = 2] = "QuadSplinePoly";
|
|
35
|
+
/**
|
|
36
|
+
* A spline-fit polyline that has a Cubic B-spline path.
|
|
37
|
+
*/
|
|
38
|
+
AcDbPoly2dType[AcDbPoly2dType["CubicSplinePoly"] = 3] = "CubicSplinePoly";
|
|
39
|
+
})(AcDbPoly2dType || (AcDbPoly2dType = {}));
|
|
40
|
+
/**
|
|
41
|
+
* Represents a 2d polyline entity in AutoCAD. This is the older class used to
|
|
42
|
+
* represent 2D polylines in the legacy (DXF/DWG R12 and before) format.
|
|
43
|
+
*
|
|
44
|
+
* Characteristics
|
|
45
|
+
* - Represents 2D polyline entities, typically planar (all vertices lie in a single plane).
|
|
46
|
+
* - Each vertex is an instance of AcDb2dVertex.
|
|
47
|
+
* - Supports bulge values (for arcs between vertices).
|
|
48
|
+
* - Can represent fit curves or spline-fit polylines (via the polyline type flag).
|
|
49
|
+
* - Each vertex can have flags like curve-fit vertex, spline vertex, etc.
|
|
50
|
+
* - Geometry is stored as a linked list of vertex entities (not a single compact structure).
|
|
51
|
+
*
|
|
52
|
+
* Typical use case
|
|
53
|
+
* - Used mainly for backward compatibility and import/export of old drawings.
|
|
54
|
+
*/
|
|
55
|
+
var AcDb2dPolyline = /** @class */ (function (_super) {
|
|
56
|
+
__extends(AcDb2dPolyline, _super);
|
|
57
|
+
/**
|
|
58
|
+
* Creates a new empty 2d polyline entity.
|
|
59
|
+
*/
|
|
60
|
+
function AcDb2dPolyline(type, vertices, elevation, closed, _startWidth, _endWidth, bulges) {
|
|
61
|
+
if (elevation === void 0) { elevation = 0; }
|
|
62
|
+
if (closed === void 0) { closed = false; }
|
|
63
|
+
if (_startWidth === void 0) { _startWidth = 0; }
|
|
64
|
+
if (_endWidth === void 0) { _endWidth = 0; }
|
|
65
|
+
if (bulges === void 0) { bulges = null; }
|
|
66
|
+
var _this = _super.call(this) || this;
|
|
67
|
+
_this._polyType = type;
|
|
68
|
+
_this._elevation = elevation;
|
|
69
|
+
var hasBulge = bulges && (bulges === null || bulges === void 0 ? void 0 : bulges.length) === vertices.length;
|
|
70
|
+
var polylineVertices = vertices.map(function (vertex, index) {
|
|
71
|
+
return {
|
|
72
|
+
x: vertex.x,
|
|
73
|
+
y: vertex.y,
|
|
74
|
+
bulge: hasBulge ? bulges[index] : undefined
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
_this._geo = new AcGePolyline2d(polylineVertices, closed);
|
|
78
|
+
return _this;
|
|
79
|
+
}
|
|
80
|
+
Object.defineProperty(AcDb2dPolyline.prototype, "polyType", {
|
|
81
|
+
/**
|
|
82
|
+
* Gets the curve/spline-fit type for this 2d polyline.
|
|
83
|
+
*
|
|
84
|
+
* @returns The curve/spline-fit type for this 2d polyline.
|
|
85
|
+
*/
|
|
86
|
+
get: function () {
|
|
87
|
+
return this._polyType;
|
|
88
|
+
},
|
|
89
|
+
/**
|
|
90
|
+
* Sets the curve/spline-fit type for this 2d polyline.
|
|
91
|
+
*
|
|
92
|
+
* @param value - The curve/spline-fit type for this 2d polyline.
|
|
93
|
+
*/
|
|
94
|
+
set: function (value) {
|
|
95
|
+
this._polyType = value;
|
|
96
|
+
},
|
|
97
|
+
enumerable: false,
|
|
98
|
+
configurable: true
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(AcDb2dPolyline.prototype, "elevation", {
|
|
101
|
+
/**
|
|
102
|
+
* Gets the elevation of this polyline.
|
|
103
|
+
*
|
|
104
|
+
* The elevation is the distance of the polyline's plane from the WCS origin
|
|
105
|
+
* along the Z-axis.
|
|
106
|
+
*
|
|
107
|
+
* @returns The elevation value
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
* ```typescript
|
|
111
|
+
* const elevation = polyline.elevation;
|
|
112
|
+
* console.log(`Polyline elevation: ${elevation}`);
|
|
113
|
+
* ```
|
|
114
|
+
*/
|
|
115
|
+
get: function () {
|
|
116
|
+
return this._elevation;
|
|
117
|
+
},
|
|
118
|
+
/**
|
|
119
|
+
* Sets the elevation of this polyline.
|
|
120
|
+
*
|
|
121
|
+
* @param value - The new elevation value
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* ```typescript
|
|
125
|
+
* polyline.elevation = 10;
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
set: function (value) {
|
|
129
|
+
this._elevation = value;
|
|
130
|
+
},
|
|
131
|
+
enumerable: false,
|
|
132
|
+
configurable: true
|
|
133
|
+
});
|
|
134
|
+
Object.defineProperty(AcDb2dPolyline.prototype, "closed", {
|
|
135
|
+
/**
|
|
136
|
+
* Gets whether this polyline is closed.
|
|
137
|
+
*
|
|
138
|
+
* A closed polyline has a segment drawn from the last vertex to the first vertex,
|
|
139
|
+
* forming a complete loop.
|
|
140
|
+
*
|
|
141
|
+
* @returns True if the polyline is closed, false otherwise
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* ```typescript
|
|
145
|
+
* const isClosed = polyline.closed;
|
|
146
|
+
* console.log(`Polyline is closed: ${isClosed}`);
|
|
147
|
+
* ```
|
|
148
|
+
*/
|
|
149
|
+
get: function () {
|
|
150
|
+
return this._geo.closed;
|
|
151
|
+
},
|
|
152
|
+
/**
|
|
153
|
+
* Sets whether this polyline is closed.
|
|
154
|
+
*
|
|
155
|
+
* @param value - True to close the polyline, false to open it
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
* ```typescript
|
|
159
|
+
* polyline.closed = true; // Close the polyline
|
|
160
|
+
* ```
|
|
161
|
+
*/
|
|
162
|
+
set: function (value) {
|
|
163
|
+
this._geo.closed = value;
|
|
164
|
+
},
|
|
165
|
+
enumerable: false,
|
|
166
|
+
configurable: true
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(AcDb2dPolyline.prototype, "geometricExtents", {
|
|
169
|
+
/**
|
|
170
|
+
* Gets the geometric extents (bounding box) of this polyline.
|
|
171
|
+
*
|
|
172
|
+
* @returns The bounding box that encompasses the entire polyline
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* ```typescript
|
|
176
|
+
* const extents = polyline.geometricExtents;
|
|
177
|
+
* console.log(`Polyline bounds: ${extents.minPoint} to ${extents.maxPoint}`);
|
|
178
|
+
* ```
|
|
179
|
+
*/
|
|
180
|
+
get: function () {
|
|
181
|
+
var box = this._geo.box;
|
|
182
|
+
return new AcGeBox3d({ x: box.min.x, y: box.min.y, z: this._elevation }, { x: box.max.x, y: box.max.y, z: this._elevation });
|
|
183
|
+
},
|
|
184
|
+
enumerable: false,
|
|
185
|
+
configurable: true
|
|
186
|
+
});
|
|
187
|
+
/**
|
|
188
|
+
* Gets the grip points for this polyline.
|
|
189
|
+
*
|
|
190
|
+
* Grip points are control points that can be used to modify the polyline.
|
|
191
|
+
* For a polyline, the grip points are all the vertices.
|
|
192
|
+
*
|
|
193
|
+
* @returns Array of grip points (all vertices)
|
|
194
|
+
*/
|
|
195
|
+
AcDb2dPolyline.prototype.subGetGripPoints = function () {
|
|
196
|
+
var gripPoints = new Array();
|
|
197
|
+
// TODO: Finish logic to get grip points
|
|
198
|
+
return gripPoints;
|
|
199
|
+
};
|
|
200
|
+
/**
|
|
201
|
+
* Draws this polyline using the specified renderer.
|
|
202
|
+
*
|
|
203
|
+
* @param renderer - The renderer to use for drawing
|
|
204
|
+
* @returns The rendered polyline entity, or undefined if drawing failed
|
|
205
|
+
*/
|
|
206
|
+
AcDb2dPolyline.prototype.draw = function (renderer) {
|
|
207
|
+
var _this = this;
|
|
208
|
+
var points = [];
|
|
209
|
+
var tmp = this._geo.getPoints(100);
|
|
210
|
+
tmp.forEach(function (point) {
|
|
211
|
+
return points.push(new AcGePoint3d().set(point.x, point.y, _this.elevation));
|
|
212
|
+
});
|
|
213
|
+
return renderer.lines(points, this.lineStyle);
|
|
214
|
+
};
|
|
215
|
+
/** The entity type name */
|
|
216
|
+
AcDb2dPolyline.typeName = '2dPolyline';
|
|
217
|
+
return AcDb2dPolyline;
|
|
218
|
+
}(AcDbCurve));
|
|
219
|
+
export { AcDb2dPolyline };
|
|
220
|
+
//# sourceMappingURL=AcDb2dPolyline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcDb2dPolyline.js","sourceRoot":"","sources":["../../src/entity/AcDb2dPolyline.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,OAAO,EACL,SAAS,EACT,WAAW,EAEX,cAAc,GAEf,MAAM,4BAA4B,CAAA;AAGnC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC;;GAEG;AACH,MAAM,CAAN,IAAY,cAiBX;AAjBD,WAAY,cAAc;IACxB;;OAEG;IACH,+DAAU,CAAA;IACV;;OAEG;IACH,mEAAY,CAAA;IACZ;;OAEG;IACH,uEAAc,CAAA;IACd;;OAEG;IACH,yEAAe,CAAA;AACjB,CAAC,EAjBW,cAAc,KAAd,cAAc,QAiBzB;AAED;;;;;;;;;;;;;;GAcG;AACH;IAAoC,kCAAS;IAW3C;;OAEG;IACH,wBACE,IAAoB,EACpB,QAA2B,EAC3B,SAAa,EACb,MAAc,EACd,WAAe,EAC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BAAQ,GAAW,YAAY,CAAA;IAoKjD,qBAAC;CAAA,AAtKD,CAAoC,SAAS,GAsK5C;SAtKY,cAAc"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { AcGeBox3d, AcGeMatrix3d, AcGePoint3d, AcGePoint3dLike } from '@mlightcad/geometry-engine';
|
|
2
|
+
import { AcGiRenderer } from '@mlightcad/graphic-interface';
|
|
3
|
+
import { AcDbEntity } from './AcDbEntity';
|
|
4
|
+
export declare enum AcDb2dVertexType {
|
|
5
|
+
/**
|
|
6
|
+
* A standard vertex within a 2D polyline.
|
|
7
|
+
*/
|
|
8
|
+
Vertex = 0,
|
|
9
|
+
/**
|
|
10
|
+
* A vertex that was automatically generated as the result of a curve-fit operation.
|
|
11
|
+
* This type of vertex can go away or change automatically during subsequent editing
|
|
12
|
+
* operations on the polyline.
|
|
13
|
+
*/
|
|
14
|
+
CurveFitVertex = 1,
|
|
15
|
+
/**
|
|
16
|
+
* A vertex that was automatically generated as the result of a spline-fit operation.
|
|
17
|
+
* This type of vertex can go away or change automatically during subsequent editing
|
|
18
|
+
* operations on the polyline.
|
|
19
|
+
*/
|
|
20
|
+
SplineFitVertex = 8,
|
|
21
|
+
/**
|
|
22
|
+
* A control point for a spline or curve-fit polyline.
|
|
23
|
+
*/
|
|
24
|
+
SplineCtlVertex = 9
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Represents the vertices in 2D polylines.
|
|
28
|
+
*/
|
|
29
|
+
export declare class AcDb2dVertex extends AcDbEntity {
|
|
30
|
+
/** The entity type name */
|
|
31
|
+
static typeName: string;
|
|
32
|
+
private _position;
|
|
33
|
+
/**
|
|
34
|
+
* The bulge factor used to indicate how much of an arc segment is present at this vertex.
|
|
35
|
+
* The bulge factor is the tangent of one fourth the included angle for an arc segment, made
|
|
36
|
+
* negative if the arc goes clockwise from the start point to the endpoint. A bulge of 0 indicates a
|
|
37
|
+
* straight segment, and a bulge of 1 is a semicircle.
|
|
38
|
+
*/
|
|
39
|
+
private _bulge;
|
|
40
|
+
/** The starting width at this vertex */
|
|
41
|
+
private _startWidth;
|
|
42
|
+
/** The ending width at this vertex */
|
|
43
|
+
private _endWidth;
|
|
44
|
+
/** The vertex type */
|
|
45
|
+
private _vertexType;
|
|
46
|
+
/**
|
|
47
|
+
* Creates a new 2d vertex entity.
|
|
48
|
+
*/
|
|
49
|
+
constructor();
|
|
50
|
+
/**
|
|
51
|
+
* Gets the position value of the vertex. The position point value must be in OCS coordinates
|
|
52
|
+
* (the OCS of the polyline containing the vertex), not WCS. The Z coordinate is kept in the
|
|
53
|
+
* owning AcDb2dPolyline only for historical purposes.
|
|
54
|
+
*
|
|
55
|
+
* @returns The position value of the vertex
|
|
56
|
+
*/
|
|
57
|
+
get position(): AcGePoint3d;
|
|
58
|
+
/**
|
|
59
|
+
* Sets the position value of the vertex. The position point value must be in OCS coordinates
|
|
60
|
+
* (the OCS of the polyline containing the vertex), not WCS. The Z coordinate is kept in the
|
|
61
|
+
* owning AcDb2dPolyline only for historical purposes.
|
|
62
|
+
*
|
|
63
|
+
* @param value - The position value of the vertex
|
|
64
|
+
*/
|
|
65
|
+
set position(value: AcGePoint3dLike);
|
|
66
|
+
/**
|
|
67
|
+
* Gets the vertex's bulge value.
|
|
68
|
+
*
|
|
69
|
+
* @returns The vertex's bulge value
|
|
70
|
+
*/
|
|
71
|
+
get bulge(): number;
|
|
72
|
+
/**
|
|
73
|
+
* Sets the vertex's bulge value.
|
|
74
|
+
*
|
|
75
|
+
* @param value - The vertex's bulge value
|
|
76
|
+
*/
|
|
77
|
+
set bulge(value: number);
|
|
78
|
+
/**
|
|
79
|
+
* Gets the start width for the vertex. The start width is used as the width at this vertex
|
|
80
|
+
* for the polyline segment from this vertex to the next vertex.
|
|
81
|
+
*
|
|
82
|
+
* @returns The start width for the vertex
|
|
83
|
+
*/
|
|
84
|
+
get startWidth(): number;
|
|
85
|
+
/**
|
|
86
|
+
* Sets the start width for the vertex. The start width is used as the width at this vertex
|
|
87
|
+
* for the polyline segment from this vertex to the next vertex.
|
|
88
|
+
*
|
|
89
|
+
* @param value - The start width for the vertex
|
|
90
|
+
*/
|
|
91
|
+
set startWidth(value: number);
|
|
92
|
+
/**
|
|
93
|
+
* Gets the end width for the vertex. The end width is used as the width at the end of the
|
|
94
|
+
* polyline segment from this vertex to the next vertex.
|
|
95
|
+
*
|
|
96
|
+
* @returns The end width for the vertex
|
|
97
|
+
*/
|
|
98
|
+
get endWidth(): number;
|
|
99
|
+
/**
|
|
100
|
+
* Sets the end width for the vertex. The end width is used as the width at the end of the
|
|
101
|
+
* polyline segment from this vertex to the next vertex.
|
|
102
|
+
*
|
|
103
|
+
* @param value - The end width for the vertex
|
|
104
|
+
*/
|
|
105
|
+
set endWidth(value: number);
|
|
106
|
+
/**
|
|
107
|
+
* Gets the type of this vertex.
|
|
108
|
+
* @returns The type of this vertex
|
|
109
|
+
*/
|
|
110
|
+
get vertexType(): AcDb2dVertexType;
|
|
111
|
+
/**
|
|
112
|
+
* Sets the type of this vertex.
|
|
113
|
+
* @param value - The type of this vertex
|
|
114
|
+
*/
|
|
115
|
+
set vertexType(value: AcDb2dVertexType);
|
|
116
|
+
/**
|
|
117
|
+
* Gets the geometric extents (bounding box) of this vertex.
|
|
118
|
+
*
|
|
119
|
+
* @returns The bounding box that encompasses the entire vertex
|
|
120
|
+
*/
|
|
121
|
+
get geometricExtents(): AcGeBox3d;
|
|
122
|
+
/**
|
|
123
|
+
* Gets the grip points for this vertex.
|
|
124
|
+
*
|
|
125
|
+
* @returns Array of grip points (center, start point, end point)
|
|
126
|
+
*/
|
|
127
|
+
subGetGripPoints(): AcGePoint3d[];
|
|
128
|
+
/**
|
|
129
|
+
* Transforms this vertex by the specified matrix.
|
|
130
|
+
*
|
|
131
|
+
* @param matrix - The transformation matrix to apply
|
|
132
|
+
* @returns This vertex after transformation
|
|
133
|
+
*/
|
|
134
|
+
transformBy(matrix: AcGeMatrix3d): this;
|
|
135
|
+
/**
|
|
136
|
+
* Draws nothing because it will be drawn by its parent 2d polyline.
|
|
137
|
+
*
|
|
138
|
+
* @param renderer - The renderer to use for drawing
|
|
139
|
+
* @returns undefined
|
|
140
|
+
*/
|
|
141
|
+
draw(_renderer: AcGiRenderer): undefined;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=AcDb2dVertex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcDb2dVertex.d.ts","sourceRoot":"","sources":["../../src/entity/AcDb2dVertex.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EAChB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAE3D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAGzC,oBAAY,gBAAgB;IAC1B;;OAEG;IACH,MAAM,IAAI;IACV;;;;OAIG;IACH,cAAc,IAAI;IAClB;;;;OAIG;IACH,eAAe,IAAI;IACnB;;OAEG;IACH,eAAe,IAAA;CAChB;AAED;;GAEG;AACH,qBAAa,YAAa,SAAQ,UAAU;IAC1C,2BAA2B;IAC3B,OAAgB,QAAQ,EAAE,MAAM,CAAa;IAE7C,OAAO,CAAC,SAAS,CAAa;IAC9B;;;;;OAKG;IACH,OAAO,CAAC,MAAM,CAAQ;IACtB,wCAAwC;IACxC,OAAO,CAAC,WAAW,CAAQ;IAC3B,sCAAsC;IACtC,OAAO,CAAC,SAAS,CAAQ;IACzB,sBAAsB;IACtB,OAAO,CAAC,WAAW,CAAkB;IAErC;;OAEG;;IAUH;;;;;;OAMG;IACH,IAAI,QAAQ,IAAI,WAAW,CAE1B;IAED;;;;;;OAMG;IACH,IAAI,QAAQ,CAAC,KAAK,EAAE,eAAe,EAElC;IAED;;;;OAIG;IACH,IAAI,KAAK,IAAI,MAAM,CAElB;IAED;;;;OAIG;IACH,IAAI,KAAK,CAAC,KAAK,EAAE,MAAM,EAEtB;IAED;;;;;OAKG;IACH,IAAI,UAAU,IAAI,MAAM,CAEvB;IAED;;;;;OAKG;IACH,IAAI,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3B;IAED;;;;;OAKG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED;;;;;OAKG;IACH,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;;OAGG;IACH,IAAI,UAAU,IAAI,gBAAgB,CAEjC;IAED;;;OAGG;IACH,IAAI,UAAU,CAAC,KAAK,EAAE,gBAAgB,EAErC;IAED;;;;OAIG;IACH,IAAI,gBAAgB,cAEnB;IAED;;;;OAIG;IACH,gBAAgB;IAMhB;;;;;OAKG;IACH,WAAW,CAAC,MAAM,EAAE,YAAY;IAKhC;;;;;OAKG;IACH,IAAI,CAAC,SAAS,EAAE,YAAY,GAAG,SAAS;CAGzC"}
|
|
@@ -0,0 +1,210 @@
|
|
|
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
|
+
import { AcGeBox3d, AcGePoint3d, } from '@mlightcad/geometry-engine';
|
|
17
|
+
import { AcDbEntity } from './AcDbEntity';
|
|
18
|
+
export var AcDb2dVertexType;
|
|
19
|
+
(function (AcDb2dVertexType) {
|
|
20
|
+
/**
|
|
21
|
+
* A standard vertex within a 2D polyline.
|
|
22
|
+
*/
|
|
23
|
+
AcDb2dVertexType[AcDb2dVertexType["Vertex"] = 0] = "Vertex";
|
|
24
|
+
/**
|
|
25
|
+
* A vertex that was automatically generated as the result of a curve-fit operation.
|
|
26
|
+
* This type of vertex can go away or change automatically during subsequent editing
|
|
27
|
+
* operations on the polyline.
|
|
28
|
+
*/
|
|
29
|
+
AcDb2dVertexType[AcDb2dVertexType["CurveFitVertex"] = 1] = "CurveFitVertex";
|
|
30
|
+
/**
|
|
31
|
+
* A vertex that was automatically generated as the result of a spline-fit operation.
|
|
32
|
+
* This type of vertex can go away or change automatically during subsequent editing
|
|
33
|
+
* operations on the polyline.
|
|
34
|
+
*/
|
|
35
|
+
AcDb2dVertexType[AcDb2dVertexType["SplineFitVertex"] = 8] = "SplineFitVertex";
|
|
36
|
+
/**
|
|
37
|
+
* A control point for a spline or curve-fit polyline.
|
|
38
|
+
*/
|
|
39
|
+
AcDb2dVertexType[AcDb2dVertexType["SplineCtlVertex"] = 9] = "SplineCtlVertex";
|
|
40
|
+
})(AcDb2dVertexType || (AcDb2dVertexType = {}));
|
|
41
|
+
/**
|
|
42
|
+
* Represents the vertices in 2D polylines.
|
|
43
|
+
*/
|
|
44
|
+
var AcDb2dVertex = /** @class */ (function (_super) {
|
|
45
|
+
__extends(AcDb2dVertex, _super);
|
|
46
|
+
/**
|
|
47
|
+
* Creates a new 2d vertex entity.
|
|
48
|
+
*/
|
|
49
|
+
function AcDb2dVertex() {
|
|
50
|
+
var _this = _super.call(this) || this;
|
|
51
|
+
_this._position = new AcGePoint3d();
|
|
52
|
+
_this._bulge = 0;
|
|
53
|
+
_this._startWidth = 0;
|
|
54
|
+
_this._endWidth = 0;
|
|
55
|
+
_this._vertexType = AcDb2dVertexType.Vertex;
|
|
56
|
+
return _this;
|
|
57
|
+
}
|
|
58
|
+
Object.defineProperty(AcDb2dVertex.prototype, "position", {
|
|
59
|
+
/**
|
|
60
|
+
* Gets the position value of the vertex. The position point value must be in OCS coordinates
|
|
61
|
+
* (the OCS of the polyline containing the vertex), not WCS. The Z coordinate is kept in the
|
|
62
|
+
* owning AcDb2dPolyline only for historical purposes.
|
|
63
|
+
*
|
|
64
|
+
* @returns The position value of the vertex
|
|
65
|
+
*/
|
|
66
|
+
get: function () {
|
|
67
|
+
return this._position;
|
|
68
|
+
},
|
|
69
|
+
/**
|
|
70
|
+
* Sets the position value of the vertex. The position point value must be in OCS coordinates
|
|
71
|
+
* (the OCS of the polyline containing the vertex), not WCS. The Z coordinate is kept in the
|
|
72
|
+
* owning AcDb2dPolyline only for historical purposes.
|
|
73
|
+
*
|
|
74
|
+
* @param value - The position value of the vertex
|
|
75
|
+
*/
|
|
76
|
+
set: function (value) {
|
|
77
|
+
this._position.copy(value);
|
|
78
|
+
},
|
|
79
|
+
enumerable: false,
|
|
80
|
+
configurable: true
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(AcDb2dVertex.prototype, "bulge", {
|
|
83
|
+
/**
|
|
84
|
+
* Gets the vertex's bulge value.
|
|
85
|
+
*
|
|
86
|
+
* @returns The vertex's bulge value
|
|
87
|
+
*/
|
|
88
|
+
get: function () {
|
|
89
|
+
return this._bulge;
|
|
90
|
+
},
|
|
91
|
+
/**
|
|
92
|
+
* Sets the vertex's bulge value.
|
|
93
|
+
*
|
|
94
|
+
* @param value - The vertex's bulge value
|
|
95
|
+
*/
|
|
96
|
+
set: function (value) {
|
|
97
|
+
this._bulge = value;
|
|
98
|
+
},
|
|
99
|
+
enumerable: false,
|
|
100
|
+
configurable: true
|
|
101
|
+
});
|
|
102
|
+
Object.defineProperty(AcDb2dVertex.prototype, "startWidth", {
|
|
103
|
+
/**
|
|
104
|
+
* Gets the start width for the vertex. The start width is used as the width at this vertex
|
|
105
|
+
* for the polyline segment from this vertex to the next vertex.
|
|
106
|
+
*
|
|
107
|
+
* @returns The start width for the vertex
|
|
108
|
+
*/
|
|
109
|
+
get: function () {
|
|
110
|
+
return this._startWidth;
|
|
111
|
+
},
|
|
112
|
+
/**
|
|
113
|
+
* Sets the start width for the vertex. The start width is used as the width at this vertex
|
|
114
|
+
* for the polyline segment from this vertex to the next vertex.
|
|
115
|
+
*
|
|
116
|
+
* @param value - The start width for the vertex
|
|
117
|
+
*/
|
|
118
|
+
set: function (value) {
|
|
119
|
+
this._startWidth = value;
|
|
120
|
+
},
|
|
121
|
+
enumerable: false,
|
|
122
|
+
configurable: true
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(AcDb2dVertex.prototype, "endWidth", {
|
|
125
|
+
/**
|
|
126
|
+
* Gets the end width for the vertex. The end width is used as the width at the end of the
|
|
127
|
+
* polyline segment from this vertex to the next vertex.
|
|
128
|
+
*
|
|
129
|
+
* @returns The end width for the vertex
|
|
130
|
+
*/
|
|
131
|
+
get: function () {
|
|
132
|
+
return this._endWidth;
|
|
133
|
+
},
|
|
134
|
+
/**
|
|
135
|
+
* Sets the end width for the vertex. The end width is used as the width at the end of the
|
|
136
|
+
* polyline segment from this vertex to the next vertex.
|
|
137
|
+
*
|
|
138
|
+
* @param value - The end width for the vertex
|
|
139
|
+
*/
|
|
140
|
+
set: function (value) {
|
|
141
|
+
this._endWidth = value;
|
|
142
|
+
},
|
|
143
|
+
enumerable: false,
|
|
144
|
+
configurable: true
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(AcDb2dVertex.prototype, "vertexType", {
|
|
147
|
+
/**
|
|
148
|
+
* Gets the type of this vertex.
|
|
149
|
+
* @returns The type of this vertex
|
|
150
|
+
*/
|
|
151
|
+
get: function () {
|
|
152
|
+
return this._vertexType;
|
|
153
|
+
},
|
|
154
|
+
/**
|
|
155
|
+
* Sets the type of this vertex.
|
|
156
|
+
* @param value - The type of this vertex
|
|
157
|
+
*/
|
|
158
|
+
set: function (value) {
|
|
159
|
+
this._vertexType = value;
|
|
160
|
+
},
|
|
161
|
+
enumerable: false,
|
|
162
|
+
configurable: true
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(AcDb2dVertex.prototype, "geometricExtents", {
|
|
165
|
+
/**
|
|
166
|
+
* Gets the geometric extents (bounding box) of this vertex.
|
|
167
|
+
*
|
|
168
|
+
* @returns The bounding box that encompasses the entire vertex
|
|
169
|
+
*/
|
|
170
|
+
get: function () {
|
|
171
|
+
return new AcGeBox3d().expandByPoint(this._position);
|
|
172
|
+
},
|
|
173
|
+
enumerable: false,
|
|
174
|
+
configurable: true
|
|
175
|
+
});
|
|
176
|
+
/**
|
|
177
|
+
* Gets the grip points for this vertex.
|
|
178
|
+
*
|
|
179
|
+
* @returns Array of grip points (center, start point, end point)
|
|
180
|
+
*/
|
|
181
|
+
AcDb2dVertex.prototype.subGetGripPoints = function () {
|
|
182
|
+
var gripPoints = new Array();
|
|
183
|
+
gripPoints.push(this._position);
|
|
184
|
+
return gripPoints;
|
|
185
|
+
};
|
|
186
|
+
/**
|
|
187
|
+
* Transforms this vertex by the specified matrix.
|
|
188
|
+
*
|
|
189
|
+
* @param matrix - The transformation matrix to apply
|
|
190
|
+
* @returns This vertex after transformation
|
|
191
|
+
*/
|
|
192
|
+
AcDb2dVertex.prototype.transformBy = function (matrix) {
|
|
193
|
+
this._position.applyMatrix4(matrix);
|
|
194
|
+
return this;
|
|
195
|
+
};
|
|
196
|
+
/**
|
|
197
|
+
* Draws nothing because it will be drawn by its parent 2d polyline.
|
|
198
|
+
*
|
|
199
|
+
* @param renderer - The renderer to use for drawing
|
|
200
|
+
* @returns undefined
|
|
201
|
+
*/
|
|
202
|
+
AcDb2dVertex.prototype.draw = function (_renderer) {
|
|
203
|
+
return undefined;
|
|
204
|
+
};
|
|
205
|
+
/** The entity type name */
|
|
206
|
+
AcDb2dVertex.typeName = '2dVertex';
|
|
207
|
+
return AcDb2dVertex;
|
|
208
|
+
}(AcDbEntity));
|
|
209
|
+
export { AcDb2dVertex };
|
|
210
|
+
//# sourceMappingURL=AcDb2dVertex.js.map
|
|
@@ -0,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, AcGePoint3dLike } from '@mlightcad/geometry-engine';
|
|
2
|
+
import { AcGiRenderer } from '@mlightcad/graphic-interface';
|
|
3
|
+
import { AcDbCurve } from './AcDbCurve';
|
|
4
|
+
/**
|
|
5
|
+
* Represents the spline-fit type for this 3D polyline.
|
|
6
|
+
*/
|
|
7
|
+
export declare enum AcDbPoly3dType {
|
|
8
|
+
/**
|
|
9
|
+
* A standard polyline with no spline fitting.
|
|
10
|
+
*/
|
|
11
|
+
SimplePoly = 0,
|
|
12
|
+
/**
|
|
13
|
+
* A spline-fit polyline that has a Quadratic B-spline path.
|
|
14
|
+
*/
|
|
15
|
+
QuadSplinePoly = 1,
|
|
16
|
+
/**
|
|
17
|
+
* A spline-fit polyline that has a Cubic B-spline path.
|
|
18
|
+
*/
|
|
19
|
+
CubicSplinePoly = 2
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Represents a 3d polyline entity in AutoCAD.
|
|
23
|
+
*/
|
|
24
|
+
export declare class AcDb3dPolyline extends AcDbCurve {
|
|
25
|
+
/** The entity type name */
|
|
26
|
+
static typeName: string;
|
|
27
|
+
/** The spline-fit type for this 3D polyline */
|
|
28
|
+
private _polyType;
|
|
29
|
+
/** The underlying geometric polyline object */
|
|
30
|
+
private _geo;
|
|
31
|
+
/**
|
|
32
|
+
* Creates a new empty 2d polyline entity.
|
|
33
|
+
*/
|
|
34
|
+
constructor(type: AcDbPoly3dType, vertices: AcGePoint3dLike[], closed?: boolean);
|
|
35
|
+
/**
|
|
36
|
+
* Gets the spline-fit type for this 3D polyline.
|
|
37
|
+
*
|
|
38
|
+
* @returns The spline-fit type for this 3D polyline.
|
|
39
|
+
*/
|
|
40
|
+
get polyType(): AcDbPoly3dType;
|
|
41
|
+
/**
|
|
42
|
+
* Sets the spline-fit type for this 3D polyline.
|
|
43
|
+
*
|
|
44
|
+
* @param value - The spline-fit type for this 3D polyline.
|
|
45
|
+
*/
|
|
46
|
+
set polyType(value: AcDbPoly3dType);
|
|
47
|
+
/**
|
|
48
|
+
* Gets whether this polyline is closed.
|
|
49
|
+
*
|
|
50
|
+
* A closed polyline has a segment drawn from the last vertex to the first vertex,
|
|
51
|
+
* forming a complete loop.
|
|
52
|
+
*
|
|
53
|
+
* @returns True if the polyline is closed, false otherwise
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```typescript
|
|
57
|
+
* const isClosed = polyline.closed;
|
|
58
|
+
* console.log(`Polyline is closed: ${isClosed}`);
|
|
59
|
+
* ```
|
|
60
|
+
*/
|
|
61
|
+
get closed(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Sets whether this polyline is closed.
|
|
64
|
+
*
|
|
65
|
+
* @param value - True to close the polyline, false to open it
|
|
66
|
+
*
|
|
67
|
+
* @example
|
|
68
|
+
* ```typescript
|
|
69
|
+
* polyline.closed = true; // Close the polyline
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
set closed(value: boolean);
|
|
73
|
+
/**
|
|
74
|
+
* Gets the geometric extents (bounding box) of this polyline.
|
|
75
|
+
*
|
|
76
|
+
* @returns The bounding box that encompasses the entire polyline
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```typescript
|
|
80
|
+
* const extents = polyline.geometricExtents;
|
|
81
|
+
* console.log(`Polyline bounds: ${extents.minPoint} to ${extents.maxPoint}`);
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
get geometricExtents(): AcGeBox3d;
|
|
85
|
+
/**
|
|
86
|
+
* Gets the grip points for this polyline.
|
|
87
|
+
*
|
|
88
|
+
* Grip points are control points that can be used to modify the polyline.
|
|
89
|
+
* For a polyline, the grip points are all the vertices.
|
|
90
|
+
*
|
|
91
|
+
* @returns Array of grip points (all vertices)
|
|
92
|
+
*/
|
|
93
|
+
subGetGripPoints(): AcGePoint3d[];
|
|
94
|
+
/**
|
|
95
|
+
* Draws this polyline using the specified renderer.
|
|
96
|
+
*
|
|
97
|
+
* @param renderer - The renderer to use for drawing
|
|
98
|
+
* @returns The rendered polyline entity, or undefined if drawing failed
|
|
99
|
+
*/
|
|
100
|
+
draw(renderer: AcGiRenderer): import("@mlightcad/graphic-interface").AcGiEntity;
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=AcDb3dPolyline.d.ts.map
|