@mlightcad/data-model 1.0.0
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/LICENSE +21 -0
- package/README.md +116 -0
- package/dist/data-model.js +19887 -0
- package/dist/data-model.umd.cjs +5 -0
- package/lib/base/AcDbHostApplicationServices.d.ts +30 -0
- package/lib/base/AcDbHostApplicationServices.d.ts.map +1 -0
- package/lib/base/AcDbHostApplicationServices.js +54 -0
- package/lib/base/AcDbHostApplicationServices.js.map +1 -0
- package/lib/base/AcDbObject.d.ts +70 -0
- package/lib/base/AcDbObject.d.ts.map +1 -0
- package/lib/base/AcDbObject.js +113 -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 +43 -0
- package/lib/converter/AcDbBatchProcessing.d.ts.map +1 -0
- package/lib/converter/AcDbBatchProcessing.js +165 -0
- package/lib/converter/AcDbBatchProcessing.js.map +1 -0
- package/lib/converter/AcDbDxfConverter.d.ts +39 -0
- package/lib/converter/AcDbDxfConverter.d.ts.map +1 -0
- package/lib/converter/AcDbDxfConverter.js +567 -0
- package/lib/converter/AcDbDxfConverter.js.map +1 -0
- package/lib/converter/AcDbDxfParseWorker.d.ts +2 -0
- package/lib/converter/AcDbDxfParseWorker.d.ts.map +1 -0
- package/lib/converter/AcDbDxfParseWorker.js +6 -0
- package/lib/converter/AcDbDxfParseWorker.js.map +1 -0
- package/lib/converter/AcDbEntitiyConverter.d.ts +36 -0
- package/lib/converter/AcDbEntitiyConverter.d.ts.map +1 -0
- package/lib/converter/AcDbEntitiyConverter.js +491 -0
- package/lib/converter/AcDbEntitiyConverter.js.map +1 -0
- package/lib/converter/AcDbObjectConverter.d.ts +9 -0
- package/lib/converter/AcDbObjectConverter.d.ts.map +1 -0
- package/lib/converter/AcDbObjectConverter.js +30 -0
- package/lib/converter/AcDbObjectConverter.js.map +1 -0
- package/lib/converter/index.d.ts +3 -0
- package/lib/converter/index.d.ts.map +1 -0
- package/lib/converter/index.js +3 -0
- package/lib/converter/index.js.map +1 -0
- package/lib/database/AcDbBlockTable.d.ts +15 -0
- package/lib/database/AcDbBlockTable.d.ts.map +1 -0
- package/lib/database/AcDbBlockTable.js +46 -0
- package/lib/database/AcDbBlockTable.js.map +1 -0
- package/lib/database/AcDbBlockTableRecord.d.ts +49 -0
- package/lib/database/AcDbBlockTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbBlockTableRecord.js +108 -0
- package/lib/database/AcDbBlockTableRecord.js.map +1 -0
- package/lib/database/AcDbDatabase.d.ts +211 -0
- package/lib/database/AcDbDatabase.d.ts.map +1 -0
- package/lib/database/AcDbDatabase.js +395 -0
- package/lib/database/AcDbDatabase.js.map +1 -0
- package/lib/database/AcDbDatabaseConverter.d.ts +120 -0
- package/lib/database/AcDbDatabaseConverter.d.ts.map +1 -0
- package/lib/database/AcDbDatabaseConverter.js +376 -0
- package/lib/database/AcDbDatabaseConverter.js.map +1 -0
- package/lib/database/AcDbDatabaseConverterManager.d.ts +59 -0
- package/lib/database/AcDbDatabaseConverterManager.d.ts.map +1 -0
- package/lib/database/AcDbDatabaseConverterManager.js +98 -0
- package/lib/database/AcDbDatabaseConverterManager.js.map +1 -0
- package/lib/database/AcDbDatabaseConverterRegister.d.ts +54 -0
- package/lib/database/AcDbDatabaseConverterRegister.d.ts.map +1 -0
- package/lib/database/AcDbDatabaseConverterRegister.js +84 -0
- package/lib/database/AcDbDatabaseConverterRegister.js.map +1 -0
- package/lib/database/AcDbDimStyleTable.d.ts +11 -0
- package/lib/database/AcDbDimStyleTable.d.ts.map +1 -0
- package/lib/database/AcDbDimStyleTable.js +29 -0
- package/lib/database/AcDbDimStyleTable.js.map +1 -0
- package/lib/database/AcDbDimStyleTableRecord.d.ts +682 -0
- package/lib/database/AcDbDimStyleTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbDimStyleTableRecord.js +1250 -0
- package/lib/database/AcDbDimStyleTableRecord.js.map +1 -0
- package/lib/database/AcDbLayerTable.d.ts +14 -0
- package/lib/database/AcDbLayerTable.d.ts.map +1 -0
- package/lib/database/AcDbLayerTable.js +55 -0
- package/lib/database/AcDbLayerTable.js.map +1 -0
- package/lib/database/AcDbLayerTableRecord.d.ts +98 -0
- package/lib/database/AcDbLayerTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbLayerTableRecord.js +235 -0
- package/lib/database/AcDbLayerTableRecord.js.map +1 -0
- package/lib/database/AcDbLinetypeTable.d.ts +11 -0
- package/lib/database/AcDbLinetypeTable.d.ts.map +1 -0
- package/lib/database/AcDbLinetypeTable.js +29 -0
- package/lib/database/AcDbLinetypeTable.js.map +1 -0
- package/lib/database/AcDbLinetypeTableRecord.d.ts +47 -0
- package/lib/database/AcDbLinetypeTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbLinetypeTableRecord.js +97 -0
- package/lib/database/AcDbLinetypeTableRecord.js.map +1 -0
- package/lib/database/AcDbSymbolTable.d.ts +74 -0
- package/lib/database/AcDbSymbolTable.d.ts.map +1 -0
- package/lib/database/AcDbSymbolTable.js +136 -0
- package/lib/database/AcDbSymbolTable.js.map +1 -0
- package/lib/database/AcDbSymbolTableRecord.d.ts +16 -0
- package/lib/database/AcDbSymbolTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbSymbolTableRecord.js +44 -0
- package/lib/database/AcDbSymbolTableRecord.js.map +1 -0
- package/lib/database/AcDbTextStyleTable.d.ts +14 -0
- package/lib/database/AcDbTextStyleTable.d.ts.map +1 -0
- package/lib/database/AcDbTextStyleTable.js +78 -0
- package/lib/database/AcDbTextStyleTable.js.map +1 -0
- package/lib/database/AcDbTextStyleTableRecord.d.ts +67 -0
- package/lib/database/AcDbTextStyleTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbTextStyleTableRecord.js +166 -0
- package/lib/database/AcDbTextStyleTableRecord.js.map +1 -0
- package/lib/database/AcDbViewportTable.d.ts +11 -0
- package/lib/database/AcDbViewportTable.d.ts.map +1 -0
- package/lib/database/AcDbViewportTable.js +29 -0
- package/lib/database/AcDbViewportTable.js.map +1 -0
- package/lib/database/AcDbViewportTableRecord.d.ts +89 -0
- package/lib/database/AcDbViewportTableRecord.d.ts.map +1 -0
- package/lib/database/AcDbViewportTableRecord.js +262 -0
- package/lib/database/AcDbViewportTableRecord.js.map +1 -0
- package/lib/database/index.d.ts +18 -0
- package/lib/database/index.d.ts.map +1 -0
- package/lib/database/index.js +18 -0
- package/lib/database/index.js.map +1 -0
- package/lib/entity/AcDbArc.d.ts +67 -0
- package/lib/entity/AcDbArc.d.ts.map +1 -0
- package/lib/entity/AcDbArc.js +154 -0
- package/lib/entity/AcDbArc.js.map +1 -0
- package/lib/entity/AcDbBlockReference.d.ts +54 -0
- package/lib/entity/AcDbBlockReference.d.ts.map +1 -0
- package/lib/entity/AcDbBlockReference.js +168 -0
- package/lib/entity/AcDbBlockReference.js.map +1 -0
- package/lib/entity/AcDbCircle.d.ts +51 -0
- package/lib/entity/AcDbCircle.d.ts.map +1 -0
- package/lib/entity/AcDbCircle.js +115 -0
- package/lib/entity/AcDbCircle.js.map +1 -0
- package/lib/entity/AcDbCurve.d.ts +9 -0
- package/lib/entity/AcDbCurve.d.ts.map +1 -0
- package/lib/entity/AcDbCurve.js +25 -0
- package/lib/entity/AcDbCurve.js.map +1 -0
- package/lib/entity/AcDbEllipse.d.ts +53 -0
- package/lib/entity/AcDbEllipse.d.ts.map +1 -0
- package/lib/entity/AcDbEllipse.js +119 -0
- package/lib/entity/AcDbEllipse.js.map +1 -0
- package/lib/entity/AcDbEntity.d.ts +103 -0
- package/lib/entity/AcDbEntity.d.ts.map +1 -0
- package/lib/entity/AcDbEntity.js +292 -0
- package/lib/entity/AcDbEntity.js.map +1 -0
- package/lib/entity/AcDbHatch.d.ts +116 -0
- package/lib/entity/AcDbHatch.d.ts.map +1 -0
- package/lib/entity/AcDbHatch.js +200 -0
- package/lib/entity/AcDbHatch.js.map +1 -0
- package/lib/entity/AcDbLeader.d.ts +94 -0
- package/lib/entity/AcDbLeader.d.ts.map +1 -0
- package/lib/entity/AcDbLeader.js +217 -0
- package/lib/entity/AcDbLeader.js.map +1 -0
- package/lib/entity/AcDbLine.d.ts +55 -0
- package/lib/entity/AcDbLine.d.ts.map +1 -0
- package/lib/entity/AcDbLine.js +158 -0
- package/lib/entity/AcDbLine.js.map +1 -0
- package/lib/entity/AcDbMText.d.ts +119 -0
- package/lib/entity/AcDbMText.d.ts.map +1 -0
- package/lib/entity/AcDbMText.js +300 -0
- package/lib/entity/AcDbMText.js.map +1 -0
- package/lib/entity/AcDbPoint.d.ts +32 -0
- package/lib/entity/AcDbPoint.d.ts.map +1 -0
- package/lib/entity/AcDbPoint.js +75 -0
- package/lib/entity/AcDbPoint.js.map +1 -0
- package/lib/entity/AcDbPolyline.d.ts +72 -0
- package/lib/entity/AcDbPolyline.d.ts.map +1 -0
- package/lib/entity/AcDbPolyline.js +154 -0
- package/lib/entity/AcDbPolyline.js.map +1 -0
- package/lib/entity/AcDbRasterImage.d.ts +163 -0
- package/lib/entity/AcDbRasterImage.d.ts.map +1 -0
- package/lib/entity/AcDbRasterImage.js +406 -0
- package/lib/entity/AcDbRasterImage.js.map +1 -0
- package/lib/entity/AcDbRay.d.ts +42 -0
- package/lib/entity/AcDbRay.d.ts.map +1 -0
- package/lib/entity/AcDbRay.js +102 -0
- package/lib/entity/AcDbRay.js.map +1 -0
- package/lib/entity/AcDbSpline.d.ts +37 -0
- package/lib/entity/AcDbSpline.d.ts.map +1 -0
- package/lib/entity/AcDbSpline.js +71 -0
- package/lib/entity/AcDbSpline.js.map +1 -0
- package/lib/entity/AcDbTable.d.ts +141 -0
- package/lib/entity/AcDbTable.d.ts.map +1 -0
- package/lib/entity/AcDbTable.js +358 -0
- package/lib/entity/AcDbTable.js.map +1 -0
- package/lib/entity/AcDbText.d.ts +110 -0
- package/lib/entity/AcDbText.d.ts.map +1 -0
- package/lib/entity/AcDbText.js +255 -0
- package/lib/entity/AcDbText.js.map +1 -0
- package/lib/entity/AcDbTrace.d.ts +64 -0
- package/lib/entity/AcDbTrace.d.ts.map +1 -0
- package/lib/entity/AcDbTrace.js +145 -0
- package/lib/entity/AcDbTrace.js.map +1 -0
- package/lib/entity/AcDbViewport.d.ts +58 -0
- package/lib/entity/AcDbViewport.d.ts.map +1 -0
- package/lib/entity/AcDbViewport.js +179 -0
- package/lib/entity/AcDbViewport.js.map +1 -0
- package/lib/entity/AcDbWipeout.d.ts +9 -0
- package/lib/entity/AcDbWipeout.d.ts.map +1 -0
- package/lib/entity/AcDbWipeout.js +40 -0
- package/lib/entity/AcDbWipeout.js.map +1 -0
- package/lib/entity/AcDbXline.d.ts +42 -0
- package/lib/entity/AcDbXline.d.ts.map +1 -0
- package/lib/entity/AcDbXline.js +102 -0
- package/lib/entity/AcDbXline.js.map +1 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts +46 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.js +111 -0
- package/lib/entity/dimension/AcDb3PointAngularDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbAlignedDimension.d.ts +77 -0
- package/lib/entity/dimension/AcDbAlignedDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbAlignedDimension.js +203 -0
- package/lib/entity/dimension/AcDbAlignedDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbArcDimension.d.ts +46 -0
- package/lib/entity/dimension/AcDbArcDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbArcDimension.js +111 -0
- package/lib/entity/dimension/AcDbArcDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbDiametricDimension.d.ts +69 -0
- package/lib/entity/dimension/AcDbDiametricDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbDiametricDimension.js +199 -0
- package/lib/entity/dimension/AcDbDiametricDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbDimension.d.ts +161 -0
- package/lib/entity/dimension/AcDbDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbDimension.js +375 -0
- package/lib/entity/dimension/AcDbDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.d.ts +44 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.js +99 -0
- package/lib/entity/dimension/AcDbOrdinateDimension.js.map +1 -0
- package/lib/entity/dimension/AcDbRadialDimension.d.ts +69 -0
- package/lib/entity/dimension/AcDbRadialDimension.d.ts.map +1 -0
- package/lib/entity/dimension/AcDbRadialDimension.js +148 -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 +23 -0
- package/lib/entity/index.d.ts.map +1 -0
- package/lib/entity/index.js +23 -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 +8 -0
- package/lib/misc/AcDbAngleUnits.d.ts.map +1 -0
- package/lib/misc/AcDbAngleUnits.js +9 -0
- package/lib/misc/AcDbAngleUnits.js.map +1 -0
- package/lib/misc/AcDbConstants.d.ts +4 -0
- package/lib/misc/AcDbConstants.d.ts.map +1 -0
- package/lib/misc/AcDbConstants.js +4 -0
- package/lib/misc/AcDbConstants.js.map +1 -0
- package/lib/misc/AcDbDimArrowType.d.ts +86 -0
- package/lib/misc/AcDbDimArrowType.d.ts.map +1 -0
- package/lib/misc/AcDbDimArrowType.js +87 -0
- package/lib/misc/AcDbDimArrowType.js.map +1 -0
- package/lib/misc/AcDbObjectIterator.d.ts +16 -0
- package/lib/misc/AcDbObjectIterator.d.ts.map +1 -0
- package/lib/misc/AcDbObjectIterator.js +28 -0
- package/lib/misc/AcDbObjectIterator.js.map +1 -0
- package/lib/misc/AcDbOsnapMode.d.ts +43 -0
- package/lib/misc/AcDbOsnapMode.d.ts.map +1 -0
- package/lib/misc/AcDbOsnapMode.js +44 -0
- package/lib/misc/AcDbOsnapMode.js.map +1 -0
- package/lib/misc/AcDbRenderingCache.d.ts +61 -0
- package/lib/misc/AcDbRenderingCache.d.ts.map +1 -0
- package/lib/misc/AcDbRenderingCache.js +154 -0
- package/lib/misc/AcDbRenderingCache.js.map +1 -0
- package/lib/misc/AcDbUnitsValue.d.ts +51 -0
- package/lib/misc/AcDbUnitsValue.d.ts.map +1 -0
- package/lib/misc/AcDbUnitsValue.js +71 -0
- package/lib/misc/AcDbUnitsValue.js.map +1 -0
- package/lib/misc/index.d.ts +8 -0
- package/lib/misc/index.d.ts.map +1 -0
- package/lib/misc/index.js +8 -0
- package/lib/misc/index.js.map +1 -0
- package/lib/object/AcDbDictionary.d.ts +80 -0
- package/lib/object/AcDbDictionary.d.ts.map +1 -0
- package/lib/object/AcDbDictionary.js +144 -0
- package/lib/object/AcDbDictionary.js.map +1 -0
- package/lib/object/AcDbRasterImageDef.d.ts +25 -0
- package/lib/object/AcDbRasterImageDef.d.ts.map +1 -0
- package/lib/object/AcDbRasterImageDef.js +54 -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 +51 -0
- package/lib/object/layout/AcDbLayout.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayout.js +120 -0
- package/lib/object/layout/AcDbLayout.js.map +1 -0
- package/lib/object/layout/AcDbLayoutDictionary.d.ts +19 -0
- package/lib/object/layout/AcDbLayoutDictionary.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayoutDictionary.js +94 -0
- package/lib/object/layout/AcDbLayoutDictionary.js.map +1 -0
- package/lib/object/layout/AcDbLayoutManager.d.ts +101 -0
- package/lib/object/layout/AcDbLayoutManager.d.ts.map +1 -0
- package/lib/object/layout/AcDbLayoutManager.js +154 -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 +46 -0
|
@@ -0,0 +1,29 @@
|
|
|
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 { AcDbSymbolTable } from './AcDbSymbolTable';
|
|
17
|
+
/**
|
|
18
|
+
* This class is the symbol table for viewport table records which represents viewport configurations
|
|
19
|
+
* within AutoCAD.
|
|
20
|
+
*/
|
|
21
|
+
var AcDbViewportTable = /** @class */ (function (_super) {
|
|
22
|
+
__extends(AcDbViewportTable, _super);
|
|
23
|
+
function AcDbViewportTable(db) {
|
|
24
|
+
return _super.call(this, db) || this;
|
|
25
|
+
}
|
|
26
|
+
return AcDbViewportTable;
|
|
27
|
+
}(AcDbSymbolTable));
|
|
28
|
+
export { AcDbViewportTable };
|
|
29
|
+
//# sourceMappingURL=AcDbViewportTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcDbViewportTable.js","sourceRoot":"","sources":["../../src/database/AcDbViewportTable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAGnD;;;GAGG;AACH;IAAuC,qCAAwC;IAC7E,2BAAY,EAAgB;QAC1B,OAAA,MAAK,YAAC,EAAE,CAAC,SAAA;IACX,CAAC;IACH,wBAAC;AAAD,CAAC,AAJD,CAAuC,eAAe,GAIrD"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { AcGePoint2d } from '@mlightcad/geometry-engine';
|
|
2
|
+
import { AcGiView } from '@mlightcad/graphic-interface';
|
|
3
|
+
import { AcDbSymbolTableRecord } from './AcDbSymbolTableRecord';
|
|
4
|
+
/**
|
|
5
|
+
* This class represents viewport arrangements in AutoCAD.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AcDbViewportTableRecord extends AcDbSymbolTableRecord {
|
|
8
|
+
private _circleSides;
|
|
9
|
+
private _center;
|
|
10
|
+
private _lowerLeftCorner;
|
|
11
|
+
private _upperRightCorner;
|
|
12
|
+
private _snapBase;
|
|
13
|
+
private _snapAngle;
|
|
14
|
+
private _snapSpacing;
|
|
15
|
+
private _standardFlag;
|
|
16
|
+
private _gridSpacing;
|
|
17
|
+
private _gridMajor;
|
|
18
|
+
private _backgroundObjectId?;
|
|
19
|
+
private _gsView;
|
|
20
|
+
constructor();
|
|
21
|
+
/**
|
|
22
|
+
* The circle zoom percent. It controls the number of sides to the tessellation used when displaying
|
|
23
|
+
* curves. The value can be between 1 and 20000, with higher settings using more sides in the curve
|
|
24
|
+
* tessellation.
|
|
25
|
+
*/
|
|
26
|
+
get circleSides(): number;
|
|
27
|
+
set circleSides(value: number);
|
|
28
|
+
get center(): AcGePoint2d;
|
|
29
|
+
/**
|
|
30
|
+
* The lower left corner of the viewport window. The X and Y values of this point are expressed as
|
|
31
|
+
* a value between (0.0, 0.0) for the lower left corner of the AutoCAD graphics area and (1.0, 1.0)
|
|
32
|
+
* for upper right corner of the AutoCAD graphics area. For example, a lower left corner value of
|
|
33
|
+
* (0.5, 0.0) indicates that the viewport's lower left corner is along the bottom of the AutoCAD
|
|
34
|
+
* graphics area, midway between the left and right edges of the graphics area.
|
|
35
|
+
*/
|
|
36
|
+
get lowerLeftCorner(): AcGePoint2d;
|
|
37
|
+
set lowerLeftCorner(value: AcGePoint2d);
|
|
38
|
+
/**
|
|
39
|
+
* The upper right corner of the viewport window. The X and Y values of this point are expressed as
|
|
40
|
+
* a value between (0.0, 0.0) for the lower left corner of the AutoCAD graphics area and (1.0, 1.0)
|
|
41
|
+
* for upper right corner of the AutoCAD graphics area. For example, an upper right corner value of
|
|
42
|
+
* (0.5, 1.0) indicates that the viewport's upper right corner is along the top of the AutoCAD
|
|
43
|
+
* graphics area, midway between the left and right edges of the graphics area.
|
|
44
|
+
*/
|
|
45
|
+
get upperRightCorner(): AcGePoint2d;
|
|
46
|
+
set upperRightCorner(value: AcGePoint2d);
|
|
47
|
+
/**
|
|
48
|
+
* The snap basepoint (in UCS coordinates) for the viewport table record.
|
|
49
|
+
*/
|
|
50
|
+
get snapBase(): AcGePoint2d;
|
|
51
|
+
set snapBase(value: AcGePoint2d);
|
|
52
|
+
/**
|
|
53
|
+
* The snap angle setting (in radians) for the viewport table record. The snap angle is measured
|
|
54
|
+
* within the UCS XY plane, with zero being the UCS X axis and positive angles going counterclockwise
|
|
55
|
+
* when looking down the UCS Z axis towards the UCS origin.
|
|
56
|
+
*/
|
|
57
|
+
get snapAngle(): number;
|
|
58
|
+
set snapAngle(value: number);
|
|
59
|
+
/**
|
|
60
|
+
* An AcGePoint2d in which the X value represents the X spacing of the snap grid and the Y value
|
|
61
|
+
* represents the Y spacing of the snap grid. Both values are in drawing units.
|
|
62
|
+
*/
|
|
63
|
+
get snapIncrements(): AcGePoint2d;
|
|
64
|
+
set snapIncrements(value: AcGePoint2d);
|
|
65
|
+
/**
|
|
66
|
+
* The number of minor grid lines between each major grid line in the viewport.
|
|
67
|
+
*/
|
|
68
|
+
get gridMajor(): number;
|
|
69
|
+
set gridMajor(value: number);
|
|
70
|
+
/**
|
|
71
|
+
* An AcGePoint2d in which the X value represents the X spacing (in drawing units) of the grid and
|
|
72
|
+
* the Y value represents the Y spacing of the grid.
|
|
73
|
+
*/
|
|
74
|
+
get gridIncrements(): AcGePoint2d;
|
|
75
|
+
set gridIncrements(value: AcGePoint2d);
|
|
76
|
+
get standardFlag(): number;
|
|
77
|
+
set standardFlag(value: number);
|
|
78
|
+
get snapEnabled(): boolean;
|
|
79
|
+
/**
|
|
80
|
+
* The object dD of the new background for the view.
|
|
81
|
+
*/
|
|
82
|
+
get backgroundObjectId(): string | undefined;
|
|
83
|
+
set backgroundObjectId(value: string | undefined);
|
|
84
|
+
/**
|
|
85
|
+
* The AcGiView associated with this viewport table record
|
|
86
|
+
*/
|
|
87
|
+
get gsView(): AcGiView;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=AcDbViewportTableRecord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcDbViewportTableRecord.d.ts","sourceRoot":"","sources":["../../src/database/AcDbViewportTableRecord.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAe,MAAM,4BAA4B,CAAA;AACrE,OAAO,EAIL,QAAQ,EACT,MAAM,8BAA8B,CAAA;AAErC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AA8B/D;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,qBAAqB;IAChE,OAAO,CAAC,YAAY,CAAQ;IAC5B,OAAO,CAAC,OAAO,CAAa;IAC5B,OAAO,CAAC,gBAAgB,CAAa;IACrC,OAAO,CAAC,iBAAiB,CAAa;IACtC,OAAO,CAAC,SAAS,CAAa;IAC9B,OAAO,CAAC,UAAU,CAAQ;IAC1B,OAAO,CAAC,YAAY,CAAa;IACjC,OAAO,CAAC,aAAa,CAAQ;IAC7B,OAAO,CAAC,YAAY,CAAa;IACjC,OAAO,CAAC,UAAU,CAAQ;IAC1B,OAAO,CAAC,mBAAmB,CAAC,CAAQ;IACpC,OAAO,CAAC,OAAO,CAAU;;IAkBzB;;;;OAIG;IACH,IAAI,WAAW,IAGQ,MAAM,CAD5B;IACD,IAAI,WAAW,CAAC,KAAK,EAAE,MAAM,EAE5B;IAED,IAAI,MAAM,gBAET;IAED;;;;;;OAMG;IACH,IAAI,eAAe,IAGQ,WAAW,CADrC;IACD,IAAI,eAAe,CAAC,KAAK,EAAE,WAAW,EAErC;IAED;;;;;;OAMG;IACH,IAAI,gBAAgB,IAGQ,WAAW,CADtC;IACD,IAAI,gBAAgB,CAAC,KAAK,EAAE,WAAW,EAEtC;IAED;;OAEG;IACH,IAAI,QAAQ,IAGQ,WAAW,CAD9B;IACD,IAAI,QAAQ,CAAC,KAAK,EAAE,WAAW,EAE9B;IAED;;;;OAIG;IACH,IAAI,SAAS,IAGQ,MAAM,CAD1B;IACD,IAAI,SAAS,CAAC,KAAK,EAAE,MAAM,EAE1B;IAED;;;OAGG;IACH,IAAI,cAAc,IAGQ,WAAW,CADpC;IACD,IAAI,cAAc,CAAC,KAAK,EAAE,WAAW,EAEpC;IAED;;OAEG;IACH,IAAI,SAAS,IAGQ,MAAM,CAD1B;IACD,IAAI,SAAS,CAAC,KAAK,EAAE,MAAM,EAE1B;IAED;;;OAGG;IACH,IAAI,cAAc,IAGQ,WAAW,CADpC;IACD,IAAI,cAAc,CAAC,KAAK,EAAE,WAAW,EAEpC;IA6BD,IAAI,YAAY,IAGQ,MAAM,CAD7B;IACD,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAE7B;IAED,IAAI,WAAW,YAEd;IAED;;OAEG;IACH,IAAI,kBAAkB,IAGQ,MAAM,GAAG,SAAS,CAD/C;IACD,IAAI,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,EAE/C;IAED;;OAEG;IACH,IAAI,MAAM,aAET;CACF"}
|
|
@@ -0,0 +1,262 @@
|
|
|
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 { AcGePoint2d, AcGePoint3d } from '@mlightcad/geometry-engine';
|
|
17
|
+
import { AcGiDefaultLightingType, AcGiOrthographicType, AcGiRenderMode } from '@mlightcad/graphic-interface';
|
|
18
|
+
import { AcDbSymbolTableRecord } from './AcDbSymbolTableRecord';
|
|
19
|
+
var DEFAULT_VIEW = {
|
|
20
|
+
center: new AcGePoint2d(),
|
|
21
|
+
viewDirectionFromTarget: new AcGePoint3d(0, 0, 1),
|
|
22
|
+
viewTarget: new AcGePoint3d(0, 0, 0),
|
|
23
|
+
lensLength: 500,
|
|
24
|
+
frontClippingPlane: 0,
|
|
25
|
+
backClippingPlane: 0,
|
|
26
|
+
viewHeight: 1000,
|
|
27
|
+
viewTwistAngle: 0,
|
|
28
|
+
frozenLayers: [],
|
|
29
|
+
styleSheet: '',
|
|
30
|
+
renderMode: AcGiRenderMode.OPTIMIZED_2D,
|
|
31
|
+
viewMode: 0,
|
|
32
|
+
ucsIconSetting: 0,
|
|
33
|
+
ucsOrigin: new AcGePoint3d(0, 0, 0),
|
|
34
|
+
ucsXAxis: new AcGePoint3d(1, 0, 0),
|
|
35
|
+
ucsYAxis: new AcGePoint3d(0, 1, 0),
|
|
36
|
+
orthographicType: AcGiOrthographicType.TOP,
|
|
37
|
+
shadePlotSetting: 0,
|
|
38
|
+
shadePlotObjectId: undefined,
|
|
39
|
+
visualStyleObjectId: undefined,
|
|
40
|
+
isDefaultLightingOn: false,
|
|
41
|
+
defaultLightingType: AcGiDefaultLightingType.ONE_DISTANT_LIGHT,
|
|
42
|
+
brightness: 0,
|
|
43
|
+
contrast: 0,
|
|
44
|
+
ambientColor: undefined
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* This class represents viewport arrangements in AutoCAD.
|
|
48
|
+
*/
|
|
49
|
+
var AcDbViewportTableRecord = /** @class */ (function (_super) {
|
|
50
|
+
__extends(AcDbViewportTableRecord, _super);
|
|
51
|
+
function AcDbViewportTableRecord() {
|
|
52
|
+
var _this = _super.call(this) || this;
|
|
53
|
+
_this._circleSides = 100;
|
|
54
|
+
_this._center = new AcGePoint2d();
|
|
55
|
+
_this._lowerLeftCorner = new AcGePoint2d(0, 0);
|
|
56
|
+
_this._upperRightCorner = new AcGePoint2d(1, 1);
|
|
57
|
+
_this._snapBase = new AcGePoint2d(0, 0);
|
|
58
|
+
_this._snapAngle = 0;
|
|
59
|
+
_this._snapSpacing = new AcGePoint2d(0, 0);
|
|
60
|
+
_this._standardFlag = 0;
|
|
61
|
+
_this._gridSpacing = new AcGePoint2d();
|
|
62
|
+
// TODO: Not sure what's the correct default value
|
|
63
|
+
_this._gridMajor = 10;
|
|
64
|
+
_this._gsView = DEFAULT_VIEW;
|
|
65
|
+
return _this;
|
|
66
|
+
}
|
|
67
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "circleSides", {
|
|
68
|
+
/**
|
|
69
|
+
* The circle zoom percent. It controls the number of sides to the tessellation used when displaying
|
|
70
|
+
* curves. The value can be between 1 and 20000, with higher settings using more sides in the curve
|
|
71
|
+
* tessellation.
|
|
72
|
+
*/
|
|
73
|
+
get: function () {
|
|
74
|
+
return this._circleSides;
|
|
75
|
+
},
|
|
76
|
+
set: function (value) {
|
|
77
|
+
this._circleSides = value;
|
|
78
|
+
},
|
|
79
|
+
enumerable: false,
|
|
80
|
+
configurable: true
|
|
81
|
+
});
|
|
82
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "center", {
|
|
83
|
+
get: function () {
|
|
84
|
+
return this._center;
|
|
85
|
+
},
|
|
86
|
+
enumerable: false,
|
|
87
|
+
configurable: true
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "lowerLeftCorner", {
|
|
90
|
+
/**
|
|
91
|
+
* The lower left corner of the viewport window. The X and Y values of this point are expressed as
|
|
92
|
+
* a value between (0.0, 0.0) for the lower left corner of the AutoCAD graphics area and (1.0, 1.0)
|
|
93
|
+
* for upper right corner of the AutoCAD graphics area. For example, a lower left corner value of
|
|
94
|
+
* (0.5, 0.0) indicates that the viewport's lower left corner is along the bottom of the AutoCAD
|
|
95
|
+
* graphics area, midway between the left and right edges of the graphics area.
|
|
96
|
+
*/
|
|
97
|
+
get: function () {
|
|
98
|
+
return this._lowerLeftCorner;
|
|
99
|
+
},
|
|
100
|
+
set: function (value) {
|
|
101
|
+
this._lowerLeftCorner.copy(value);
|
|
102
|
+
},
|
|
103
|
+
enumerable: false,
|
|
104
|
+
configurable: true
|
|
105
|
+
});
|
|
106
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "upperRightCorner", {
|
|
107
|
+
/**
|
|
108
|
+
* The upper right corner of the viewport window. The X and Y values of this point are expressed as
|
|
109
|
+
* a value between (0.0, 0.0) for the lower left corner of the AutoCAD graphics area and (1.0, 1.0)
|
|
110
|
+
* for upper right corner of the AutoCAD graphics area. For example, an upper right corner value of
|
|
111
|
+
* (0.5, 1.0) indicates that the viewport's upper right corner is along the top of the AutoCAD
|
|
112
|
+
* graphics area, midway between the left and right edges of the graphics area.
|
|
113
|
+
*/
|
|
114
|
+
get: function () {
|
|
115
|
+
return this._upperRightCorner;
|
|
116
|
+
},
|
|
117
|
+
set: function (value) {
|
|
118
|
+
this._upperRightCorner.copy(value);
|
|
119
|
+
},
|
|
120
|
+
enumerable: false,
|
|
121
|
+
configurable: true
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "snapBase", {
|
|
124
|
+
/**
|
|
125
|
+
* The snap basepoint (in UCS coordinates) for the viewport table record.
|
|
126
|
+
*/
|
|
127
|
+
get: function () {
|
|
128
|
+
return this._snapBase;
|
|
129
|
+
},
|
|
130
|
+
set: function (value) {
|
|
131
|
+
this._snapBase.copy(value);
|
|
132
|
+
},
|
|
133
|
+
enumerable: false,
|
|
134
|
+
configurable: true
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "snapAngle", {
|
|
137
|
+
/**
|
|
138
|
+
* The snap angle setting (in radians) for the viewport table record. The snap angle is measured
|
|
139
|
+
* within the UCS XY plane, with zero being the UCS X axis and positive angles going counterclockwise
|
|
140
|
+
* when looking down the UCS Z axis towards the UCS origin.
|
|
141
|
+
*/
|
|
142
|
+
get: function () {
|
|
143
|
+
return this._snapAngle;
|
|
144
|
+
},
|
|
145
|
+
set: function (value) {
|
|
146
|
+
this._snapAngle = value;
|
|
147
|
+
},
|
|
148
|
+
enumerable: false,
|
|
149
|
+
configurable: true
|
|
150
|
+
});
|
|
151
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "snapIncrements", {
|
|
152
|
+
/**
|
|
153
|
+
* An AcGePoint2d in which the X value represents the X spacing of the snap grid and the Y value
|
|
154
|
+
* represents the Y spacing of the snap grid. Both values are in drawing units.
|
|
155
|
+
*/
|
|
156
|
+
get: function () {
|
|
157
|
+
return this._snapSpacing;
|
|
158
|
+
},
|
|
159
|
+
set: function (value) {
|
|
160
|
+
this._snapSpacing.copy(value);
|
|
161
|
+
},
|
|
162
|
+
enumerable: false,
|
|
163
|
+
configurable: true
|
|
164
|
+
});
|
|
165
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "gridMajor", {
|
|
166
|
+
/**
|
|
167
|
+
* The number of minor grid lines between each major grid line in the viewport.
|
|
168
|
+
*/
|
|
169
|
+
get: function () {
|
|
170
|
+
return this._gridMajor;
|
|
171
|
+
},
|
|
172
|
+
set: function (value) {
|
|
173
|
+
this._gridMajor = value;
|
|
174
|
+
},
|
|
175
|
+
enumerable: false,
|
|
176
|
+
configurable: true
|
|
177
|
+
});
|
|
178
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "gridIncrements", {
|
|
179
|
+
/**
|
|
180
|
+
* An AcGePoint2d in which the X value represents the X spacing (in drawing units) of the grid and
|
|
181
|
+
* the Y value represents the Y spacing of the grid.
|
|
182
|
+
*/
|
|
183
|
+
get: function () {
|
|
184
|
+
return this._gridSpacing;
|
|
185
|
+
},
|
|
186
|
+
set: function (value) {
|
|
187
|
+
this._gridSpacing.copy(value);
|
|
188
|
+
},
|
|
189
|
+
enumerable: false,
|
|
190
|
+
configurable: true
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "standardFlag", {
|
|
193
|
+
/*
|
|
194
|
+
* Viewport status bit-coded flags:
|
|
195
|
+
* - 1 (0x1) = Enables perspective mode
|
|
196
|
+
* - 2 (0x2) = Enables front clipping
|
|
197
|
+
* - 4 (0x4) = Enables back clipping
|
|
198
|
+
* - 8 (0x8) = Enables UCS follow
|
|
199
|
+
* - 16 (0x10) = Enables front clip not at eye
|
|
200
|
+
* - 32 (0x20) = Enables UCS icon visibility
|
|
201
|
+
* - 64 (0x40) = Enables UCS icon at origin
|
|
202
|
+
* - 128 (0x80) = Enables fast zoom
|
|
203
|
+
* - 256 (0x100) = Enables snap mode
|
|
204
|
+
* - 512 (0x200) = Enables grid mode
|
|
205
|
+
* - 1024 (0x400) = Enables isometric snap style
|
|
206
|
+
* - 2048 (0x800) = Enables hide plot mode
|
|
207
|
+
* - 4096 (0x1000) = kIsoPairTop. If set and kIsoPairRight is not set, then isopair top is enabled. If both kIsoPairTop and kIsoPairRight are set, then isopair left is enabled
|
|
208
|
+
* - 8192 (0x2000) = kIsoPairRight. If set and kIsoPairTop is not set, then isopair right is enabled
|
|
209
|
+
* - 16384 (0x4000) = Enables viewport zoom locking
|
|
210
|
+
* - 32768 (0x8000) = Currently always enabled
|
|
211
|
+
* - 65536 (0x10000) = Enables non-rectangular clipping
|
|
212
|
+
* - 131072 (0x20000) = Turns the viewport off
|
|
213
|
+
* - 262144 (0x40000) = Enables the display of the grid beyond the drawing limits
|
|
214
|
+
* - 524288 (0x80000) = Enable adaptive grid display
|
|
215
|
+
* - 1048576 (0x100000) = Enables subdivision of the grid below the set grid spacing when the grid display is adaptive
|
|
216
|
+
* - 2097152 (0x200000) = Enables grid follows workplane switching
|
|
217
|
+
*
|
|
218
|
+
* @internal
|
|
219
|
+
*/
|
|
220
|
+
get: function () {
|
|
221
|
+
return this._standardFlag;
|
|
222
|
+
},
|
|
223
|
+
set: function (value) {
|
|
224
|
+
this._standardFlag = value;
|
|
225
|
+
},
|
|
226
|
+
enumerable: false,
|
|
227
|
+
configurable: true
|
|
228
|
+
});
|
|
229
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "snapEnabled", {
|
|
230
|
+
get: function () {
|
|
231
|
+
return !!(this._standardFlag & 0x100);
|
|
232
|
+
},
|
|
233
|
+
enumerable: false,
|
|
234
|
+
configurable: true
|
|
235
|
+
});
|
|
236
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "backgroundObjectId", {
|
|
237
|
+
/**
|
|
238
|
+
* The object dD of the new background for the view.
|
|
239
|
+
*/
|
|
240
|
+
get: function () {
|
|
241
|
+
return this._backgroundObjectId;
|
|
242
|
+
},
|
|
243
|
+
set: function (value) {
|
|
244
|
+
this._backgroundObjectId = value;
|
|
245
|
+
},
|
|
246
|
+
enumerable: false,
|
|
247
|
+
configurable: true
|
|
248
|
+
});
|
|
249
|
+
Object.defineProperty(AcDbViewportTableRecord.prototype, "gsView", {
|
|
250
|
+
/**
|
|
251
|
+
* The AcGiView associated with this viewport table record
|
|
252
|
+
*/
|
|
253
|
+
get: function () {
|
|
254
|
+
return this._gsView;
|
|
255
|
+
},
|
|
256
|
+
enumerable: false,
|
|
257
|
+
configurable: true
|
|
258
|
+
});
|
|
259
|
+
return AcDbViewportTableRecord;
|
|
260
|
+
}(AcDbSymbolTableRecord));
|
|
261
|
+
export { AcDbViewportTableRecord };
|
|
262
|
+
//# sourceMappingURL=AcDbViewportTableRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcDbViewportTableRecord.js","sourceRoot":"","sources":["../../src/database/AcDbViewportTableRecord.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './AcDbDatabase';
|
|
2
|
+
export * from './AcDbBlockTable';
|
|
3
|
+
export * from './AcDbBlockTableRecord';
|
|
4
|
+
export * from './AcDbDatabaseConverter';
|
|
5
|
+
export * from './AcDbDatabaseConverterManager';
|
|
6
|
+
export * from './AcDbDimStyleTable';
|
|
7
|
+
export * from './AcDbDimStyleTableRecord';
|
|
8
|
+
export * from './AcDbLayerTable';
|
|
9
|
+
export * from './AcDbLayerTableRecord';
|
|
10
|
+
export * from './AcDbLinetypeTable';
|
|
11
|
+
export * from './AcDbLinetypeTableRecord';
|
|
12
|
+
export * from './AcDbSymbolTable';
|
|
13
|
+
export * from './AcDbSymbolTableRecord';
|
|
14
|
+
export * from './AcDbTextStyleTable';
|
|
15
|
+
export * from './AcDbTextStyleTableRecord';
|
|
16
|
+
export * from './AcDbViewportTable';
|
|
17
|
+
export * from './AcDbViewportTableRecord';
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/database/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export * from './AcDbDatabase';
|
|
2
|
+
export * from './AcDbBlockTable';
|
|
3
|
+
export * from './AcDbBlockTableRecord';
|
|
4
|
+
export * from './AcDbDatabaseConverter';
|
|
5
|
+
export * from './AcDbDatabaseConverterManager';
|
|
6
|
+
export * from './AcDbDimStyleTable';
|
|
7
|
+
export * from './AcDbDimStyleTableRecord';
|
|
8
|
+
export * from './AcDbLayerTable';
|
|
9
|
+
export * from './AcDbLayerTableRecord';
|
|
10
|
+
export * from './AcDbLinetypeTable';
|
|
11
|
+
export * from './AcDbLinetypeTableRecord';
|
|
12
|
+
export * from './AcDbSymbolTable';
|
|
13
|
+
export * from './AcDbSymbolTableRecord';
|
|
14
|
+
export * from './AcDbTextStyleTable';
|
|
15
|
+
export * from './AcDbTextStyleTableRecord';
|
|
16
|
+
export * from './AcDbViewportTable';
|
|
17
|
+
export * from './AcDbViewportTableRecord';
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/database/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { AcGeMatrix3d, AcGePoint3d, AcGePoint3dLike } from '@mlightcad/geometry-engine';
|
|
2
|
+
import { AcGiRenderer } from '@mlightcad/graphic-interface';
|
|
3
|
+
import { AcDbCurve } from './AcDbCurve';
|
|
4
|
+
/**
|
|
5
|
+
* The class represents the arc entity in AutoCAD.
|
|
6
|
+
*/
|
|
7
|
+
export declare class AcDbArc extends AcDbCurve {
|
|
8
|
+
private _geo;
|
|
9
|
+
/**
|
|
10
|
+
* This constructor creates an arc using the values passed in. 'center' must be in WCS coordinates.
|
|
11
|
+
*
|
|
12
|
+
* @param center Input center point of the arc
|
|
13
|
+
* @param radius Input radius of the arc
|
|
14
|
+
* @param startAngle Input starting angle in radians of the arc
|
|
15
|
+
* @param endAngle Input ending angle in radians of the arc
|
|
16
|
+
*/
|
|
17
|
+
constructor(center: AcGePoint3dLike, radius: number, startAngle: number, endAngle: number);
|
|
18
|
+
/**
|
|
19
|
+
* Center point of circular arc
|
|
20
|
+
*/
|
|
21
|
+
get center(): AcGePoint3d;
|
|
22
|
+
set center(value: AcGePoint3dLike);
|
|
23
|
+
/**
|
|
24
|
+
* Radius of circular arc
|
|
25
|
+
*/
|
|
26
|
+
get radius(): number;
|
|
27
|
+
set radius(value: number);
|
|
28
|
+
/**
|
|
29
|
+
* Start angle in radians of circular arc
|
|
30
|
+
*/
|
|
31
|
+
get startAngle(): number;
|
|
32
|
+
set startAngle(value: number);
|
|
33
|
+
/**
|
|
34
|
+
* End angle in radians of circular arc
|
|
35
|
+
*/
|
|
36
|
+
get endAngle(): number;
|
|
37
|
+
set endAngle(value: number);
|
|
38
|
+
/**
|
|
39
|
+
* Start point of circular arc
|
|
40
|
+
*/
|
|
41
|
+
get startPoint(): AcGePoint3d;
|
|
42
|
+
/**
|
|
43
|
+
* Get end point of circular arc
|
|
44
|
+
*/
|
|
45
|
+
get endPoint(): AcGePoint3d;
|
|
46
|
+
/**
|
|
47
|
+
* @inheritdoc
|
|
48
|
+
*/
|
|
49
|
+
get geometricExtents(): import("@mlightcad/geometry-engine").AcGeBox3d;
|
|
50
|
+
/**
|
|
51
|
+
* @inheritdoc
|
|
52
|
+
*/
|
|
53
|
+
get closed(): boolean;
|
|
54
|
+
/**
|
|
55
|
+
* @inheritdoc
|
|
56
|
+
*/
|
|
57
|
+
subGetGripPoints(): AcGePoint3d[];
|
|
58
|
+
/**
|
|
59
|
+
* @inheritdoc
|
|
60
|
+
*/
|
|
61
|
+
transformBy(matrix: AcGeMatrix3d): this;
|
|
62
|
+
/**
|
|
63
|
+
* @inheritdoc
|
|
64
|
+
*/
|
|
65
|
+
draw(renderer: AcGiRenderer): import("@mlightcad/graphic-interface").AcGiEntity;
|
|
66
|
+
}
|
|
67
|
+
//# sourceMappingURL=AcDbArc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcDbArc.d.ts","sourceRoot":"","sources":["../../src/entity/AcDbArc.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,YAAY,EACZ,WAAW,EACX,eAAe,EAEhB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAE3D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC;;GAEG;AACH,qBAAa,OAAQ,SAAQ,SAAS;IACpC,OAAO,CAAC,IAAI,CAAe;IAE3B;;;;;;;OAOG;gBAED,MAAM,EAAE,eAAe,EACvB,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,MAAM;IAalB;;OAEG;IACH,IAAI,MAAM,IAAI,WAAW,CAExB;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,eAAe,EAEhC;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,MAAM,CAEnB;IACD,IAAI,MAAM,CAAC,KAAK,EAAE,MAAM,EAEvB;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,MAAM,CAEvB;IACD,IAAI,UAAU,CAAC,KAAK,EAAE,MAAM,EAE3B;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,MAAM,CAErB;IACD,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,EAEzB;IAED;;OAEG;IACH,IAAI,UAAU,IAAI,WAAW,CAE5B;IAED;;OAEG;IACH,IAAI,QAAQ,IAAI,WAAW,CAE1B;IAED;;OAEG;IACH,IAAI,gBAAgB,mDAEnB;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,OAAO,CAEpB;IAED;;OAEG;IACH,gBAAgB;IAQhB;;OAEG;IACH,WAAW,CAAC,MAAM,EAAE,YAAY;IAKhC;;OAEG;IACH,IAAI,CAAC,QAAQ,EAAE,YAAY;CAG5B"}
|
|
@@ -0,0 +1,154 @@
|
|
|
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 { AcGeCircArc3d, AcGeVector3d } from '@mlightcad/geometry-engine';
|
|
17
|
+
import { AcDbCurve } from './AcDbCurve';
|
|
18
|
+
/**
|
|
19
|
+
* The class represents the arc entity in AutoCAD.
|
|
20
|
+
*/
|
|
21
|
+
var AcDbArc = /** @class */ (function (_super) {
|
|
22
|
+
__extends(AcDbArc, _super);
|
|
23
|
+
/**
|
|
24
|
+
* This constructor creates an arc using the values passed in. 'center' must be in WCS coordinates.
|
|
25
|
+
*
|
|
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
|
|
30
|
+
*/
|
|
31
|
+
function AcDbArc(center, radius, startAngle, endAngle) {
|
|
32
|
+
var _this = _super.call(this) || this;
|
|
33
|
+
_this._geo = new AcGeCircArc3d(center, radius, startAngle, endAngle, AcGeVector3d.Z_AXIS, AcGeVector3d.X_AXIS);
|
|
34
|
+
return _this;
|
|
35
|
+
}
|
|
36
|
+
Object.defineProperty(AcDbArc.prototype, "center", {
|
|
37
|
+
/**
|
|
38
|
+
* Center point of circular arc
|
|
39
|
+
*/
|
|
40
|
+
get: function () {
|
|
41
|
+
return this._geo.center;
|
|
42
|
+
},
|
|
43
|
+
set: function (value) {
|
|
44
|
+
this._geo.center = value;
|
|
45
|
+
},
|
|
46
|
+
enumerable: false,
|
|
47
|
+
configurable: true
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(AcDbArc.prototype, "radius", {
|
|
50
|
+
/**
|
|
51
|
+
* Radius of circular arc
|
|
52
|
+
*/
|
|
53
|
+
get: function () {
|
|
54
|
+
return this._geo.radius;
|
|
55
|
+
},
|
|
56
|
+
set: function (value) {
|
|
57
|
+
this._geo.radius = value;
|
|
58
|
+
},
|
|
59
|
+
enumerable: false,
|
|
60
|
+
configurable: true
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(AcDbArc.prototype, "startAngle", {
|
|
63
|
+
/**
|
|
64
|
+
* Start angle in radians of circular arc
|
|
65
|
+
*/
|
|
66
|
+
get: function () {
|
|
67
|
+
return this._geo.startAngle;
|
|
68
|
+
},
|
|
69
|
+
set: function (value) {
|
|
70
|
+
this._geo.startAngle = value;
|
|
71
|
+
},
|
|
72
|
+
enumerable: false,
|
|
73
|
+
configurable: true
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(AcDbArc.prototype, "endAngle", {
|
|
76
|
+
/**
|
|
77
|
+
* End angle in radians of circular arc
|
|
78
|
+
*/
|
|
79
|
+
get: function () {
|
|
80
|
+
return this._geo.endAngle;
|
|
81
|
+
},
|
|
82
|
+
set: function (value) {
|
|
83
|
+
this._geo.endAngle = value;
|
|
84
|
+
},
|
|
85
|
+
enumerable: false,
|
|
86
|
+
configurable: true
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(AcDbArc.prototype, "startPoint", {
|
|
89
|
+
/**
|
|
90
|
+
* Start point of circular arc
|
|
91
|
+
*/
|
|
92
|
+
get: function () {
|
|
93
|
+
return this._geo.startPoint;
|
|
94
|
+
},
|
|
95
|
+
enumerable: false,
|
|
96
|
+
configurable: true
|
|
97
|
+
});
|
|
98
|
+
Object.defineProperty(AcDbArc.prototype, "endPoint", {
|
|
99
|
+
/**
|
|
100
|
+
* Get end point of circular arc
|
|
101
|
+
*/
|
|
102
|
+
get: function () {
|
|
103
|
+
return this._geo.endPoint;
|
|
104
|
+
},
|
|
105
|
+
enumerable: false,
|
|
106
|
+
configurable: true
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(AcDbArc.prototype, "geometricExtents", {
|
|
109
|
+
/**
|
|
110
|
+
* @inheritdoc
|
|
111
|
+
*/
|
|
112
|
+
get: function () {
|
|
113
|
+
return this._geo.box;
|
|
114
|
+
},
|
|
115
|
+
enumerable: false,
|
|
116
|
+
configurable: true
|
|
117
|
+
});
|
|
118
|
+
Object.defineProperty(AcDbArc.prototype, "closed", {
|
|
119
|
+
/**
|
|
120
|
+
* @inheritdoc
|
|
121
|
+
*/
|
|
122
|
+
get: function () {
|
|
123
|
+
return this._geo.closed;
|
|
124
|
+
},
|
|
125
|
+
enumerable: false,
|
|
126
|
+
configurable: true
|
|
127
|
+
});
|
|
128
|
+
/**
|
|
129
|
+
* @inheritdoc
|
|
130
|
+
*/
|
|
131
|
+
AcDbArc.prototype.subGetGripPoints = function () {
|
|
132
|
+
var gripPoints = new Array();
|
|
133
|
+
gripPoints.push(this.center);
|
|
134
|
+
gripPoints.push(this.startPoint);
|
|
135
|
+
gripPoints.push(this.endPoint);
|
|
136
|
+
return gripPoints;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* @inheritdoc
|
|
140
|
+
*/
|
|
141
|
+
AcDbArc.prototype.transformBy = function (matrix) {
|
|
142
|
+
this._geo.transform(matrix);
|
|
143
|
+
return this;
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @inheritdoc
|
|
147
|
+
*/
|
|
148
|
+
AcDbArc.prototype.draw = function (renderer) {
|
|
149
|
+
return renderer.circularArc(this._geo, this.lineStyle);
|
|
150
|
+
};
|
|
151
|
+
return AcDbArc;
|
|
152
|
+
}(AcDbCurve));
|
|
153
|
+
export { AcDbArc };
|
|
154
|
+
//# sourceMappingURL=AcDbArc.js.map
|