dxf-json 0.0.10 → 0.0.14
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/package.json +3 -4
- package/src/index.ts +1 -1
- package/dist/consts/block.d.ts +0 -10
- package/dist/consts/block.js +0 -22
- package/dist/consts/block.js.map +0 -1
- package/dist/consts/color.d.ts +0 -5
- package/dist/consts/color.js +0 -10
- package/dist/consts/color.js.map +0 -1
- package/dist/consts/config.d.ts +0 -2
- package/dist/consts/config.js +0 -6
- package/dist/consts/config.js.map +0 -1
- package/dist/consts/dimension.d.ts +0 -61
- package/dist/consts/dimension.js +0 -74
- package/dist/consts/dimension.js.map +0 -1
- package/dist/consts/hatch.d.ts +0 -44
- package/dist/consts/hatch.js +0 -57
- package/dist/consts/hatch.js.map +0 -1
- package/dist/consts/header.d.ts +0 -9
- package/dist/consts/header.js +0 -13
- package/dist/consts/header.js.map +0 -1
- package/dist/consts/index.d.ts +0 -9
- package/dist/consts/index.js +0 -26
- package/dist/consts/index.js.map +0 -1
- package/dist/consts/lineweight.d.ts +0 -5
- package/dist/consts/lineweight.js +0 -10
- package/dist/consts/lineweight.js.map +0 -1
- package/dist/consts/measurement.d.ts +0 -4
- package/dist/consts/measurement.js +0 -9
- package/dist/consts/measurement.js.map +0 -1
- package/dist/consts/obscuredLineTypes.d.ts +0 -21
- package/dist/consts/obscuredLineTypes.js +0 -26
- package/dist/consts/obscuredLineTypes.js.map +0 -1
- package/dist/consts/scene.d.ts +0 -2
- package/dist/consts/scene.js +0 -6
- package/dist/consts/scene.js.map +0 -1
- package/dist/consts/viewport.d.ts +0 -56
- package/dist/consts/viewport.js +0 -67
- package/dist/consts/viewport.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -9
- package/dist/index.js.map +0 -1
- package/dist/parser/AutoCadColorIndex.d.ts +0 -8
- package/dist/parser/AutoCadColorIndex.js +0 -267
- package/dist/parser/AutoCadColorIndex.js.map +0 -1
- package/dist/parser/DxfArrayScanner.d.ts +0 -38
- package/dist/parser/DxfArrayScanner.js +0 -159
- package/dist/parser/DxfArrayScanner.js.map +0 -1
- package/dist/parser/DxfParser.d.ts +0 -11
- package/dist/parser/DxfParser.js +0 -108
- package/dist/parser/DxfParser.js.map +0 -1
- package/dist/parser/ParseHelpers.d.ts +0 -21
- package/dist/parser/ParseHelpers.js +0 -129
- package/dist/parser/ParseHelpers.js.map +0 -1
- package/dist/parser/blocks/blocks.test.d.ts +0 -1
- package/dist/parser/blocks/blocks.test.js +0 -86
- package/dist/parser/blocks/blocks.test.js.map +0 -1
- package/dist/parser/blocks/index.d.ts +0 -4
- package/dist/parser/blocks/index.js +0 -83
- package/dist/parser/blocks/index.js.map +0 -1
- package/dist/parser/blocks/types.d.ts +0 -14
- package/dist/parser/blocks/types.js +0 -3
- package/dist/parser/blocks/types.js.map +0 -1
- package/dist/parser/entities/3dface.js +0 -106
- package/dist/parser/entities/3dface.js.map +0 -1
- package/dist/parser/entities/arc/index.d.ts +0 -2
- package/dist/parser/entities/arc/index.js +0 -19
- package/dist/parser/entities/arc/index.js.map +0 -1
- package/dist/parser/entities/arc/parser.d.ts +0 -7
- package/dist/parser/entities/arc/parser.js +0 -63
- package/dist/parser/entities/arc/parser.js.map +0 -1
- package/dist/parser/entities/arc/types.d.ts +0 -12
- package/dist/parser/entities/arc/types.js +0 -3
- package/dist/parser/entities/arc/types.js.map +0 -1
- package/dist/parser/entities/attdef/consts.d.ts +0 -11
- package/dist/parser/entities/attdef/consts.js +0 -17
- package/dist/parser/entities/attdef/consts.js.map +0 -1
- package/dist/parser/entities/attdef/index.d.ts +0 -3
- package/dist/parser/entities/attdef/index.js +0 -20
- package/dist/parser/entities/attdef/index.js.map +0 -1
- package/dist/parser/entities/attdef/parser.d.ts +0 -8
- package/dist/parser/entities/attdef/parser.js +0 -108
- package/dist/parser/entities/attdef/parser.js.map +0 -1
- package/dist/parser/entities/attdef/types.d.ts +0 -17
- package/dist/parser/entities/attdef/types.js +0 -3
- package/dist/parser/entities/attdef/types.js.map +0 -1
- package/dist/parser/entities/attribute/consts.d.ts +0 -6
- package/dist/parser/entities/attribute/consts.js +0 -11
- package/dist/parser/entities/attribute/consts.js.map +0 -1
- package/dist/parser/entities/attribute/index.d.ts +0 -3
- package/dist/parser/entities/attribute/index.js +0 -20
- package/dist/parser/entities/attribute/index.js.map +0 -1
- package/dist/parser/entities/attribute/parser.d.ts +0 -8
- package/dist/parser/entities/attribute/parser.js +0 -185
- package/dist/parser/entities/attribute/parser.js.map +0 -1
- package/dist/parser/entities/attribute/types.d.ts +0 -30
- package/dist/parser/entities/attribute/types.js +0 -3
- package/dist/parser/entities/attribute/types.js.map +0 -1
- package/dist/parser/entities/circle/index.d.ts +0 -2
- package/dist/parser/entities/circle/index.js +0 -19
- package/dist/parser/entities/circle/index.js.map +0 -1
- package/dist/parser/entities/circle/parser.d.ts +0 -8
- package/dist/parser/entities/circle/parser.js +0 -50
- package/dist/parser/entities/circle/parser.js.map +0 -1
- package/dist/parser/entities/circle/types.d.ts +0 -10
- package/dist/parser/entities/circle/types.js +0 -3
- package/dist/parser/entities/circle/types.js.map +0 -1
- package/dist/parser/entities/dimension/common.d.ts +0 -6
- package/dist/parser/entities/dimension/common.js +0 -122
- package/dist/parser/entities/dimension/common.js.map +0 -1
- package/dist/parser/entities/dimension/index.d.ts +0 -6
- package/dist/parser/entities/dimension/index.js +0 -21
- package/dist/parser/entities/dimension/index.js.map +0 -1
- package/dist/parser/entities/dimension/types.d.ts +0 -48
- package/dist/parser/entities/dimension/types.js +0 -3
- package/dist/parser/entities/dimension/types.js.map +0 -1
- package/dist/parser/entities/ellipse/index.d.ts +0 -2
- package/dist/parser/entities/ellipse/index.js +0 -19
- package/dist/parser/entities/ellipse/index.js.map +0 -1
- package/dist/parser/entities/ellipse/parser.d.ts +0 -7
- package/dist/parser/entities/ellipse/parser.js +0 -59
- package/dist/parser/entities/ellipse/parser.js.map +0 -1
- package/dist/parser/entities/ellipse/types.d.ts +0 -12
- package/dist/parser/entities/ellipse/types.js +0 -3
- package/dist/parser/entities/ellipse/types.js.map +0 -1
- package/dist/parser/entities/entities.test.d.ts +0 -1
- package/dist/parser/entities/entities.test.js +0 -81
- package/dist/parser/entities/entities.test.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/edge.d.ts +0 -6
- package/dist/parser/entities/hatch/boundaryPathData/edge.js +0 -178
- package/dist/parser/entities/hatch/boundaryPathData/edge.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/index.d.ts +0 -5
- package/dist/parser/entities/hatch/boundaryPathData/index.js +0 -23
- package/dist/parser/entities/hatch/boundaryPathData/index.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/polyline.d.ts +0 -2
- package/dist/parser/entities/hatch/boundaryPathData/polyline.js +0 -41
- package/dist/parser/entities/hatch/boundaryPathData/polyline.js.map +0 -1
- package/dist/parser/entities/hatch/boundaryPathData/shared.d.ts +0 -2
- package/dist/parser/entities/hatch/boundaryPathData/shared.js +0 -19
- package/dist/parser/entities/hatch/boundaryPathData/shared.js.map +0 -1
- package/dist/parser/entities/hatch/index.d.ts +0 -8
- package/dist/parser/entities/hatch/index.js +0 -183
- package/dist/parser/entities/hatch/index.js.map +0 -1
- package/dist/parser/entities/hatch/patternData.d.ts +0 -3
- package/dist/parser/entities/hatch/patternData.js +0 -54
- package/dist/parser/entities/hatch/patternData.js.map +0 -1
- package/dist/parser/entities/hatch/types/boundaryPath.d.ts +0 -59
- package/dist/parser/entities/hatch/types/boundaryPath.js +0 -3
- package/dist/parser/entities/hatch/types/boundaryPath.js.map +0 -1
- package/dist/parser/entities/hatch/types/definitionLine.d.ts +0 -8
- package/dist/parser/entities/hatch/types/definitionLine.js +0 -3
- package/dist/parser/entities/hatch/types/definitionLine.js.map +0 -1
- package/dist/parser/entities/hatch/types/hatch.d.ts +0 -38
- package/dist/parser/entities/hatch/types/hatch.js +0 -3
- package/dist/parser/entities/hatch/types/hatch.js.map +0 -1
- package/dist/parser/entities/hatch/types/index.d.ts +0 -3
- package/dist/parser/entities/hatch/types/index.js +0 -20
- package/dist/parser/entities/hatch/types/index.js.map +0 -1
- package/dist/parser/entities/index.d.ts +0 -8
- package/dist/parser/entities/index.js +0 -81
- package/dist/parser/entities/index.js.map +0 -1
- package/dist/parser/entities/insert/index.d.ts +0 -2
- package/dist/parser/entities/insert/index.js +0 -19
- package/dist/parser/entities/insert/index.js.map +0 -1
- package/dist/parser/entities/insert/parser.d.ts +0 -8
- package/dist/parser/entities/insert/parser.js +0 -97
- package/dist/parser/entities/insert/parser.js.map +0 -1
- package/dist/parser/entities/insert/types.d.ts +0 -18
- package/dist/parser/entities/insert/types.js +0 -3
- package/dist/parser/entities/insert/types.js.map +0 -1
- package/dist/parser/entities/leader/consts.d.ts +0 -6
- package/dist/parser/entities/leader/consts.js +0 -11
- package/dist/parser/entities/leader/consts.js.map +0 -1
- package/dist/parser/entities/leader/index.d.ts +0 -3
- package/dist/parser/entities/leader/index.js +0 -20
- package/dist/parser/entities/leader/index.js.map +0 -1
- package/dist/parser/entities/leader/parser.d.ts +0 -8
- package/dist/parser/entities/leader/parser.js +0 -110
- package/dist/parser/entities/leader/parser.js.map +0 -1
- package/dist/parser/entities/leader/types.d.ts +0 -23
- package/dist/parser/entities/leader/types.js +0 -3
- package/dist/parser/entities/leader/types.js.map +0 -1
- package/dist/parser/entities/line/index.d.ts +0 -2
- package/dist/parser/entities/line/index.js +0 -19
- package/dist/parser/entities/line/index.js.map +0 -1
- package/dist/parser/entities/line/parser.d.ts +0 -8
- package/dist/parser/entities/line/parser.js +0 -50
- package/dist/parser/entities/line/parser.js.map +0 -1
- package/dist/parser/entities/line/types.d.ts +0 -10
- package/dist/parser/entities/line/types.js +0 -3
- package/dist/parser/entities/line/types.js.map +0 -1
- package/dist/parser/entities/lwpolyline/consts.d.ts +0 -4
- package/dist/parser/entities/lwpolyline/consts.js +0 -9
- package/dist/parser/entities/lwpolyline/consts.js.map +0 -1
- package/dist/parser/entities/lwpolyline/index.d.ts +0 -3
- package/dist/parser/entities/lwpolyline/index.js +0 -20
- package/dist/parser/entities/lwpolyline/index.js.map +0 -1
- package/dist/parser/entities/lwpolyline/parser.d.ts +0 -7
- package/dist/parser/entities/lwpolyline/parser.js +0 -105
- package/dist/parser/entities/lwpolyline/parser.js.map +0 -1
- package/dist/parser/entities/lwpolyline/types.d.ts +0 -19
- package/dist/parser/entities/lwpolyline/types.js +0 -3
- package/dist/parser/entities/lwpolyline/types.js.map +0 -1
- package/dist/parser/entities/mtext/consts.d.ts +0 -5
- package/dist/parser/entities/mtext/consts.js +0 -10
- package/dist/parser/entities/mtext/consts.js.map +0 -1
- package/dist/parser/entities/mtext/index.d.ts +0 -3
- package/dist/parser/entities/mtext/index.js +0 -20
- package/dist/parser/entities/mtext/index.js.map +0 -1
- package/dist/parser/entities/mtext/parser.d.ts +0 -10
- package/dist/parser/entities/mtext/parser.js +0 -188
- package/dist/parser/entities/mtext/parser.js.map +0 -1
- package/dist/parser/entities/mtext/types.d.ts +0 -33
- package/dist/parser/entities/mtext/types.js +0 -3
- package/dist/parser/entities/mtext/types.js.map +0 -1
- package/dist/parser/entities/point/index.d.ts +0 -2
- package/dist/parser/entities/point/index.js +0 -19
- package/dist/parser/entities/point/index.js.map +0 -1
- package/dist/parser/entities/point/parser.d.ts +0 -6
- package/dist/parser/entities/point/parser.js +0 -54
- package/dist/parser/entities/point/parser.js.map +0 -1
- package/dist/parser/entities/point/types.d.ts +0 -9
- package/dist/parser/entities/point/types.js +0 -3
- package/dist/parser/entities/point/types.js.map +0 -1
- package/dist/parser/entities/polyline/consts.d.ts +0 -16
- package/dist/parser/entities/polyline/consts.js +0 -22
- package/dist/parser/entities/polyline/consts.js.map +0 -1
- package/dist/parser/entities/polyline/index.d.ts +0 -3
- package/dist/parser/entities/polyline/index.js +0 -20
- package/dist/parser/entities/polyline/index.js.map +0 -1
- package/dist/parser/entities/polyline/parser.d.ts +0 -7
- package/dist/parser/entities/polyline/parser.js +0 -118
- package/dist/parser/entities/polyline/parser.js.map +0 -1
- package/dist/parser/entities/polyline/types.d.ts +0 -19
- package/dist/parser/entities/polyline/types.js +0 -3
- package/dist/parser/entities/polyline/types.js.map +0 -1
- package/dist/parser/entities/section/index.d.ts +0 -2
- package/dist/parser/entities/section/index.js +0 -19
- package/dist/parser/entities/section/index.js.map +0 -1
- package/dist/parser/entities/section/parser.d.ts +0 -7
- package/dist/parser/entities/section/parser.js +0 -97
- package/dist/parser/entities/section/parser.js.map +0 -1
- package/dist/parser/entities/section/types.d.ts +0 -19
- package/dist/parser/entities/section/types.js +0 -3
- package/dist/parser/entities/section/types.js.map +0 -1
- package/dist/parser/entities/shared.d.ts +0 -35
- package/dist/parser/entities/shared.js +0 -136
- package/dist/parser/entities/shared.js.map +0 -1
- package/dist/parser/entities/solid/index.d.ts +0 -2
- package/dist/parser/entities/solid/index.js +0 -19
- package/dist/parser/entities/solid/index.js.map +0 -1
- package/dist/parser/entities/solid/parser.d.ts +0 -8
- package/dist/parser/entities/solid/parser.js +0 -48
- package/dist/parser/entities/solid/parser.js.map +0 -1
- package/dist/parser/entities/solid/types.d.ts +0 -9
- package/dist/parser/entities/solid/types.js +0 -3
- package/dist/parser/entities/solid/types.js.map +0 -1
- package/dist/parser/entities/spline/consts.d.ts +0 -8
- package/dist/parser/entities/spline/consts.js +0 -13
- package/dist/parser/entities/spline/consts.js.map +0 -1
- package/dist/parser/entities/spline/index.d.ts +0 -3
- package/dist/parser/entities/spline/index.js +0 -20
- package/dist/parser/entities/spline/index.js.map +0 -1
- package/dist/parser/entities/spline/parser.d.ts +0 -8
- package/dist/parser/entities/spline/parser.js +0 -113
- package/dist/parser/entities/spline/parser.js.map +0 -1
- package/dist/parser/entities/spline/types.d.ts +0 -21
- package/dist/parser/entities/spline/types.js +0 -3
- package/dist/parser/entities/spline/types.js.map +0 -1
- package/dist/parser/entities/text/consts.d.ts +0 -19
- package/dist/parser/entities/text/consts.js +0 -26
- package/dist/parser/entities/text/consts.js.map +0 -1
- package/dist/parser/entities/text/index.d.ts +0 -3
- package/dist/parser/entities/text/index.js +0 -20
- package/dist/parser/entities/text/index.js.map +0 -1
- package/dist/parser/entities/text/parser.d.ts +0 -26
- package/dist/parser/entities/text/parser.js +0 -112
- package/dist/parser/entities/text/parser.js.map +0 -1
- package/dist/parser/entities/text/types.d.ts +0 -20
- package/dist/parser/entities/text/types.js +0 -3
- package/dist/parser/entities/text/types.js.map +0 -1
- package/dist/parser/entities/vertex/consts.d.ts +0 -10
- package/dist/parser/entities/vertex/consts.js +0 -15
- package/dist/parser/entities/vertex/consts.js.map +0 -1
- package/dist/parser/entities/vertex/index.d.ts +0 -3
- package/dist/parser/entities/vertex/index.js +0 -20
- package/dist/parser/entities/vertex/index.js.map +0 -1
- package/dist/parser/entities/vertex/parser.d.ts +0 -8
- package/dist/parser/entities/vertex/parser.js +0 -86
- package/dist/parser/entities/vertex/parser.js.map +0 -1
- package/dist/parser/entities/vertex/types.d.ts +0 -16
- package/dist/parser/entities/vertex/types.js +0 -3
- package/dist/parser/entities/vertex/types.js.map +0 -1
- package/dist/parser/entities/viewport/index.d.ts +0 -5
- package/dist/parser/entities/viewport/index.js +0 -195
- package/dist/parser/entities/viewport/index.js.map +0 -1
- package/dist/parser/entities/viewport/types.d.ts +0 -51
- package/dist/parser/entities/viewport/types.js +0 -3
- package/dist/parser/entities/viewport/types.js.map +0 -1
- package/dist/parser/filterDummyBlocks.d.ts +0 -2
- package/dist/parser/filterDummyBlocks.js +0 -37
- package/dist/parser/filterDummyBlocks.js.map +0 -1
- package/dist/parser/header/index.d.ts +0 -3
- package/dist/parser/header/index.js +0 -32
- package/dist/parser/header/index.js.map +0 -1
- package/dist/parser/objects/common.d.ts +0 -8
- package/dist/parser/objects/common.js +0 -51
- package/dist/parser/objects/common.js.map +0 -1
- package/dist/parser/objects/dictionary.d.ts +0 -20
- package/dist/parser/objects/dictionary.js +0 -50
- package/dist/parser/objects/dictionary.js.map +0 -1
- package/dist/parser/objects/index.d.ts +0 -6
- package/dist/parser/objects/index.js +0 -43
- package/dist/parser/objects/index.js.map +0 -1
- package/dist/parser/objects/layout.d.ts +0 -30
- package/dist/parser/objects/layout.js +0 -110
- package/dist/parser/objects/layout.js.map +0 -1
- package/dist/parser/objects/plotSettings.d.ts +0 -64
- package/dist/parser/objects/plotSettings.js +0 -198
- package/dist/parser/objects/plotSettings.js.map +0 -1
- package/dist/parser/objects/treefy.d.ts +0 -2
- package/dist/parser/objects/treefy.js +0 -37
- package/dist/parser/objects/treefy.js.map +0 -1
- package/dist/parser/objects/types.d.ts +0 -15
- package/dist/parser/objects/types.js +0 -3
- package/dist/parser/objects/types.js.map +0 -1
- package/dist/parser/shared/index.d.ts +0 -7
- package/dist/parser/shared/index.js +0 -22
- package/dist/parser/shared/index.js.map +0 -1
- package/dist/parser/shared/parsePoint.d.ts +0 -7
- package/dist/parser/shared/parsePoint.js +0 -33
- package/dist/parser/shared/parsePoint.js.map +0 -1
- package/dist/parser/shared/parserGenerator.d.ts +0 -15
- package/dist/parser/shared/parserGenerator.js +0 -114
- package/dist/parser/shared/parserGenerator.js.map +0 -1
- package/dist/parser/shared/parserGenerator.test.d.ts +0 -1
- package/dist/parser/shared/parserGenerator.test.js +0 -153
- package/dist/parser/shared/parserGenerator.test.js.map +0 -1
- package/dist/parser/shared/xdata/index.d.ts +0 -3
- package/dist/parser/shared/xdata/index.js +0 -20
- package/dist/parser/shared/xdata/index.js.map +0 -1
- package/dist/parser/shared/xdata/interpreter.d.ts +0 -20
- package/dist/parser/shared/xdata/interpreter.js +0 -43
- package/dist/parser/shared/xdata/interpreter.js.map +0 -1
- package/dist/parser/shared/xdata/interpreter.test.d.ts +0 -1
- package/dist/parser/shared/xdata/interpreter.test.js +0 -83
- package/dist/parser/shared/xdata/interpreter.test.js.map +0 -1
- package/dist/parser/shared/xdata/parser.d.ts +0 -6
- package/dist/parser/shared/xdata/parser.js +0 -133
- package/dist/parser/shared/xdata/parser.js.map +0 -1
- package/dist/parser/shared/xdata/parser.test.d.ts +0 -1
- package/dist/parser/shared/xdata/parser.test.js +0 -64
- package/dist/parser/shared/xdata/parser.test.js.map +0 -1
- package/dist/parser/shared/xdata/types.d.ts +0 -9
- package/dist/parser/shared/xdata/types.js +0 -3
- package/dist/parser/shared/xdata/types.js.map +0 -1
- package/dist/parser/tables/blockRecord/index.d.ts +0 -2
- package/dist/parser/tables/blockRecord/index.js +0 -19
- package/dist/parser/tables/blockRecord/index.js.map +0 -1
- package/dist/parser/tables/blockRecord/parser.d.ts +0 -1
- package/dist/parser/tables/blockRecord/parser.js +0 -45
- package/dist/parser/tables/blockRecord/parser.js.map +0 -1
- package/dist/parser/tables/blockRecord/types.d.ts +0 -10
- package/dist/parser/tables/blockRecord/types.js +0 -3
- package/dist/parser/tables/blockRecord/types.js.map +0 -1
- package/dist/parser/tables/dimStyle/consts.d.ts +0 -2
- package/dist/parser/tables/dimStyle/consts.js +0 -424
- package/dist/parser/tables/dimStyle/consts.js.map +0 -1
- package/dist/parser/tables/dimStyle/index.d.ts +0 -3
- package/dist/parser/tables/dimStyle/index.js +0 -20
- package/dist/parser/tables/dimStyle/index.js.map +0 -1
- package/dist/parser/tables/dimStyle/parser.d.ts +0 -1
- package/dist/parser/tables/dimStyle/parser.js +0 -35
- package/dist/parser/tables/dimStyle/parser.js.map +0 -1
- package/dist/parser/tables/dimStyle/types.d.ts +0 -83
- package/dist/parser/tables/dimStyle/types.js +0 -3
- package/dist/parser/tables/dimStyle/types.js.map +0 -1
- package/dist/parser/tables/index.d.ts +0 -2
- package/dist/parser/tables/index.js +0 -19
- package/dist/parser/tables/index.js.map +0 -1
- package/dist/parser/tables/layer/index.d.ts +0 -2
- package/dist/parser/tables/layer/index.js +0 -19
- package/dist/parser/tables/layer/index.js.map +0 -1
- package/dist/parser/tables/layer/parser.d.ts +0 -1
- package/dist/parser/tables/layer/parser.js +0 -55
- package/dist/parser/tables/layer/parser.js.map +0 -1
- package/dist/parser/tables/layer/types.d.ts +0 -13
- package/dist/parser/tables/layer/types.js +0 -3
- package/dist/parser/tables/layer/types.js.map +0 -1
- package/dist/parser/tables/ltype/consts.d.ts +0 -6
- package/dist/parser/tables/ltype/consts.js +0 -11
- package/dist/parser/tables/ltype/consts.js.map +0 -1
- package/dist/parser/tables/ltype/index.d.ts +0 -3
- package/dist/parser/tables/ltype/index.js +0 -20
- package/dist/parser/tables/ltype/index.js.map +0 -1
- package/dist/parser/tables/ltype/parser.d.ts +0 -1
- package/dist/parser/tables/ltype/parser.js +0 -105
- package/dist/parser/tables/ltype/parser.js.map +0 -1
- package/dist/parser/tables/ltype/types.d.ts +0 -21
- package/dist/parser/tables/ltype/types.js +0 -3
- package/dist/parser/tables/ltype/types.js.map +0 -1
- package/dist/parser/tables/parser.d.ts +0 -2
- package/dist/parser/tables/parser.js +0 -90
- package/dist/parser/tables/parser.js.map +0 -1
- package/dist/parser/tables/shared.d.ts +0 -2
- package/dist/parser/tables/shared.js +0 -32
- package/dist/parser/tables/shared.js.map +0 -1
- package/dist/parser/tables/style/index.d.ts +0 -2
- package/dist/parser/tables/style/index.js +0 -19
- package/dist/parser/tables/style/index.js.map +0 -1
- package/dist/parser/tables/style/parser.d.ts +0 -1
- package/dist/parser/tables/style/parser.js +0 -68
- package/dist/parser/tables/style/parser.js.map +0 -1
- package/dist/parser/tables/style/types.d.ts +0 -14
- package/dist/parser/tables/style/types.js +0 -3
- package/dist/parser/tables/style/types.js.map +0 -1
- package/dist/parser/tables/types.d.ts +0 -14
- package/dist/parser/tables/types.js +0 -3
- package/dist/parser/tables/types.js.map +0 -1
- package/dist/parser/tables/vport/index.d.ts +0 -2
- package/dist/parser/tables/vport/index.js +0 -19
- package/dist/parser/tables/vport/index.js.map +0 -1
- package/dist/parser/tables/vport/parser.d.ts +0 -1
- package/dist/parser/tables/vport/parser.js +0 -201
- package/dist/parser/tables/vport/parser.js.map +0 -1
- package/dist/parser/tables/vport/types.d.ts +0 -43
- package/dist/parser/tables/vport/types.js +0 -3
- package/dist/parser/tables/vport/types.js.map +0 -1
- package/dist/parser/types.d.ts +0 -29
- package/dist/parser/types.js +0 -3
- package/dist/parser/types.js.map +0 -1
- package/dist/types/color.d.ts +0 -3
- package/dist/types/color.js +0 -3
- package/dist/types/color.js.map +0 -1
- package/dist/types/dxfHeader.d.ts +0 -16
- package/dist/types/dxfHeader.js +0 -3
- package/dist/types/dxfHeader.js.map +0 -1
- package/dist/types/entity.d.ts +0 -6
- package/dist/types/entity.js +0 -3
- package/dist/types/entity.js.map +0 -1
- package/dist/types/index.d.ts +0 -24
- package/dist/types/index.js +0 -20
- package/dist/types/index.js.map +0 -1
- package/dist/utils/binarySearch.d.ts +0 -1
- package/dist/utils/binarySearch.js +0 -23
- package/dist/utils/binarySearch.js.map +0 -1
- package/dist/utils/disjointSet.d.ts +0 -6
- package/dist/utils/disjointSet.js +0 -52
- package/dist/utils/disjointSet.js.map +0 -1
- package/dist/utils/flooding.d.ts +0 -8
- package/dist/utils/flooding.js +0 -26
- package/dist/utils/flooding.js.map +0 -1
- package/dist/utils/functional.d.ts +0 -17
- package/dist/utils/functional.js +0 -111
- package/dist/utils/functional.js.map +0 -1
- package/dist/utils/graph.d.ts +0 -19
- package/dist/utils/graph.js +0 -47
- package/dist/utils/graph.js.map +0 -1
- package/dist/utils/index.d.ts +0 -30
- package/dist/utils/index.js +0 -106
- package/dist/utils/index.js.map +0 -1
- package/dist/utils/queue.d.ts +0 -19
- package/dist/utils/queue.js +0 -71
- package/dist/utils/queue.js.map +0 -1
- package/dist/utils/triangle.d.ts +0 -2
- package/dist/utils/triangle.js +0 -19
- package/dist/utils/triangle.js.map +0 -1
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./types"), exports);
|
|
18
|
-
__exportStar(require("./parser"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/parser/tables/vport/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const parseVPortTable: import("../../shared/parserGenerator").DXFParser;
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.parseVPortTable = void 0;
|
|
4
|
-
const parserGenerator_1 = require("../../shared/parserGenerator");
|
|
5
|
-
const shared_1 = require("../shared");
|
|
6
|
-
const VPortTableParserSnippets = [
|
|
7
|
-
{
|
|
8
|
-
code: [63, 421, 431],
|
|
9
|
-
name: 'ambientColor',
|
|
10
|
-
parser: parserGenerator_1.Identity,
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
code: 142,
|
|
14
|
-
name: 'contrast',
|
|
15
|
-
parser: parserGenerator_1.Identity,
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
code: 141,
|
|
19
|
-
name: 'brightness',
|
|
20
|
-
parser: parserGenerator_1.Identity,
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
code: 282,
|
|
24
|
-
name: 'defaultLightingType',
|
|
25
|
-
parser: parserGenerator_1.Identity,
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
code: 292,
|
|
29
|
-
name: 'isDefaultLightingOn',
|
|
30
|
-
parser: parserGenerator_1.ToBoolean,
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
code: 348,
|
|
34
|
-
name: 'visualStyleObjectId',
|
|
35
|
-
parser: parserGenerator_1.Identity,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
code: 333,
|
|
39
|
-
name: 'shadePlotObjectId',
|
|
40
|
-
parser: parserGenerator_1.Identity,
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
code: 332,
|
|
44
|
-
name: 'backgroundObjectId',
|
|
45
|
-
parser: parserGenerator_1.Identity,
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
code: 61,
|
|
49
|
-
name: 'majorGridLines',
|
|
50
|
-
parser: parserGenerator_1.Identity,
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
code: 170,
|
|
54
|
-
name: 'shadePlotSetting',
|
|
55
|
-
parser: parserGenerator_1.Identity,
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
code: 146,
|
|
59
|
-
name: 'elevation',
|
|
60
|
-
parser: parserGenerator_1.Identity,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
code: 79,
|
|
64
|
-
name: 'orthographicType',
|
|
65
|
-
parser: parserGenerator_1.Identity,
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
code: 112,
|
|
69
|
-
name: 'ucsYAxis',
|
|
70
|
-
parser: parserGenerator_1.PointParser,
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
code: 111,
|
|
74
|
-
name: 'ucsXAxis',
|
|
75
|
-
parser: parserGenerator_1.PointParser,
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
code: 110,
|
|
79
|
-
name: 'ucsOrigin',
|
|
80
|
-
parser: parserGenerator_1.PointParser,
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
code: 74,
|
|
84
|
-
name: 'ucsIconSetting',
|
|
85
|
-
parser: parserGenerator_1.Identity,
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
code: 71,
|
|
89
|
-
name: 'viewMode',
|
|
90
|
-
parser: parserGenerator_1.Identity,
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
code: 281,
|
|
94
|
-
name: 'renderMode',
|
|
95
|
-
parser: parserGenerator_1.Identity,
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
code: 1,
|
|
99
|
-
name: 'styleSheet',
|
|
100
|
-
parser: parserGenerator_1.Identity,
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
code: [331, 441],
|
|
104
|
-
name: 'frozenLayers',
|
|
105
|
-
parser: parserGenerator_1.Identity,
|
|
106
|
-
isMultiple: true,
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
code: 72,
|
|
110
|
-
name: 'circleSides',
|
|
111
|
-
parser: parserGenerator_1.Identity,
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
code: 51,
|
|
115
|
-
name: 'viewTwistAngle',
|
|
116
|
-
parser: parserGenerator_1.Identity,
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
code: 50,
|
|
120
|
-
name: 'snapRotationAngle',
|
|
121
|
-
parser: parserGenerator_1.Identity,
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
code: 45,
|
|
125
|
-
name: 'viewHeight',
|
|
126
|
-
parser: parserGenerator_1.Identity,
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
code: 44,
|
|
130
|
-
name: 'backClippingPlane',
|
|
131
|
-
parser: parserGenerator_1.Identity,
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
code: 43,
|
|
135
|
-
name: 'frontClippingPlane',
|
|
136
|
-
parser: parserGenerator_1.Identity,
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
code: 42,
|
|
140
|
-
name: 'lensLength',
|
|
141
|
-
parser: parserGenerator_1.Identity,
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
code: 17,
|
|
145
|
-
name: 'viewTarget',
|
|
146
|
-
parser: parserGenerator_1.PointParser,
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
code: 16,
|
|
150
|
-
name: 'viewDirectionFromTarget',
|
|
151
|
-
parser: parserGenerator_1.PointParser,
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
code: 15,
|
|
155
|
-
name: 'gridSpacing',
|
|
156
|
-
parser: parserGenerator_1.PointParser,
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
code: 14,
|
|
160
|
-
name: 'snapSpacing',
|
|
161
|
-
parser: parserGenerator_1.PointParser,
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
code: 13,
|
|
165
|
-
name: 'snapBasePoint',
|
|
166
|
-
parser: parserGenerator_1.PointParser,
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
code: 12,
|
|
170
|
-
name: 'center',
|
|
171
|
-
parser: parserGenerator_1.PointParser,
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
code: 11,
|
|
175
|
-
name: 'upperRightCorner',
|
|
176
|
-
parser: parserGenerator_1.PointParser,
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
code: 10,
|
|
180
|
-
name: 'lowerLeftCorner',
|
|
181
|
-
parser: parserGenerator_1.PointParser,
|
|
182
|
-
},
|
|
183
|
-
{
|
|
184
|
-
code: 70,
|
|
185
|
-
name: 'standardFlag',
|
|
186
|
-
parser: parserGenerator_1.Identity,
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
code: 2,
|
|
190
|
-
name: 'name',
|
|
191
|
-
parser: parserGenerator_1.Identity,
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
code: 100,
|
|
195
|
-
name: 'subclassMarker',
|
|
196
|
-
parser: parserGenerator_1.Identity,
|
|
197
|
-
},
|
|
198
|
-
...shared_1.CommonTableEntryParserSnippets,
|
|
199
|
-
];
|
|
200
|
-
exports.parseVPortTable = (0, parserGenerator_1.createParser)(VPortTableParserSnippets);
|
|
201
|
-
//# sourceMappingURL=parser.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parser.js","sourceRoot":"","sources":["../../../../src/parser/tables/vport/parser.ts"],"names":[],"mappings":";;;AAAA,kEAMsC;AACtC,sCAA2D;AAE3D,MAAM,wBAAwB,GAAuB;IACjD;QACI,IAAI,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,CAAC;QACpB,IAAI,EAAE,cAAc;QACpB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,UAAU;QAChB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,YAAY;QAClB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,2BAAS;KACpB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,qBAAqB;QAC3B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,mBAAmB;QACzB,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,GAAG;QACT,IAAI,EAAE,oBAAoB;QAC1B,MAAM,EAAE,0BAAQ;KACnB;IACD;QACI,IAAI,EAAE,EAAE;QACR,IAAI,EAAE,gBAA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AE,gBAAgB;QACtB,MAAM,EAAE,0BAAQ;KACnB;IACD,GAAG,uCAA8B;CACpC,CAAC;AAEW,QAAA,eAAe,GAAG,IAAA,8BAAY,EAAC,wBAAwB,CAAC,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { RenderMode, OrthographicType, DefaultLightingType } from '../../../consts';
|
|
2
|
-
import type { Point2D, Point3D } from '../../../types';
|
|
3
|
-
import type { CommonDxfTableEntry } from '../types';
|
|
4
|
-
export interface VPortTableEntry extends CommonDxfTableEntry {
|
|
5
|
-
subclassMarker: 'AcDbViewportTableRecord';
|
|
6
|
-
name: string;
|
|
7
|
-
standardFlag: number;
|
|
8
|
-
lowerLeftCorner: Point2D;
|
|
9
|
-
upperRightCorner: Point2D;
|
|
10
|
-
center: Point2D;
|
|
11
|
-
snapBasePoint: Point2D;
|
|
12
|
-
snapSpacing: Point2D;
|
|
13
|
-
gridSpacing: Point2D;
|
|
14
|
-
viewDirectionFromTarget: Point3D;
|
|
15
|
-
viewTarget: Point3D;
|
|
16
|
-
lensLength: number;
|
|
17
|
-
frontClippingPlane: number;
|
|
18
|
-
backClippingPlane: number;
|
|
19
|
-
viewHeight: number;
|
|
20
|
-
snapRotationAngle: number;
|
|
21
|
-
viewTwistAngle: number;
|
|
22
|
-
circleSides: number;
|
|
23
|
-
frozenLayers: string[];
|
|
24
|
-
styleSheet: string;
|
|
25
|
-
renderMode: RenderMode;
|
|
26
|
-
viewMode: number;
|
|
27
|
-
ucsIconSetting: number;
|
|
28
|
-
ucsOrigin: Point3D;
|
|
29
|
-
ucsXAxis: Point3D;
|
|
30
|
-
ucsYAxis: Point3D;
|
|
31
|
-
orthographicType: OrthographicType;
|
|
32
|
-
elevation: number;
|
|
33
|
-
shadePlotSetting: number;
|
|
34
|
-
majorGridLines: number;
|
|
35
|
-
backgroundObjectId?: string;
|
|
36
|
-
shadePlotObjectId?: string;
|
|
37
|
-
visualStyleObjectId?: string;
|
|
38
|
-
isDefaultLightingOn: boolean;
|
|
39
|
-
defaultLightingType: DefaultLightingType;
|
|
40
|
-
brightness: number;
|
|
41
|
-
contrast: number;
|
|
42
|
-
ambientColor?: number;
|
|
43
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/parser/tables/vport/types.ts"],"names":[],"mappings":""}
|
package/dist/parser/types.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { DxfHeader } from '../types/dxfHeader';
|
|
2
|
-
import type { DxfBlock } from './blocks/types';
|
|
3
|
-
import type { CommonDxfEntity } from './entities/shared';
|
|
4
|
-
import type { CommonDXFObject } from './objects/common';
|
|
5
|
-
import type { DxfObject } from './objects/types';
|
|
6
|
-
import { BlockRecordTableEntry } from './tables/blockRecord';
|
|
7
|
-
import { DimStylesTableEntry } from './tables/dimStyle';
|
|
8
|
-
import { LayerTableEntry } from './tables/layer';
|
|
9
|
-
import { LTypeTableEntry } from './tables/ltype';
|
|
10
|
-
import { StyleTableEntry } from './tables/style';
|
|
11
|
-
import { DxfTable } from './tables/types';
|
|
12
|
-
import { VPortTableEntry } from './tables/vport';
|
|
13
|
-
export interface ParsedDxf {
|
|
14
|
-
header: DxfHeader;
|
|
15
|
-
blocks: Record<string, DxfBlock>;
|
|
16
|
-
entities: CommonDxfEntity[];
|
|
17
|
-
tables: {
|
|
18
|
-
BLOCK_RECORD?: DxfTable<BlockRecordTableEntry>;
|
|
19
|
-
DIMSTYLE?: DxfTable<DimStylesTableEntry>;
|
|
20
|
-
STYLE?: DxfTable<StyleTableEntry>;
|
|
21
|
-
LAYER?: DxfTable<LayerTableEntry>;
|
|
22
|
-
LTYPE?: DxfTable<LTypeTableEntry>;
|
|
23
|
-
VPORT?: DxfTable<VPortTableEntry>;
|
|
24
|
-
};
|
|
25
|
-
objects: {
|
|
26
|
-
byName: Record<string, CommonDXFObject[]>;
|
|
27
|
-
byTree?: DxfObject;
|
|
28
|
-
};
|
|
29
|
-
}
|
package/dist/parser/types.js
DELETED
package/dist/parser/types.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/parser/types.ts"],"names":[],"mappings":""}
|
package/dist/types/color.d.ts
DELETED
package/dist/types/color.js
DELETED
package/dist/types/color.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"color.js","sourceRoot":"","sources":["../../src/types/color.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { Measurement } from '../consts';
|
|
2
|
-
import type { DefaultDxfHeaderVariables } from '../consts/header';
|
|
3
|
-
export type DxfHeaderVariable =
|
|
4
|
-
/** Hard-pointer ID to visual style while creating 3D solid primitives */
|
|
5
|
-
'DRAGVS'
|
|
6
|
-
/** Represents the ACI color index of the "interference objects" created during the INTERFERE command */
|
|
7
|
-
| 'INTERFERECOLOR'
|
|
8
|
-
/** Hard-pointer ID to the visual style for interference objects */
|
|
9
|
-
| 'INTERFEREOBJVS'
|
|
10
|
-
/** Hard-pointer ID to the visual style for the viewport during interference checking */
|
|
11
|
-
| 'INTERFEREVPVS' | 'OBSLTYPE'
|
|
12
|
-
/** Percent ambient/diffuse light; range 1-100 */
|
|
13
|
-
| 'SHADEDIF' | 'MEASUREMENT';
|
|
14
|
-
export type DxfHeader = typeof DefaultDxfHeaderVariables & {
|
|
15
|
-
MEASUREMENT: Measurement;
|
|
16
|
-
} & Record<string, any>;
|
package/dist/types/dxfHeader.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dxfHeader.js","sourceRoot":"","sources":["../../src/types/dxfHeader.ts"],"names":[],"mappings":""}
|
package/dist/types/entity.d.ts
DELETED
package/dist/types/entity.js
DELETED
package/dist/types/entity.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity.js","sourceRoot":"","sources":["../../src/types/entity.ts"],"names":[],"mappings":""}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export * from './color';
|
|
2
|
-
export * from './dxfHeader';
|
|
3
|
-
export * from './entity';
|
|
4
|
-
export interface Point2D {
|
|
5
|
-
x: number;
|
|
6
|
-
y: number;
|
|
7
|
-
}
|
|
8
|
-
export interface Point3D {
|
|
9
|
-
x: number;
|
|
10
|
-
y: number;
|
|
11
|
-
z: number;
|
|
12
|
-
}
|
|
13
|
-
export interface Bound {
|
|
14
|
-
minX: number;
|
|
15
|
-
minY: number;
|
|
16
|
-
maxX: number;
|
|
17
|
-
maxY: number;
|
|
18
|
-
}
|
|
19
|
-
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & Partial<Pick<T, K>>;
|
|
20
|
-
export type Indexed<T, P extends string> = {
|
|
21
|
-
[key in P]: T;
|
|
22
|
-
} & {
|
|
23
|
-
index: number;
|
|
24
|
-
};
|
package/dist/types/index.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./color"), exports);
|
|
18
|
-
__exportStar(require("./dxfHeader"), exports);
|
|
19
|
-
__exportStar(require("./entity"), exports);
|
|
20
|
-
//# sourceMappingURL=index.js.map
|
package/dist/types/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function createMaxLessOrEqualFinder<T>(comp: (a: T, b: T) => number): (list: T[], target: T) => number;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createMaxLessOrEqualFinder = void 0;
|
|
4
|
-
function createMaxLessOrEqualFinder(comp) {
|
|
5
|
-
return (list, target) => {
|
|
6
|
-
let l = 0;
|
|
7
|
-
let r = list.length - 1;
|
|
8
|
-
while (l < r) {
|
|
9
|
-
const m = Math.ceil((l + r) / 2);
|
|
10
|
-
if (comp(list[m], target) > 0) {
|
|
11
|
-
r = m - 1;
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
l = m;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
if (comp(list[r], target) > 0)
|
|
18
|
-
return -1;
|
|
19
|
-
return r;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
exports.createMaxLessOrEqualFinder = createMaxLessOrEqualFinder;
|
|
23
|
-
//# sourceMappingURL=binarySearch.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"binarySearch.js","sourceRoot":"","sources":["../../src/utils/binarySearch.ts"],"names":[],"mappings":";;;AAAA,SAAgB,0BAA0B,CAAI,IAA4B;IACtE,OAAO,CAAC,IAAS,EAAE,MAAS,EAAE,EAAE;QAC5B,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,IAAI,CAAC,GAAG,IAAI,CAAC,MAAM,GAAG,CAAC,CAAC;QAExB,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC;YACX,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YAEjC,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC;gBAC5B,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACd,CAAC;iBAAM,CAAC;gBACJ,CAAC,GAAG,CAAC,CAAC;YACV,CAAC;QACL,CAAC;QAED,IAAI,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC;YAAE,OAAO,CAAC,CAAC,CAAC;QAEzC,OAAO,CAAC,CAAC;IACb,CAAC,CAAC;AACN,CAAC;AAnBD,gEAmBC"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createDisjointSet = void 0;
|
|
4
|
-
function createDisjointSet(initialSize) {
|
|
5
|
-
const roots = Array.from(new Array(initialSize), (_, index) => index);
|
|
6
|
-
const sizes = roots.map(() => 1);
|
|
7
|
-
let groups = initialSize;
|
|
8
|
-
// return the id of the set which given index-th element exists.
|
|
9
|
-
// but set id may changes if further union operations are done.
|
|
10
|
-
function find(index) {
|
|
11
|
-
if (roots[index] === index)
|
|
12
|
-
return index;
|
|
13
|
-
return (roots[index] = find(roots[index]));
|
|
14
|
-
}
|
|
15
|
-
function union(ia, ib) {
|
|
16
|
-
let ra = find(ia);
|
|
17
|
-
let rb = find(ib);
|
|
18
|
-
if (ra === rb)
|
|
19
|
-
return;
|
|
20
|
-
if (sizes[ra] < sizes[rb]) {
|
|
21
|
-
[ra, rb] = [rb, ra];
|
|
22
|
-
}
|
|
23
|
-
roots[rb] = ra;
|
|
24
|
-
sizes[ra] += sizes[rb];
|
|
25
|
-
groups -= 1;
|
|
26
|
-
}
|
|
27
|
-
// return the size of the set which has index-th element.
|
|
28
|
-
// if index is not given, return the number of dijoint sets.
|
|
29
|
-
function size(index) {
|
|
30
|
-
if (index === undefined)
|
|
31
|
-
return groups;
|
|
32
|
-
return sizes[find(index)];
|
|
33
|
-
}
|
|
34
|
-
function getSets() {
|
|
35
|
-
var _a;
|
|
36
|
-
const map = {};
|
|
37
|
-
for (let i = 0; i < roots.length; ++i) {
|
|
38
|
-
const rootIndex = find(i);
|
|
39
|
-
(_a = map[rootIndex]) !== null && _a !== void 0 ? _a : (map[rootIndex] = []);
|
|
40
|
-
map[rootIndex].push(i);
|
|
41
|
-
}
|
|
42
|
-
return map;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
find,
|
|
46
|
-
union,
|
|
47
|
-
size,
|
|
48
|
-
getSets,
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
exports.createDisjointSet = createDisjointSet;
|
|
52
|
-
//# sourceMappingURL=disjointSet.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"disjointSet.js","sourceRoot":"","sources":["../../src/utils/disjointSet.ts"],"names":[],"mappings":";;;AAAA,SAAgB,iBAAiB,CAAC,WAAmB;IACjD,MAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC;IACtE,MAAM,KAAK,GAAG,KAAK,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC;IACjC,IAAI,MAAM,GAAG,WAAW,CAAC;IAEzB,gEAAgE;IAChE,+DAA+D;IAC/D,SAAS,IAAI,CAAC,KAAa;QACvB,IAAI,KAAK,CAAC,KAAK,CAAC,KAAK,KAAK;YAAE,OAAO,KAAK,CAAC;QACzC,OAAO,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KAAK;QACL,IAAI;QACJ,OAAO;KACV,CAAC;AACN,CAAC;AAnDD,8CAmDC"}
|
package/dist/utils/flooding.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
interface FloodingParams<T> {
|
|
2
|
-
seeds: T[];
|
|
3
|
-
spanner(seed: T): T[];
|
|
4
|
-
serializer(seed: T): number | string;
|
|
5
|
-
iterationLimit?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare function flooding<T>({ seeds, spanner, serializer, iterationLimit, }: FloodingParams<T>): T[][];
|
|
8
|
-
export {};
|
package/dist/utils/flooding.js
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.flooding = void 0;
|
|
4
|
-
function flooding({ seeds, spanner, serializer, iterationLimit = Infinity, }) {
|
|
5
|
-
const memo = new Set();
|
|
6
|
-
let iterations = 0;
|
|
7
|
-
return seeds
|
|
8
|
-
.map((seed) => {
|
|
9
|
-
const group = [];
|
|
10
|
-
const stack = [[seed, serializer(seed)]];
|
|
11
|
-
while (stack.length && iterations++ < iterationLimit) {
|
|
12
|
-
const [current, key] = stack.pop();
|
|
13
|
-
if (memo.has(key))
|
|
14
|
-
continue;
|
|
15
|
-
memo.add(key);
|
|
16
|
-
group.push(current);
|
|
17
|
-
for (const next of spanner(current)) {
|
|
18
|
-
stack.push([next, serializer(next)]);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return group;
|
|
22
|
-
})
|
|
23
|
-
.filter((group) => group.length);
|
|
24
|
-
}
|
|
25
|
-
exports.flooding = flooding;
|
|
26
|
-
//# sourceMappingURL=flooding.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flooding.js","sourceRoot":"","sources":["../../src/utils/flooding.ts"],"names":[],"mappings":";;;AAOA,SAAgB,QAAQ,CAAI,EACxB,KAAK,EACL,OAAO,EACP,UAAU,EACV,cAAc,GAAG,QAAQ,GACT;IAChB,MAAM,IAAI,GAAG,IAAI,GAAG,EAAmB,CAAC;IACxC,IAAI,UAAU,GAAG,CAAC,CAAC;IAEnB,OAAO,KAAK;SACP,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;QACV,MAAM,KAAK,GAAQ,EAAE,CAAC;QACtB,MAAM,KAAK,GAA2B,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAEjE,OAAO,KAAK,CAAC,MAAM,IAAI,UAAU,EAAE,GAAG,cAAc,EAAE,CAAC;YACnD,MAAM,CAAC,OAAO,EAAE,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,EAAG,CAAC;YAEpC,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC;gBAAE,SAAS;YAC5B,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YACd,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YAEpB,KAAK,MAAM,IAAI,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;gBAClC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACzC,CAAC;QACL,CAAC;QAED,OAAO,KAAK,CAAC;IACjB,CAAC,CAAC;SACD,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;AACzC,CAAC;AA7BD,4BA6BC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare function adjacentPairs<T>(itr: Iterable<T>, n: number, isClosed?: boolean): Generator<T[], void, unknown>;
|
|
2
|
-
export declare function argmin<T>(itr: Iterable<T>, evaluator: (value: T) => number): {
|
|
3
|
-
target: T;
|
|
4
|
-
score: number;
|
|
5
|
-
index: number;
|
|
6
|
-
};
|
|
7
|
-
export declare function subIterator<T>(array: T[], start: number, end: number): Generator<T, void, unknown>;
|
|
8
|
-
export declare function reverseIterator<T>(array: T[]): Generator<T, void, unknown>;
|
|
9
|
-
export declare function separate<T>(predicate: (value: T) => boolean, itr: Iterable<T>): T[][];
|
|
10
|
-
export declare function findLast<T>(predicate: (value: T) => boolean, isIncremental: boolean, // true일 경우, predicate가 실패하는 즉시 종료
|
|
11
|
-
itr: Iterable<T>): [T | undefined, number];
|
|
12
|
-
/**
|
|
13
|
-
* size개씩 자른 것을 생성한다. 만약 마지막에 size개가 안되면 그냥 되는대로 준다.
|
|
14
|
-
* @param size
|
|
15
|
-
* @param iterable
|
|
16
|
-
*/
|
|
17
|
-
export declare function groupPairs<T>(size: number, iterable: Iterable<T>): Generator<T[], void, unknown>;
|