@threepipe/plugin-svg-renderer 0.1.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 +674 -0
- package/dist/BasicSVGRendererPlugin.d.ts +26 -0
- package/dist/BasicSVGRendererPlugin.d.ts.map +1 -0
- package/dist/ThreeSVGRendererPlugin.d.ts +100 -0
- package/dist/ThreeSVGRendererPlugin.d.ts.map +1 -0
- package/dist/basic/BasicSVGRenderer.d.ts +10 -0
- package/dist/basic/BasicSVGRenderer.d.ts.map +1 -0
- package/dist/dependencies.txt +315 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +16798 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +16798 -0
- package/dist/index.mjs.map +1 -0
- package/dist/three-mesh-halfedge/augments.d.ts +8 -0
- package/dist/three-mesh-halfedge/augments.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/core/Face.d.ts +39 -0
- package/dist/three-mesh-halfedge/core/Face.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/core/Halfedge.d.ts +40 -0
- package/dist/three-mesh-halfedge/core/Halfedge.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/core/HalfedgeDS.d.ts +109 -0
- package/dist/three-mesh-halfedge/core/HalfedgeDS.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/core/Vertex.d.ts +69 -0
- package/dist/three-mesh-halfedge/core/Vertex.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/core/Vertex.test.d.ts +1 -0
- package/dist/three-mesh-halfedge/core/Vertex.test.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/index.d.ts +5 -0
- package/dist/three-mesh-halfedge/index.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/addEdge.d.ts +5 -0
- package/dist/three-mesh-halfedge/operations/addEdge.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/addEdge.test.d.ts +1 -0
- package/dist/three-mesh-halfedge/operations/addEdge.test.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/addFace.d.ts +5 -0
- package/dist/three-mesh-halfedge/operations/addFace.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/addVertex.d.ts +5 -0
- package/dist/three-mesh-halfedge/operations/addVertex.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/addVertex.test.d.ts +1 -0
- package/dist/three-mesh-halfedge/operations/addVertex.test.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/cutFace.d.ts +6 -0
- package/dist/three-mesh-halfedge/operations/cutFace.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/cutFace.test.d.ts +1 -0
- package/dist/three-mesh-halfedge/operations/cutFace.test.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/removeEdge.d.ts +4 -0
- package/dist/three-mesh-halfedge/operations/removeEdge.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/removeFace.d.ts +4 -0
- package/dist/three-mesh-halfedge/operations/removeFace.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/removeVertex.d.ts +4 -0
- package/dist/three-mesh-halfedge/operations/removeVertex.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/setFromGeometry.d.ts +13 -0
- package/dist/three-mesh-halfedge/operations/setFromGeometry.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/setFromGeometry.test.d.ts +1 -0
- package/dist/three-mesh-halfedge/operations/setFromGeometry.test.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/operations/splitEdge.d.ts +6 -0
- package/dist/three-mesh-halfedge/operations/splitEdge.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/setuptests.d.ts +1 -0
- package/dist/three-mesh-halfedge/setuptests.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/utils/geometry.d.ts +5 -0
- package/dist/three-mesh-halfedge/utils/geometry.d.ts.map +1 -0
- package/dist/three-mesh-halfedge/utils/testutils.d.ts +3 -0
- package/dist/three-mesh-halfedge/utils/testutils.d.ts.map +1 -0
- package/dist/three-svg-renderer/SVGRenderer.d.ts +58 -0
- package/dist/three-svg-renderer/SVGRenderer.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/SVGMesh.d.ts +57 -0
- package/dist/three-svg-renderer/core/SVGMesh.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/index.d.ts +4 -0
- package/dist/three-svg-renderer/core/index.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/SVGDrawHandler.d.ts +23 -0
- package/dist/three-svg-renderer/core/svg/SVGDrawHandler.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/index.d.ts +3 -0
- package/dist/three-svg-renderer/core/svg/index.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/passes/ChainPass.d.ts +112 -0
- package/dist/three-svg-renderer/core/svg/passes/ChainPass.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/passes/DrawPass.d.ts +22 -0
- package/dist/three-svg-renderer/core/svg/passes/DrawPass.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/passes/FillPass.d.ts +46 -0
- package/dist/three-svg-renderer/core/svg/passes/FillPass.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/passes/SingularityPointPass.d.ts +16 -0
- package/dist/three-svg-renderer/core/svg/passes/SingularityPointPass.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/passes/TexturePass.d.ts +1 -0
- package/dist/three-svg-renderer/core/svg/passes/TexturePass.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/passes/index.d.ts +5 -0
- package/dist/three-svg-renderer/core/svg/passes/index.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/svg/svgutils.d.ts +10 -0
- package/dist/three-svg-renderer/core/svg/svgutils.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/Chain.d.ts +26 -0
- package/dist/three-svg-renderer/core/viewmap/Chain.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/Polygon.d.ts +12 -0
- package/dist/three-svg-renderer/core/viewmap/Polygon.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/ViewEdge.d.ts +67 -0
- package/dist/three-svg-renderer/core/viewmap/ViewEdge.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/ViewVertex.d.ts +27 -0
- package/dist/three-svg-renderer/core/viewmap/ViewVertex.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/Viewmap.d.ts +83 -0
- package/dist/three-svg-renderer/core/viewmap/Viewmap.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/index.d.ts +6 -0
- package/dist/three-svg-renderer/core/viewmap/index.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/assignPolygons.d.ts +11 -0
- package/dist/three-svg-renderer/core/viewmap/operations/assignPolygons.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/computeChainsVisibility.d.ts +19 -0
- package/dist/three-svg-renderer/core/viewmap/operations/computeChainsVisibility.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/computeMeshIntersections.d.ts +11 -0
- package/dist/three-svg-renderer/core/viewmap/operations/computeMeshIntersections.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/computePolygons.d.ts +17 -0
- package/dist/three-svg-renderer/core/viewmap/operations/computePolygons.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/createChains.d.ts +7 -0
- package/dist/three-svg-renderer/core/viewmap/operations/createChains.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/createViewVertex.d.ts +11 -0
- package/dist/three-svg-renderer/core/viewmap/operations/createViewVertex.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/find2dSingularities.d.ts +9 -0
- package/dist/three-svg-renderer/core/viewmap/operations/find2dSingularities.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/find3dSingularities.d.ts +26 -0
- package/dist/three-svg-renderer/core/viewmap/operations/find3dSingularities.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/meshIntersectionCb.d.ts +18 -0
- package/dist/three-svg-renderer/core/viewmap/operations/meshIntersectionCb.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/setupEdges.d.ts +25 -0
- package/dist/three-svg-renderer/core/viewmap/operations/setupEdges.d.ts.map +1 -0
- package/dist/three-svg-renderer/core/viewmap/operations/splitEdge.d.ts +20 -0
- package/dist/three-svg-renderer/core/viewmap/operations/splitEdge.d.ts.map +1 -0
- package/dist/three-svg-renderer/index.d.ts +4 -0
- package/dist/three-svg-renderer/index.d.ts.map +1 -0
- package/dist/three-svg-renderer/setuptests.d.ts +1 -0
- package/dist/three-svg-renderer/setuptests.d.ts.map +1 -0
- package/dist/three-svg-renderer/utils/buffergeometry.d.ts +17 -0
- package/dist/three-svg-renderer/utils/buffergeometry.d.ts.map +1 -0
- package/dist/three-svg-renderer/utils/geometry.d.ts +45 -0
- package/dist/three-svg-renderer/utils/geometry.d.ts.map +1 -0
- package/dist/three-svg-renderer/utils/geometry.test.d.ts +1 -0
- package/dist/three-svg-renderer/utils/geometry.test.d.ts.map +1 -0
- package/dist/three-svg-renderer/utils/index.d.ts +4 -0
- package/dist/three-svg-renderer/utils/index.d.ts.map +1 -0
- package/dist/three-svg-renderer/utils/objects.d.ts +2 -0
- package/dist/three-svg-renderer/utils/objects.d.ts.map +1 -0
- package/dist/three-svg-renderer/utils/orientationtests.d.ts +65 -0
- package/dist/three-svg-renderer/utils/orientationtests.d.ts.map +1 -0
- package/dist/three-svg-renderer/utils/testutils.d.ts +1 -0
- package/dist/three-svg-renderer/utils/testutils.d.ts.map +1 -0
- package/package.json +34 -0
- package/src/BasicSVGRendererPlugin.ts +110 -0
- package/src/ThreeSVGRendererPlugin.ts +405 -0
- package/src/basic/BasicSVGRenderer.ts +23 -0
- package/src/global.d.ts +40 -0
- package/src/index.ts +5 -0
- package/src/three-mesh-halfedge/LICENSE +21 -0
- package/src/three-mesh-halfedge/augments.ts +35 -0
- package/src/three-mesh-halfedge/core/Face.ts +122 -0
- package/src/three-mesh-halfedge/core/Halfedge.ts +109 -0
- package/src/three-mesh-halfedge/core/HalfedgeDS.ts +192 -0
- package/src/three-mesh-halfedge/core/Vertex.test.ts +185 -0
- package/src/three-mesh-halfedge/core/Vertex.ts +192 -0
- package/src/three-mesh-halfedge/index.ts +6 -0
- package/src/three-mesh-halfedge/operations/addEdge.test.ts +119 -0
- package/src/three-mesh-halfedge/operations/addEdge.ts +100 -0
- package/src/three-mesh-halfedge/operations/addFace.ts +108 -0
- package/src/three-mesh-halfedge/operations/addVertex.test.ts +60 -0
- package/src/three-mesh-halfedge/operations/addVertex.ts +38 -0
- package/src/three-mesh-halfedge/operations/cutFace.test.ts +157 -0
- package/src/three-mesh-halfedge/operations/cutFace.ts +162 -0
- package/src/three-mesh-halfedge/operations/removeEdge.ts +84 -0
- package/src/three-mesh-halfedge/operations/removeFace.ts +30 -0
- package/src/three-mesh-halfedge/operations/removeVertex.ts +53 -0
- package/src/three-mesh-halfedge/operations/setFromGeometry.test.ts +216 -0
- package/src/three-mesh-halfedge/operations/setFromGeometry.ts +174 -0
- package/src/three-mesh-halfedge/operations/splitEdge.ts +80 -0
- package/src/three-mesh-halfedge/setuptests.ts +16 -0
- package/src/three-mesh-halfedge/utils/geometry.ts +44 -0
- package/src/three-mesh-halfedge/utils/testutils.ts +83 -0
- package/src/three-svg-renderer/LICENSE +674 -0
- package/src/three-svg-renderer/SVGRenderer.ts +141 -0
- package/src/three-svg-renderer/core/SVGMesh.ts +172 -0
- package/src/three-svg-renderer/core/index.ts +17 -0
- package/src/three-svg-renderer/core/svg/SVGDrawHandler.ts +78 -0
- package/src/three-svg-renderer/core/svg/index.ts +21 -0
- package/src/three-svg-renderer/core/svg/passes/ChainPass.ts +303 -0
- package/src/three-svg-renderer/core/svg/passes/DrawPass.ts +37 -0
- package/src/three-svg-renderer/core/svg/passes/FillPass.ts +227 -0
- package/src/three-svg-renderer/core/svg/passes/SingularityPointPass.ts +126 -0
- package/src/three-svg-renderer/core/svg/passes/TexturePass.ts +440 -0
- package/src/three-svg-renderer/core/svg/passes/index.ts +19 -0
- package/src/three-svg-renderer/core/svg/svgutils.ts +152 -0
- package/src/three-svg-renderer/core/viewmap/Chain.ts +82 -0
- package/src/three-svg-renderer/core/viewmap/Polygon.ts +34 -0
- package/src/three-svg-renderer/core/viewmap/ViewEdge.ts +143 -0
- package/src/three-svg-renderer/core/viewmap/ViewVertex.ts +74 -0
- package/src/three-svg-renderer/core/viewmap/Viewmap.ts +389 -0
- package/src/three-svg-renderer/core/viewmap/index.ts +24 -0
- package/src/three-svg-renderer/core/viewmap/operations/assignPolygons.ts +85 -0
- package/src/three-svg-renderer/core/viewmap/operations/computeChainsVisibility.ts +147 -0
- package/src/three-svg-renderer/core/viewmap/operations/computeMeshIntersections.ts +129 -0
- package/src/three-svg-renderer/core/viewmap/operations/computePolygons.ts +112 -0
- package/src/three-svg-renderer/core/viewmap/operations/createChains.ts +82 -0
- package/src/three-svg-renderer/core/viewmap/operations/createViewVertex.ts +42 -0
- package/src/three-svg-renderer/core/viewmap/operations/find2dSingularities.ts +126 -0
- package/src/three-svg-renderer/core/viewmap/operations/find3dSingularities.ts +176 -0
- package/src/three-svg-renderer/core/viewmap/operations/meshIntersectionCb.ts +86 -0
- package/src/three-svg-renderer/core/viewmap/operations/setupEdges.ts +152 -0
- package/src/three-svg-renderer/core/viewmap/operations/splitEdge.ts +197 -0
- package/src/three-svg-renderer/index.ts +15 -0
- package/src/three-svg-renderer/setuptests.ts +15 -0
- package/src/three-svg-renderer/types/isect/index.d.ts +65 -0
- package/src/three-svg-renderer/utils/buffergeometry.ts +66 -0
- package/src/three-svg-renderer/utils/geometry.test.ts +95 -0
- package/src/three-svg-renderer/utils/geometry.ts +156 -0
- package/src/three-svg-renderer/utils/index.ts +17 -0
- package/src/three-svg-renderer/utils/objects.ts +24 -0
- package/src/three-svg-renderer/utils/orientationtests.ts +108 -0
- package/src/three-svg-renderer/utils/testutils.ts +64 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { AViewerPluginSync, type IViewerEvent, ThreeViewer } from 'threepipe';
|
|
2
|
+
import { BasicSVGRenderer } from './basic/BasicSVGRenderer';
|
|
3
|
+
export declare class BasicSVGRendererPlugin extends AViewerPluginSync<''> {
|
|
4
|
+
readonly autoAddToContainer: boolean;
|
|
5
|
+
static readonly PluginType = "BasicSVGRendererPlugin";
|
|
6
|
+
enabled: boolean;
|
|
7
|
+
readonly renderer: BasicSVGRenderer;
|
|
8
|
+
/**
|
|
9
|
+
* @param enabled
|
|
10
|
+
* @param autoAddToContainer - automatically add the svg to the viewer container and style it same as the viewer is position is absolute
|
|
11
|
+
*/
|
|
12
|
+
constructor(enabled?: boolean, autoAddToContainer?: boolean);
|
|
13
|
+
protected _lastStyles?: string;
|
|
14
|
+
onAdded(viewer: ThreeViewer): void;
|
|
15
|
+
onRemove(viewer: ThreeViewer): void;
|
|
16
|
+
autoRender: boolean;
|
|
17
|
+
render(): void;
|
|
18
|
+
download(): void;
|
|
19
|
+
protected _viewerListeners: {
|
|
20
|
+
postRender: (_: IViewerEvent) => void;
|
|
21
|
+
};
|
|
22
|
+
get svgNode(): SVGElement;
|
|
23
|
+
protected _refreshParams(): void;
|
|
24
|
+
protected _onResize(): void;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=BasicSVGRendererPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicSVGRendererPlugin.d.ts","sourceRoot":"","sources":["../src/BasicSVGRendererPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,KAAK,YAAY,EACjB,WAAW,EAKd,MAAM,WAAW,CAAA;AAClB,OAAO,EAAC,gBAAgB,EAAC,MAAM,0BAA0B,CAAA;AAEzD,qBACa,sBAAuB,SAAQ,iBAAiB,CAAC,EAAE,CAAC;IAajC,QAAQ,CAAC,kBAAkB;IAZvD,MAAM,CAAC,QAAQ,CAAC,UAAU,4BAA2B;IAGjD,OAAO,UAAO;IAGlB,QAAQ,CAAC,QAAQ,mBAAyB;IAE1C;;;OAGG;gBACS,OAAO,UAAO,EAAW,kBAAkB,UAAO;IAQ9D,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,CAAY;IAC1C,OAAO,CAAC,MAAM,EAAE,WAAW;IAyB3B,QAAQ,CAAC,MAAM,EAAE,WAAW;IAexB,UAAU,UAAO;IAGrB,MAAM;IAON,QAAQ;IAMR,SAAS,CAAC,gBAAgB;wBACN,YAAY;MAG/B;IAED,IAAI,OAAO,eAEV;IAED,SAAS,CAAC,cAAc;IAIxB,SAAS,CAAC,SAAS;CAKtB"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { AViewerPluginSync, IObject3D, type IViewerEvent, ThreeViewer, Vector2 } from 'threepipe';
|
|
2
|
+
import { FillPass, SVGMesh, SVGRenderer } from './three-svg-renderer';
|
|
3
|
+
/**
|
|
4
|
+
* SVG Rendering from 3d scenes helper plugin using [three-svg-renderer](https://www.npmjs.com/package/three-svg-renderer) (GPLV3 Licenced)
|
|
5
|
+
*/
|
|
6
|
+
export declare class ThreeSVGRendererPlugin extends AViewerPluginSync<''> {
|
|
7
|
+
readonly autoAddToContainer: boolean;
|
|
8
|
+
static readonly PluginType = "ThreeSVGRendererPlugin";
|
|
9
|
+
enabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Automatically render when camera or any object changes.
|
|
12
|
+
*/
|
|
13
|
+
autoRender: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Use the fill pass to draw polygons.(both fills and strokes)
|
|
16
|
+
*/
|
|
17
|
+
drawPolygons: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Draw polygon fills. (fill color from material.color)
|
|
20
|
+
*/
|
|
21
|
+
drawPolygonFills: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Draw polygon strokes. (stroke color from material.color)
|
|
24
|
+
*/
|
|
25
|
+
drawPolygonStrokes: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Draw image fills. (fill image from rendered canvas image).
|
|
28
|
+
* Make sure canvas is rendered(and render pipeline has a render pass) before calling this.
|
|
29
|
+
*/
|
|
30
|
+
drawImageFills: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Draw visible contours of meshes.
|
|
33
|
+
*/
|
|
34
|
+
drawVisibleContours: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Draw hidden contours of meshes.
|
|
37
|
+
*/
|
|
38
|
+
drawHiddenContours: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Update meshes on every render. If this is false, meshes will only be updated when they change. (tracked using objectUpdate event)
|
|
41
|
+
*/
|
|
42
|
+
alwaysUpdateMeshes: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Min and Max Crease angle for mesh edges.
|
|
45
|
+
*/
|
|
46
|
+
creaseAngle: Vector2;
|
|
47
|
+
/**
|
|
48
|
+
* Automatically create SVG objects for all meshes in the scene.
|
|
49
|
+
* If this is false, you will have to manually create SVG objects for meshes using `makeSVGObject` method.
|
|
50
|
+
*/
|
|
51
|
+
autoMakeSvgObjects: boolean;
|
|
52
|
+
readonly renderer: SVGRenderer;
|
|
53
|
+
readonly svgNodeContainer: HTMLDivElement;
|
|
54
|
+
protected readonly _fillPass: FillPass;
|
|
55
|
+
setDirty(...args: any[]): any;
|
|
56
|
+
/**
|
|
57
|
+
* @param enabled
|
|
58
|
+
* @param autoAddToContainer - automatically add the svg to the viewer container and style it same as the viewer is position is absolute
|
|
59
|
+
*/
|
|
60
|
+
constructor(enabled?: boolean, autoAddToContainer?: boolean);
|
|
61
|
+
protected _lastStyles?: string;
|
|
62
|
+
onAdded(viewer: ThreeViewer): void;
|
|
63
|
+
private _meshesNeedsUpdate;
|
|
64
|
+
updateMeshes(): void;
|
|
65
|
+
onRemove(viewer: ThreeViewer): void;
|
|
66
|
+
protected _onMeshDispose(ev: any): void;
|
|
67
|
+
protected _onMeshUpdate(ev: any): void;
|
|
68
|
+
protected _meshes: Map<string, SVGMesh>;
|
|
69
|
+
protected _refreshMeshes(root?: IObject3D): never[] | undefined;
|
|
70
|
+
makeSVGObject(o: IObject3D): void;
|
|
71
|
+
private _rendering;
|
|
72
|
+
static SVG_RENDER_TIMEOUT: number;
|
|
73
|
+
protected _toggleMaterialRendering(meshes: SVGMesh[], enable: boolean): void;
|
|
74
|
+
render(): Promise<string | undefined>;
|
|
75
|
+
download(): void;
|
|
76
|
+
protected _viewerListeners: {
|
|
77
|
+
postRender: (_: IViewerEvent) => void;
|
|
78
|
+
};
|
|
79
|
+
get svgNode(): Element | undefined;
|
|
80
|
+
protected _refreshParams(): void;
|
|
81
|
+
protected _onResize(): void;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @license
|
|
85
|
+
* three-svg-renderer
|
|
86
|
+
*
|
|
87
|
+
* GNU GENERAL PUBLIC LICENSE
|
|
88
|
+
* Version 3, 29 June 2007
|
|
89
|
+
*
|
|
90
|
+
* Copyright (c) 2022 Axel Antoine
|
|
91
|
+
*/
|
|
92
|
+
/**
|
|
93
|
+
* @license
|
|
94
|
+
* three-mesh-halfedge
|
|
95
|
+
*
|
|
96
|
+
* MIT License
|
|
97
|
+
*
|
|
98
|
+
* Copyright (c) 2022 Axel Antoine
|
|
99
|
+
*/
|
|
100
|
+
//# sourceMappingURL=ThreeSVGRendererPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThreeSVGRendererPlugin.d.ts","sourceRoot":"","sources":["../src/ThreeSVGRendererPlugin.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,iBAAiB,EACjB,SAAS,EACT,KAAK,YAAY,EAIjB,WAAW,EAMX,OAAO,EACV,MAAM,WAAW,CAAA;AAClB,OAAO,EAAC,QAAQ,EAAmB,OAAO,EAAE,WAAW,EAAmB,MAAM,sBAAsB,CAAA;AAGtG;;EAEE;AACF,qBACa,sBAAuB,SAAQ,iBAAiB,CAAC,EAAE,CAAC;IA+FjC,QAAQ,CAAC,kBAAkB;IA9FvD,MAAM,CAAC,QAAQ,CAAC,UAAU,4BAA2B;IAIjD,OAAO,UAAO;IAClB;;OAEG;IAGC,UAAU,UAAO;IAErB;;OAEG;IAGC,YAAY,UAAO;IACvB;;OAEG;IAGC,gBAAgB,UAAO;IAC3B;;OAEG;IAGC,kBAAkB,UAAO;IAC7B;;;OAGG;IAGC,cAAc,UAAQ;IAC1B;;OAEG;IAGC,mBAAmB,UAAO;IAC9B;;OAEG;IAGC,kBAAkB,UAAO;IAE7B;;OAEG;IAGC,kBAAkB,UAAO;IAE7B;;OAEG;IAGC,WAAW,UAAuB;IAEtC;;;OAGG;IAGC,kBAAkB,UAAO;IAE7B,QAAQ,CAAC,QAAQ,cAAoB;IACrC,QAAQ,CAAC,gBAAgB,iBAAgC;IACzD,SAAS,CAAC,QAAQ,CAAC,SAAS,EAAE,QAAQ,CAAA;IAEtC,QAAQ,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,GAAG;IAc7B;;;OAGG;gBACS,OAAO,UAAO,EAAW,kBAAkB,UAAO;IAoC9D,SAAS,CAAC,WAAW,CAAC,EAAE,MAAM,CAAY;IAC1C,OAAO,CAAC,MAAM,EAAE,WAAW;IAyB3B,OAAO,CAAC,kBAAkB,CAAO;IACjC,YAAY;IAKZ,QAAQ,CAAC,MAAM,EAAE,WAAW;IAe5B,SAAS,CAAC,cAAc,CAAC,EAAE,EAAE,GAAG;IAUhC,SAAS,CAAC,aAAa,CAAC,EAAE,EAAE,GAAG;IAO/B,SAAS,CAAC,OAAO,uBAA6B;IAC9C,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE,SAAS;IASzC,aAAa,CAAC,CAAC,EAAE,SAAS;IAa1B,OAAO,CAAC,UAAU,CAAQ;IAE1B,MAAM,CAAC,kBAAkB,SAAO;IAEhC,SAAS,CAAC,wBAAwB,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,MAAM,EAAE,OAAO;IAuB/D,MAAM;IAiEZ,QAAQ;IAMR,SAAS,CAAC,gBAAgB;wBACN,YAAY;MAG/B;IAED,IAAI,OAAO,wBAMV;IAED,SAAS,CAAC,cAAc;IA2BxB,SAAS,CAAC,SAAS;CAKtB;AAID;;;;;;;;GAQG;AACH;;;;;;;GAOG"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SVGRenderer } from 'three/examples/jsm/renderers/SVGRenderer.js';
|
|
2
|
+
export declare class BasicSVGRenderer extends SVGRenderer {
|
|
3
|
+
autoClear: boolean;
|
|
4
|
+
sortObjects: boolean;
|
|
5
|
+
sortElements: boolean;
|
|
6
|
+
overdraw: number;
|
|
7
|
+
quality: 'low' | 'high';
|
|
8
|
+
private _refresh;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=BasicSVGRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicSVGRenderer.d.ts","sourceRoot":"","sources":["../../src/basic/BasicSVGRenderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,6CAA6C,CAAA;AAIvE,qBACa,gBAAiB,SAAQ,WAAW;IAEzC,SAAS,EAAE,OAAO,CAAA;IAElB,WAAW,EAAE,OAAO,CAAA;IAEpB,YAAY,EAAE,OAAO,CAAA;IAErB,QAAQ,EAAE,MAAM,CAAA;IAIhB,OAAO,EAAE,KAAK,GAAG,MAAM,CAAS;IAEpC,OAAO,CAAC,QAAQ;CAGnB"}
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
Name: three
|
|
2
|
+
Version: 0.164.1
|
|
3
|
+
License: MIT
|
|
4
|
+
Private: false
|
|
5
|
+
Description: JavaScript 3D library
|
|
6
|
+
Repository: https://github.com/mrdoob/three.js
|
|
7
|
+
Homepage: https://threejs.org/
|
|
8
|
+
Author: mrdoob
|
|
9
|
+
License Copyright:
|
|
10
|
+
===
|
|
11
|
+
|
|
12
|
+
The MIT License
|
|
13
|
+
|
|
14
|
+
Copyright © 2010-2024 three.js authors
|
|
15
|
+
|
|
16
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
17
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
18
|
+
in the Software without restriction, including without limitation the rights
|
|
19
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
20
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
21
|
+
furnished to do so, subject to the following conditions:
|
|
22
|
+
|
|
23
|
+
The above copyright notice and this permission notice shall be included in
|
|
24
|
+
all copies or substantial portions of the Software.
|
|
25
|
+
|
|
26
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
27
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
28
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
29
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
30
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
31
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
32
|
+
THE SOFTWARE.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
Name: uiconfig.js
|
|
38
|
+
Version: 0.0.12
|
|
39
|
+
License: MIT
|
|
40
|
+
Private: false
|
|
41
|
+
Description: A framework for building user interface layouts with JSON configuration.
|
|
42
|
+
Repository: git+https://github.com/repalash/uiconfig.js.git
|
|
43
|
+
Homepage: https://github.com/repalash/uiconfig.js#readme
|
|
44
|
+
Author: repalash <palash@shaders.app>
|
|
45
|
+
License Copyright:
|
|
46
|
+
===
|
|
47
|
+
|
|
48
|
+
MIT License
|
|
49
|
+
|
|
50
|
+
Copyright (c) 2022 repalash
|
|
51
|
+
|
|
52
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
53
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
54
|
+
in the Software without restriction, including without limitation the rights
|
|
55
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
56
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
57
|
+
furnished to do so, subject to the following conditions:
|
|
58
|
+
|
|
59
|
+
The above copyright notice and this permission notice shall be included in all
|
|
60
|
+
copies or substantial portions of the Software.
|
|
61
|
+
|
|
62
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
63
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
64
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
65
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
66
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
67
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
68
|
+
SOFTWARE.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
Name: ts-browser-helpers
|
|
74
|
+
Version: 0.12.0
|
|
75
|
+
License: MIT
|
|
76
|
+
Private: false
|
|
77
|
+
Description: A collection of utility classes, functions and decorators for javascript/typescript projects, for use in the browser.
|
|
78
|
+
Repository: git://github.com/repalash/ts-browser-helpers.git
|
|
79
|
+
Homepage: https://github.com/repalash/ts-browser-helpers#readme
|
|
80
|
+
Author: repalash <palash@shaders.app>
|
|
81
|
+
License Copyright:
|
|
82
|
+
===
|
|
83
|
+
|
|
84
|
+
MIT License
|
|
85
|
+
|
|
86
|
+
Copyright (c) 2023 repalash <palash@shaders.app>
|
|
87
|
+
|
|
88
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
89
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
90
|
+
in the Software without restriction, including without limitation the rights
|
|
91
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
92
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
93
|
+
furnished to do so, subject to the following conditions:
|
|
94
|
+
|
|
95
|
+
The above copyright notice and this permission notice shall be included in all
|
|
96
|
+
copies or substantial portions of the Software.
|
|
97
|
+
|
|
98
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
99
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
100
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
101
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
102
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
103
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
104
|
+
SOFTWARE.
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
Name: arrangement-2d-js
|
|
110
|
+
Version: 1.0.0
|
|
111
|
+
License: null
|
|
112
|
+
Private: false
|
|
113
|
+
Description: CGAL 2D Arrangement package example
|
|
114
|
+
Author: Axel Antoine <ax.antoine@gmail.com> (https://axantoine.com)
|
|
115
|
+
License Copyright:
|
|
116
|
+
===
|
|
117
|
+
|
|
118
|
+
MIT License
|
|
119
|
+
|
|
120
|
+
Copyright (c) 2022 Axel Antoine
|
|
121
|
+
|
|
122
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
123
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
124
|
+
in the Software without restriction, including without limitation the rights
|
|
125
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
126
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
127
|
+
furnished to do so, subject to the following conditions:
|
|
128
|
+
|
|
129
|
+
The above copyright notice and this permission notice shall be included in all
|
|
130
|
+
copies or substantial portions of the Software.
|
|
131
|
+
|
|
132
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
133
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
134
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
135
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
136
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
137
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
138
|
+
SOFTWARE.
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
Name: fast-triangle-triangle-intersection
|
|
144
|
+
Version: 1.0.7
|
|
145
|
+
License: MIT
|
|
146
|
+
Private: false
|
|
147
|
+
Description: Fast and robust triangle-triangle intersection test with high precision for cross and coplanar triangles based on the algorithm by Devillers & Guigue.
|
|
148
|
+
Author: Axel Antoine <ax.antoine@gmail.com> (https://axantoine.com)
|
|
149
|
+
License Copyright:
|
|
150
|
+
===
|
|
151
|
+
|
|
152
|
+
MIT License
|
|
153
|
+
|
|
154
|
+
Copyright (c) 2022 minitoine
|
|
155
|
+
|
|
156
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
157
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
158
|
+
in the Software without restriction, including without limitation the rights
|
|
159
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
160
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
161
|
+
furnished to do so, subject to the following conditions:
|
|
162
|
+
|
|
163
|
+
The above copyright notice and this permission notice shall be included in all
|
|
164
|
+
copies or substantial portions of the Software.
|
|
165
|
+
|
|
166
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
167
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
168
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
169
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
170
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
171
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
172
|
+
SOFTWARE.
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
---
|
|
176
|
+
|
|
177
|
+
Name: isect
|
|
178
|
+
Version: 3.0.2
|
|
179
|
+
License: null
|
|
180
|
+
Private: false
|
|
181
|
+
License Copyright:
|
|
182
|
+
===
|
|
183
|
+
|
|
184
|
+
MIT License
|
|
185
|
+
|
|
186
|
+
Copyright (c) 2018-2023 Andrei Kashcha
|
|
187
|
+
|
|
188
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
189
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
190
|
+
in the Software without restriction, including without limitation the rights
|
|
191
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
192
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
193
|
+
furnished to do so, subject to the following conditions:
|
|
194
|
+
|
|
195
|
+
The above copyright notice and this permission notice shall be included in all
|
|
196
|
+
copies or substantial portions of the Software.
|
|
197
|
+
|
|
198
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
199
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
200
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
201
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
202
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
203
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
204
|
+
SOFTWARE.
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
Name: @svgdotjs/svg.js
|
|
210
|
+
Version: 3.2.0
|
|
211
|
+
License: MIT
|
|
212
|
+
Private: false
|
|
213
|
+
Description: A lightweight library for manipulating and animating SVG.
|
|
214
|
+
Repository: https://github.com/svgdotjs/svg.js.git
|
|
215
|
+
Homepage: https://svgjs.dev/
|
|
216
|
+
Author: Wout Fierens <wout@mick-wout.com>
|
|
217
|
+
License Copyright:
|
|
218
|
+
===
|
|
219
|
+
|
|
220
|
+
Copyright (c) 2012-2018 Wout Fierens
|
|
221
|
+
https://svgdotjs.github.io/
|
|
222
|
+
|
|
223
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
224
|
+
a copy of this software and associated documentation files (the
|
|
225
|
+
"Software"), to deal in the Software without restriction, including
|
|
226
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
227
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
228
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
229
|
+
the following conditions:
|
|
230
|
+
|
|
231
|
+
The above copyright notice and this permission notice shall be
|
|
232
|
+
included in all copies or substantial portions of the Software.
|
|
233
|
+
|
|
234
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
235
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
236
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
237
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
238
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
239
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
240
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
---
|
|
244
|
+
|
|
245
|
+
Name: @svgdotjs/svg.topath.js
|
|
246
|
+
Version: 2.0.3
|
|
247
|
+
License: MIT
|
|
248
|
+
Private: false
|
|
249
|
+
Description: An extension for svg.js to convert shapes to paths
|
|
250
|
+
Repository: https://github.com/svgdotjs/svg.topath.js.git
|
|
251
|
+
Homepage: https://github.com/svgdotjs/svg.topath.js
|
|
252
|
+
Author: Wout Fierens
|
|
253
|
+
Contributors:
|
|
254
|
+
Wout Fierens
|
|
255
|
+
Ulrich-Matthias Schäfer
|
|
256
|
+
License Copyright:
|
|
257
|
+
===
|
|
258
|
+
|
|
259
|
+
The MIT License (MIT)
|
|
260
|
+
|
|
261
|
+
Copyright (c) 2018 Wout Fierens
|
|
262
|
+
|
|
263
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
264
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
265
|
+
in the Software without restriction, including without limitation the rights
|
|
266
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
267
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
268
|
+
furnished to do so, subject to the following conditions:
|
|
269
|
+
|
|
270
|
+
The above copyright notice and this permission notice shall be included in all
|
|
271
|
+
copies or substantial portions of the Software.
|
|
272
|
+
|
|
273
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
274
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
275
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
276
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
277
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
278
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
279
|
+
SOFTWARE.
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
Name: three-mesh-bvh
|
|
285
|
+
Version: 0.7.4
|
|
286
|
+
License: MIT
|
|
287
|
+
Private: false
|
|
288
|
+
Description: A BVH implementation to speed up raycasting against three.js meshes.
|
|
289
|
+
Repository: git+https://github.com/gkjohnson/three-mesh-bvh.git
|
|
290
|
+
Homepage: https://github.com/gkjohnson/three-mesh-bvh#readme
|
|
291
|
+
Author: Garrett Johnson <garrett.kjohnson@gmail.com>
|
|
292
|
+
License Copyright:
|
|
293
|
+
===
|
|
294
|
+
|
|
295
|
+
MIT License
|
|
296
|
+
|
|
297
|
+
Copyright (c) 2018 Garrett Johnson
|
|
298
|
+
|
|
299
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
300
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
301
|
+
in the Software without restriction, including without limitation the rights
|
|
302
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
303
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
304
|
+
furnished to do so, subject to the following conditions:
|
|
305
|
+
|
|
306
|
+
The above copyright notice and this permission notice shall be included in all
|
|
307
|
+
copies or substantial portions of the Software.
|
|
308
|
+
|
|
309
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
310
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
311
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
312
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
313
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
314
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
315
|
+
SOFTWARE.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { BasicSVGRendererPlugin } from './BasicSVGRendererPlugin';
|
|
2
|
+
export { ThreeSVGRendererPlugin } from './ThreeSVGRendererPlugin';
|
|
3
|
+
export * from './basic/BasicSVGRenderer';
|
|
4
|
+
export { FillPass, SVGMesh, SVGRenderer, DrawPass, SVGRenderInfo, SVGDrawInfo, ViewmapBuildInfo, Viewmap, SVGDrawHandler } from './three-svg-renderer';
|
|
5
|
+
export type { SVGMeshOptions, SVGDrawOptions, ViewmapOptions, FillPassOptions, SVGTexture } from './three-svg-renderer';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAA;AAC/D,OAAO,EAAC,sBAAsB,EAAC,MAAM,0BAA0B,CAAA;AAC/D,cAAc,0BAA0B,CAAA;AACxC,OAAO,EAAC,QAAQ,EAAE,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAE,OAAO,EAAE,cAAc,EAAC,MAAM,sBAAsB,CAAA;AACpJ,YAAY,EAAC,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,UAAU,EAAC,MAAM,sBAAsB,CAAA"}
|