opengeometry 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +12 -0
- package/index.js +627 -415
- package/index.js.map +1 -1
- package/opengeometry/pkg/opengeometry.d.ts +131 -123
- package/opengeometry/pkg/opengeometry.js +68 -33
- package/opengeometry/pkg/opengeometry_bg.wasm +0 -0
- package/opengeometry/pkg/opengeometry_bg.wasm.d.ts +126 -122
- package/opengeometry_bg.wasm +0 -0
- package/opengeometry_bg.wasm.d.ts +126 -122
- package/package.json +1 -1
- package/src/base-types.d.ts +7 -1
- package/src/editor/freeform.d.ts +63 -0
- package/src/editor/index.d.ts +3 -0
- package/src/editor/parametric.d.ts +10 -0
- package/src/editor/types.d.ts +72 -0
- package/src/examples/booleans.d.ts +2 -1
- package/src/freeform/geometry.d.ts +59 -0
- package/src/freeform/index.d.ts +3 -0
- package/src/freeform/types.d.ts +12 -0
- package/src/operations/boolean.d.ts +15 -0
- package/src/operations/extrude.d.ts +9 -0
- package/src/operations/index.d.ts +1 -0
- package/src/primitives/arc.d.ts +15 -0
- package/src/primitives/curve.d.ts +18 -0
- package/src/primitives/line.d.ts +15 -0
- package/src/primitives/polyline.d.ts +18 -0
- package/src/primitives/rectangle.d.ts +18 -0
- package/src/shapes/boolean-subtract.d.ts +9 -0
- package/src/shapes/cuboid.d.ts +15 -0
- package/src/shapes/cylinder.d.ts +15 -0
- package/src/shapes/extrusion.d.ts +64 -0
- package/src/shapes/index.d.ts +1 -1
- package/src/shapes/opening.d.ts +15 -0
- package/src/shapes/outline-utils.d.ts +21 -0
- package/src/shapes/polygon.d.ts +31 -7
- package/src/shapes/solid.d.ts +111 -0
- package/src/shapes/sphere.d.ts +15 -0
- package/src/shapes/sweep.d.ts +15 -0
- package/src/shapes/wedge.d.ts +15 -0
- package/src/shapes/extruded-shape.d.ts +0 -49
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_ogfreeformgeometry_free: (a: number, b: number) => void;
|
|
5
|
-
export const ogfreeformgeometry_new: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
6
|
-
export const ogfreeformgeometry_id: (a: number) => [number, number];
|
|
7
|
-
export const ogfreeformgeometry_getBrepSerialized: (a: number) => [number, number];
|
|
8
|
-
export const ogfreeformgeometry_getLocalBrepSerialized: (a: number) => [number, number];
|
|
9
|
-
export const ogfreeformgeometry_getGeometrySerialized: (a: number) => [number, number];
|
|
10
|
-
export const ogfreeformgeometry_getOutlineGeometrySerialized: (a: number) => [number, number];
|
|
11
|
-
export const ogfreeformgeometry_getPlacementSerialized: (a: number) => [number, number];
|
|
12
|
-
export const ogfreeformgeometry_setPlacementSerialized: (a: number, b: number, c: number) => [number, number];
|
|
13
|
-
export const ogfreeformgeometry_setTransform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
14
|
-
export const ogfreeformgeometry_setTranslation: (a: number, b: number) => void;
|
|
15
|
-
export const ogfreeformgeometry_setRotation: (a: number, b: number) => void;
|
|
16
|
-
export const ogfreeformgeometry_setScale: (a: number, b: number) => [number, number];
|
|
17
|
-
export const ogfreeformgeometry_setAnchor: (a: number, b: number) => void;
|
|
18
4
|
export const __wbg_ogcylinder_free: (a: number, b: number) => void;
|
|
19
5
|
export const ogcylinder_set_id: (a: number, b: number, c: number) => void;
|
|
20
6
|
export const ogcylinder_id: (a: number) => [number, number];
|
|
@@ -39,6 +25,44 @@ export const ogcylinder_get_local_outline_geometry_serialized: (a: number) => [n
|
|
|
39
25
|
export const ogcylinder_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
40
26
|
export const ogcylinder_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
41
27
|
export const ogcylinder_get_anchor: (a: number) => number;
|
|
28
|
+
export const __wbg_ogfreeformgeometry_free: (a: number, b: number) => void;
|
|
29
|
+
export const ogfreeformgeometry_new: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
30
|
+
export const ogfreeformgeometry_id: (a: number) => [number, number];
|
|
31
|
+
export const ogfreeformgeometry_getBrepSerialized: (a: number) => [number, number];
|
|
32
|
+
export const ogfreeformgeometry_getLocalBrepSerialized: (a: number) => [number, number];
|
|
33
|
+
export const ogfreeformgeometry_getGeometrySerialized: (a: number) => [number, number];
|
|
34
|
+
export const ogfreeformgeometry_getGeometryBuffer: (a: number) => [number, number];
|
|
35
|
+
export const ogfreeformgeometry_getLocalGeometryBuffer: (a: number) => [number, number];
|
|
36
|
+
export const ogfreeformgeometry_getOutlineGeometrySerialized: (a: number) => [number, number];
|
|
37
|
+
export const ogfreeformgeometry_getOutlineGeometryBuffer: (a: number) => [number, number];
|
|
38
|
+
export const ogfreeformgeometry_getLocalOutlineGeometryBuffer: (a: number) => [number, number];
|
|
39
|
+
export const ogfreeformgeometry_getPlacementSerialized: (a: number) => [number, number];
|
|
40
|
+
export const ogfreeformgeometry_setPlacementSerialized: (a: number, b: number, c: number) => [number, number];
|
|
41
|
+
export const ogfreeformgeometry_setTransform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
42
|
+
export const ogfreeformgeometry_setTranslation: (a: number, b: number) => void;
|
|
43
|
+
export const ogfreeformgeometry_setRotation: (a: number, b: number) => void;
|
|
44
|
+
export const ogfreeformgeometry_setScale: (a: number, b: number) => [number, number];
|
|
45
|
+
export const ogfreeformgeometry_setAnchor: (a: number, b: number) => void;
|
|
46
|
+
export const __wbg_ogarc_free: (a: number, b: number) => void;
|
|
47
|
+
export const ogarc_set_id: (a: number, b: number, c: number) => void;
|
|
48
|
+
export const ogarc_id: (a: number) => [number, number];
|
|
49
|
+
export const ogarc_new: (a: number, b: number) => number;
|
|
50
|
+
export const ogarc_set_config: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
51
|
+
export const ogarc_set_center: (a: number, b: number) => void;
|
|
52
|
+
export const ogarc_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
53
|
+
export const ogarc_set_translation: (a: number, b: number) => void;
|
|
54
|
+
export const ogarc_set_rotation: (a: number, b: number) => void;
|
|
55
|
+
export const ogarc_set_scale: (a: number, b: number) => [number, number];
|
|
56
|
+
export const ogarc_generate_geometry: (a: number) => [number, number];
|
|
57
|
+
export const ogarc_dispose_points: (a: number) => void;
|
|
58
|
+
export const ogarc_destroy: (a: number) => void;
|
|
59
|
+
export const ogarc_get_brep_serialized: (a: number) => [number, number];
|
|
60
|
+
export const ogarc_get_local_brep_serialized: (a: number) => [number, number];
|
|
61
|
+
export const ogarc_get_geometry_serialized: (a: number) => [number, number];
|
|
62
|
+
export const ogarc_get_local_geometry_serialized: (a: number) => [number, number];
|
|
63
|
+
export const ogarc_get_geometry_buffer: (a: number) => [number, number];
|
|
64
|
+
export const ogarc_get_local_geometry_buffer: (a: number) => [number, number];
|
|
65
|
+
export const ogarc_get_anchor: (a: number) => number;
|
|
42
66
|
export const __wbg_ogpolygon_free: (a: number, b: number) => void;
|
|
43
67
|
export const ogpolygon_set_id: (a: number, b: number, c: number) => void;
|
|
44
68
|
export const ogpolygon_id: (a: number) => [number, number];
|
|
@@ -66,7 +90,93 @@ export const ogpolygon_set_anchor: (a: number, b: number) => [number, number];
|
|
|
66
90
|
export const ogpolygon_reset_anchor: (a: number) => [number, number];
|
|
67
91
|
export const ogpolygon_set_config: (a: number, b: number, c: number) => [number, number];
|
|
68
92
|
export const ogpolygon_generate_geometry: (a: number) => [number, number];
|
|
93
|
+
export const __wbg_ogsphere_free: (a: number, b: number) => void;
|
|
94
|
+
export const ogsphere_set_id: (a: number, b: number, c: number) => void;
|
|
95
|
+
export const ogsphere_id: (a: number) => [number, number];
|
|
96
|
+
export const ogsphere_new: (a: number, b: number) => number;
|
|
97
|
+
export const ogsphere_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
98
|
+
export const ogsphere_set_center: (a: number, b: number) => void;
|
|
99
|
+
export const ogsphere_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
100
|
+
export const ogsphere_set_translation: (a: number, b: number) => void;
|
|
101
|
+
export const ogsphere_set_rotation: (a: number, b: number) => void;
|
|
102
|
+
export const ogsphere_set_scale: (a: number, b: number) => [number, number];
|
|
103
|
+
export const ogsphere_generate_brep: (a: number) => [number, number];
|
|
104
|
+
export const ogsphere_clean_geometry: (a: number) => void;
|
|
105
|
+
export const ogsphere_generate_geometry: (a: number) => [number, number];
|
|
106
|
+
export const ogsphere_get_brep_serialized: (a: number) => [number, number];
|
|
107
|
+
export const ogsphere_get_local_brep_serialized: (a: number) => [number, number];
|
|
108
|
+
export const ogsphere_get_geometry_serialized: (a: number) => [number, number];
|
|
109
|
+
export const ogsphere_get_local_geometry_serialized: (a: number) => [number, number];
|
|
110
|
+
export const ogsphere_get_geometry_buffer: (a: number) => [number, number];
|
|
111
|
+
export const ogsphere_get_local_geometry_buffer: (a: number) => [number, number];
|
|
112
|
+
export const ogsphere_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
113
|
+
export const ogsphere_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
114
|
+
export const ogsphere_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
115
|
+
export const ogsphere_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
116
|
+
export const ogsphere_get_anchor: (a: number) => number;
|
|
117
|
+
export const __wbg_ogbooleanresult_free: (a: number, b: number) => void;
|
|
118
|
+
export const ogbooleanresult_brepSerialized: (a: number) => [number, number];
|
|
119
|
+
export const ogbooleanresult_geometrySerialized: (a: number) => [number, number];
|
|
120
|
+
export const ogbooleanresult_outlineGeometrySerialized: (a: number) => [number, number];
|
|
121
|
+
export const ogbooleanresult_reportJson: (a: number) => [number, number];
|
|
122
|
+
export const booleanUnion: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
123
|
+
export const booleanIntersection: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
124
|
+
export const booleanSubtraction: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
125
|
+
export const __wbg_ogcuboid_free: (a: number, b: number) => void;
|
|
126
|
+
export const ogcuboid_set_id: (a: number, b: number, c: number) => void;
|
|
127
|
+
export const ogcuboid_id: (a: number) => [number, number];
|
|
128
|
+
export const ogcuboid_new: (a: number, b: number) => number;
|
|
129
|
+
export const ogcuboid_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
130
|
+
export const ogcuboid_set_center: (a: number, b: number) => void;
|
|
131
|
+
export const ogcuboid_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
132
|
+
export const ogcuboid_set_translation: (a: number, b: number) => void;
|
|
133
|
+
export const ogcuboid_set_rotation: (a: number, b: number) => void;
|
|
134
|
+
export const ogcuboid_set_scale: (a: number, b: number) => [number, number];
|
|
135
|
+
export const ogcuboid_generate_geometry: (a: number) => [number, number];
|
|
136
|
+
export const ogcuboid_get_brep_serialized: (a: number) => [number, number];
|
|
137
|
+
export const ogcuboid_get_local_brep_serialized: (a: number) => [number, number];
|
|
138
|
+
export const ogcuboid_get_geometry_serialized: (a: number) => [number, number];
|
|
139
|
+
export const ogcuboid_get_local_geometry_serialized: (a: number) => [number, number];
|
|
140
|
+
export const ogcuboid_get_geometry_buffer: (a: number) => [number, number];
|
|
141
|
+
export const ogcuboid_get_local_geometry_buffer: (a: number) => [number, number];
|
|
142
|
+
export const ogcuboid_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
143
|
+
export const ogcuboid_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
144
|
+
export const ogcuboid_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
145
|
+
export const ogcuboid_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
146
|
+
export const ogcuboid_get_anchor: (a: number) => number;
|
|
147
|
+
export const __wbg_ogsweep_free: (a: number, b: number) => void;
|
|
148
|
+
export const ogsweep_set_id: (a: number, b: number, c: number) => void;
|
|
149
|
+
export const ogsweep_id: (a: number) => [number, number];
|
|
150
|
+
export const ogsweep_new: (a: number, b: number) => number;
|
|
151
|
+
export const ogsweep_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
152
|
+
export const ogsweep_set_config_with_caps: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
153
|
+
export const ogsweep_set_caps: (a: number, b: number, c: number) => [number, number];
|
|
154
|
+
export const ogsweep_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
155
|
+
export const ogsweep_set_translation: (a: number, b: number) => void;
|
|
156
|
+
export const ogsweep_set_rotation: (a: number, b: number) => void;
|
|
157
|
+
export const ogsweep_set_scale: (a: number, b: number) => [number, number];
|
|
158
|
+
export const ogsweep_generate_brep: (a: number) => [number, number];
|
|
159
|
+
export const ogsweep_clean_geometry: (a: number) => void;
|
|
160
|
+
export const ogsweep_generate_geometry: (a: number) => [number, number];
|
|
161
|
+
export const ogsweep_get_brep_serialized: (a: number) => [number, number];
|
|
162
|
+
export const ogsweep_get_local_brep_serialized: (a: number) => [number, number];
|
|
163
|
+
export const ogsweep_get_geometry_serialized: (a: number) => [number, number];
|
|
164
|
+
export const ogsweep_get_local_geometry_serialized: (a: number) => [number, number];
|
|
165
|
+
export const ogsweep_get_geometry_buffer: (a: number) => [number, number];
|
|
166
|
+
export const ogsweep_get_local_geometry_buffer: (a: number) => [number, number];
|
|
167
|
+
export const ogsweep_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
168
|
+
export const ogsweep_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
169
|
+
export const ogsweep_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
170
|
+
export const ogsweep_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
171
|
+
export const ogsweep_get_anchor: (a: number) => number;
|
|
172
|
+
export const ogsweep_set_anchor: (a: number, b: number) => [number, number];
|
|
173
|
+
export const ogsweep_reset_anchor: (a: number) => [number, number];
|
|
174
|
+
export const __wbg_ogstlexportresult_free: (a: number, b: number) => void;
|
|
69
175
|
export const ogstlexportresult_bytes: (a: number) => [number, number];
|
|
176
|
+
export const ogstlexportresult_reportJson: (a: number) => [number, number];
|
|
177
|
+
export const __wbg_ogstepexportresult_free: (a: number, b: number) => void;
|
|
178
|
+
export const ogstepexportresult_text: (a: number) => [number, number];
|
|
179
|
+
export const ogstepexportresult_reportJson: (a: number) => [number, number];
|
|
70
180
|
export const __wbg_ogifcexportresult_free: (a: number, b: number) => void;
|
|
71
181
|
export const ogifcexportresult_text: (a: number) => [number, number];
|
|
72
182
|
export const ogifcexportresult_reportJson: (a: number) => [number, number];
|
|
@@ -114,117 +224,10 @@ export const ogscenemanager_exportCurrentSceneToStep: (a: number, b: number, c:
|
|
|
114
224
|
export const ogscenemanager_exportBrepToIfc: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
115
225
|
export const ogscenemanager_exportSceneToIfc: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
116
226
|
export const ogscenemanager_exportCurrentSceneToIfc: (a: number, b: number, c: number) => [number, number, number];
|
|
117
|
-
export const __wbg_ogstlexportresult_free: (a: number, b: number) => void;
|
|
118
|
-
export const __wbg_ogstepexportresult_free: (a: number, b: number) => void;
|
|
119
227
|
export const ogscenemanager_replaceBrepEntityInCurrentScene: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
120
228
|
export const ogscenemanager_refreshBrepEntityInCurrentScene: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
121
|
-
export const ogstlexportresult_reportJson: (a: number) => [number, number];
|
|
122
|
-
export const ogstepexportresult_reportJson: (a: number) => [number, number];
|
|
123
|
-
export const ogstepexportresult_text: (a: number) => [number, number];
|
|
124
229
|
export const ogscenemanager_replaceBrepEntityInScene: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => [number, number];
|
|
125
230
|
export const ogscenemanager_refreshBrepEntityInScene: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => [number, number];
|
|
126
|
-
export const __wbg_ogarc_free: (a: number, b: number) => void;
|
|
127
|
-
export const ogarc_set_id: (a: number, b: number, c: number) => void;
|
|
128
|
-
export const ogarc_id: (a: number) => [number, number];
|
|
129
|
-
export const ogarc_new: (a: number, b: number) => number;
|
|
130
|
-
export const ogarc_set_config: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
131
|
-
export const ogarc_set_center: (a: number, b: number) => void;
|
|
132
|
-
export const ogarc_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
133
|
-
export const ogarc_set_translation: (a: number, b: number) => void;
|
|
134
|
-
export const ogarc_set_rotation: (a: number, b: number) => void;
|
|
135
|
-
export const ogarc_set_scale: (a: number, b: number) => [number, number];
|
|
136
|
-
export const ogarc_generate_geometry: (a: number) => [number, number];
|
|
137
|
-
export const ogarc_dispose_points: (a: number) => void;
|
|
138
|
-
export const ogarc_destroy: (a: number) => void;
|
|
139
|
-
export const ogarc_get_brep_serialized: (a: number) => [number, number];
|
|
140
|
-
export const ogarc_get_local_brep_serialized: (a: number) => [number, number];
|
|
141
|
-
export const ogarc_get_geometry_serialized: (a: number) => [number, number];
|
|
142
|
-
export const ogarc_get_local_geometry_serialized: (a: number) => [number, number];
|
|
143
|
-
export const ogarc_get_geometry_buffer: (a: number) => [number, number];
|
|
144
|
-
export const ogarc_get_local_geometry_buffer: (a: number) => [number, number];
|
|
145
|
-
export const ogarc_get_anchor: (a: number) => number;
|
|
146
|
-
export const extrudeBrepFace: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
147
|
-
export const __wbg_ogcuboid_free: (a: number, b: number) => void;
|
|
148
|
-
export const ogcuboid_set_id: (a: number, b: number, c: number) => void;
|
|
149
|
-
export const ogcuboid_id: (a: number) => [number, number];
|
|
150
|
-
export const ogcuboid_new: (a: number, b: number) => number;
|
|
151
|
-
export const ogcuboid_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
152
|
-
export const ogcuboid_set_center: (a: number, b: number) => void;
|
|
153
|
-
export const ogcuboid_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
154
|
-
export const ogcuboid_set_translation: (a: number, b: number) => void;
|
|
155
|
-
export const ogcuboid_set_rotation: (a: number, b: number) => void;
|
|
156
|
-
export const ogcuboid_set_scale: (a: number, b: number) => [number, number];
|
|
157
|
-
export const ogcuboid_generate_geometry: (a: number) => [number, number];
|
|
158
|
-
export const ogcuboid_get_brep_serialized: (a: number) => [number, number];
|
|
159
|
-
export const ogcuboid_get_local_brep_serialized: (a: number) => [number, number];
|
|
160
|
-
export const ogcuboid_get_geometry_serialized: (a: number) => [number, number];
|
|
161
|
-
export const ogcuboid_get_local_geometry_serialized: (a: number) => [number, number];
|
|
162
|
-
export const ogcuboid_get_geometry_buffer: (a: number) => [number, number];
|
|
163
|
-
export const ogcuboid_get_local_geometry_buffer: (a: number) => [number, number];
|
|
164
|
-
export const ogcuboid_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
165
|
-
export const ogcuboid_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
166
|
-
export const ogcuboid_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
167
|
-
export const ogcuboid_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
168
|
-
export const ogcuboid_get_anchor: (a: number) => number;
|
|
169
|
-
export const __wbg_ogbooleanresult_free: (a: number, b: number) => void;
|
|
170
|
-
export const ogbooleanresult_brepSerialized: (a: number) => [number, number];
|
|
171
|
-
export const ogbooleanresult_geometrySerialized: (a: number) => [number, number];
|
|
172
|
-
export const ogbooleanresult_outlineGeometrySerialized: (a: number) => [number, number];
|
|
173
|
-
export const ogbooleanresult_reportJson: (a: number) => [number, number];
|
|
174
|
-
export const booleanUnion: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
175
|
-
export const booleanIntersection: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
176
|
-
export const booleanSubtraction: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
177
|
-
export const __wbg_ogsweep_free: (a: number, b: number) => void;
|
|
178
|
-
export const ogsweep_set_id: (a: number, b: number, c: number) => void;
|
|
179
|
-
export const ogsweep_id: (a: number) => [number, number];
|
|
180
|
-
export const ogsweep_new: (a: number, b: number) => number;
|
|
181
|
-
export const ogsweep_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
182
|
-
export const ogsweep_set_config_with_caps: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
183
|
-
export const ogsweep_set_caps: (a: number, b: number, c: number) => [number, number];
|
|
184
|
-
export const ogsweep_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
185
|
-
export const ogsweep_set_translation: (a: number, b: number) => void;
|
|
186
|
-
export const ogsweep_set_rotation: (a: number, b: number) => void;
|
|
187
|
-
export const ogsweep_set_scale: (a: number, b: number) => [number, number];
|
|
188
|
-
export const ogsweep_generate_brep: (a: number) => [number, number];
|
|
189
|
-
export const ogsweep_clean_geometry: (a: number) => void;
|
|
190
|
-
export const ogsweep_generate_geometry: (a: number) => [number, number];
|
|
191
|
-
export const ogsweep_get_brep_serialized: (a: number) => [number, number];
|
|
192
|
-
export const ogsweep_get_local_brep_serialized: (a: number) => [number, number];
|
|
193
|
-
export const ogsweep_get_geometry_serialized: (a: number) => [number, number];
|
|
194
|
-
export const ogsweep_get_local_geometry_serialized: (a: number) => [number, number];
|
|
195
|
-
export const ogsweep_get_geometry_buffer: (a: number) => [number, number];
|
|
196
|
-
export const ogsweep_get_local_geometry_buffer: (a: number) => [number, number];
|
|
197
|
-
export const ogsweep_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
198
|
-
export const ogsweep_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
199
|
-
export const ogsweep_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
200
|
-
export const ogsweep_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
201
|
-
export const ogsweep_get_anchor: (a: number) => number;
|
|
202
|
-
export const ogsweep_set_anchor: (a: number, b: number) => [number, number];
|
|
203
|
-
export const ogsweep_reset_anchor: (a: number) => [number, number];
|
|
204
|
-
export const __wbg_ogsphere_free: (a: number, b: number) => void;
|
|
205
|
-
export const ogsphere_set_id: (a: number, b: number, c: number) => void;
|
|
206
|
-
export const ogsphere_id: (a: number) => [number, number];
|
|
207
|
-
export const ogsphere_new: (a: number, b: number) => number;
|
|
208
|
-
export const ogsphere_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
209
|
-
export const ogsphere_set_center: (a: number, b: number) => void;
|
|
210
|
-
export const ogsphere_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
211
|
-
export const ogsphere_set_translation: (a: number, b: number) => void;
|
|
212
|
-
export const ogsphere_set_rotation: (a: number, b: number) => void;
|
|
213
|
-
export const ogsphere_set_scale: (a: number, b: number) => [number, number];
|
|
214
|
-
export const ogsphere_generate_brep: (a: number) => [number, number];
|
|
215
|
-
export const ogsphere_clean_geometry: (a: number) => void;
|
|
216
|
-
export const ogsphere_generate_geometry: (a: number) => [number, number];
|
|
217
|
-
export const ogsphere_get_brep_serialized: (a: number) => [number, number];
|
|
218
|
-
export const ogsphere_get_local_brep_serialized: (a: number) => [number, number];
|
|
219
|
-
export const ogsphere_get_geometry_serialized: (a: number) => [number, number];
|
|
220
|
-
export const ogsphere_get_local_geometry_serialized: (a: number) => [number, number];
|
|
221
|
-
export const ogsphere_get_geometry_buffer: (a: number) => [number, number];
|
|
222
|
-
export const ogsphere_get_local_geometry_buffer: (a: number) => [number, number];
|
|
223
|
-
export const ogsphere_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
224
|
-
export const ogsphere_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
225
|
-
export const ogsphere_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
226
|
-
export const ogsphere_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
227
|
-
export const ogsphere_get_anchor: (a: number) => number;
|
|
228
231
|
export const __wbg_ogwedge_free: (a: number, b: number) => void;
|
|
229
232
|
export const ogwedge_set_id: (a: number, b: number, c: number) => void;
|
|
230
233
|
export const ogwedge_id: (a: number) => [number, number];
|
|
@@ -249,6 +252,7 @@ export const ogwedge_get_local_outline_geometry_serialized: (a: number) => [numb
|
|
|
249
252
|
export const ogwedge_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
250
253
|
export const ogwedge_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
251
254
|
export const ogwedge_get_anchor: (a: number) => number;
|
|
255
|
+
export const extrudeBrepFace: (a: number, b: number, c: number) => [number, number, number, number];
|
|
252
256
|
export const __wbg_ogcurve_free: (a: number, b: number) => void;
|
|
253
257
|
export const ogcurve_set_id: (a: number, b: number, c: number) => void;
|
|
254
258
|
export const ogcurve_id: (a: number) => [number, number];
|
|
@@ -417,7 +421,7 @@ export const __externref_table_alloc: () => number;
|
|
|
417
421
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
418
422
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
419
423
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
420
|
-
export const __externref_table_dealloc: (a: number) => void;
|
|
421
424
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
425
|
+
export const __externref_table_dealloc: (a: number) => void;
|
|
422
426
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
423
427
|
export const __wbindgen_start: () => void;
|
package/opengeometry_bg.wasm
CHANGED
|
Binary file
|
|
@@ -1,20 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export const memory: WebAssembly.Memory;
|
|
4
|
-
export const __wbg_ogfreeformgeometry_free: (a: number, b: number) => void;
|
|
5
|
-
export const ogfreeformgeometry_new: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
6
|
-
export const ogfreeformgeometry_id: (a: number) => [number, number];
|
|
7
|
-
export const ogfreeformgeometry_getBrepSerialized: (a: number) => [number, number];
|
|
8
|
-
export const ogfreeformgeometry_getLocalBrepSerialized: (a: number) => [number, number];
|
|
9
|
-
export const ogfreeformgeometry_getGeometrySerialized: (a: number) => [number, number];
|
|
10
|
-
export const ogfreeformgeometry_getOutlineGeometrySerialized: (a: number) => [number, number];
|
|
11
|
-
export const ogfreeformgeometry_getPlacementSerialized: (a: number) => [number, number];
|
|
12
|
-
export const ogfreeformgeometry_setPlacementSerialized: (a: number, b: number, c: number) => [number, number];
|
|
13
|
-
export const ogfreeformgeometry_setTransform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
14
|
-
export const ogfreeformgeometry_setTranslation: (a: number, b: number) => void;
|
|
15
|
-
export const ogfreeformgeometry_setRotation: (a: number, b: number) => void;
|
|
16
|
-
export const ogfreeformgeometry_setScale: (a: number, b: number) => [number, number];
|
|
17
|
-
export const ogfreeformgeometry_setAnchor: (a: number, b: number) => void;
|
|
18
4
|
export const __wbg_ogcylinder_free: (a: number, b: number) => void;
|
|
19
5
|
export const ogcylinder_set_id: (a: number, b: number, c: number) => void;
|
|
20
6
|
export const ogcylinder_id: (a: number) => [number, number];
|
|
@@ -39,6 +25,44 @@ export const ogcylinder_get_local_outline_geometry_serialized: (a: number) => [n
|
|
|
39
25
|
export const ogcylinder_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
40
26
|
export const ogcylinder_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
41
27
|
export const ogcylinder_get_anchor: (a: number) => number;
|
|
28
|
+
export const __wbg_ogfreeformgeometry_free: (a: number, b: number) => void;
|
|
29
|
+
export const ogfreeformgeometry_new: (a: number, b: number, c: number, d: number) => [number, number, number];
|
|
30
|
+
export const ogfreeformgeometry_id: (a: number) => [number, number];
|
|
31
|
+
export const ogfreeformgeometry_getBrepSerialized: (a: number) => [number, number];
|
|
32
|
+
export const ogfreeformgeometry_getLocalBrepSerialized: (a: number) => [number, number];
|
|
33
|
+
export const ogfreeformgeometry_getGeometrySerialized: (a: number) => [number, number];
|
|
34
|
+
export const ogfreeformgeometry_getGeometryBuffer: (a: number) => [number, number];
|
|
35
|
+
export const ogfreeformgeometry_getLocalGeometryBuffer: (a: number) => [number, number];
|
|
36
|
+
export const ogfreeformgeometry_getOutlineGeometrySerialized: (a: number) => [number, number];
|
|
37
|
+
export const ogfreeformgeometry_getOutlineGeometryBuffer: (a: number) => [number, number];
|
|
38
|
+
export const ogfreeformgeometry_getLocalOutlineGeometryBuffer: (a: number) => [number, number];
|
|
39
|
+
export const ogfreeformgeometry_getPlacementSerialized: (a: number) => [number, number];
|
|
40
|
+
export const ogfreeformgeometry_setPlacementSerialized: (a: number, b: number, c: number) => [number, number];
|
|
41
|
+
export const ogfreeformgeometry_setTransform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
42
|
+
export const ogfreeformgeometry_setTranslation: (a: number, b: number) => void;
|
|
43
|
+
export const ogfreeformgeometry_setRotation: (a: number, b: number) => void;
|
|
44
|
+
export const ogfreeformgeometry_setScale: (a: number, b: number) => [number, number];
|
|
45
|
+
export const ogfreeformgeometry_setAnchor: (a: number, b: number) => void;
|
|
46
|
+
export const __wbg_ogarc_free: (a: number, b: number) => void;
|
|
47
|
+
export const ogarc_set_id: (a: number, b: number, c: number) => void;
|
|
48
|
+
export const ogarc_id: (a: number) => [number, number];
|
|
49
|
+
export const ogarc_new: (a: number, b: number) => number;
|
|
50
|
+
export const ogarc_set_config: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
51
|
+
export const ogarc_set_center: (a: number, b: number) => void;
|
|
52
|
+
export const ogarc_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
53
|
+
export const ogarc_set_translation: (a: number, b: number) => void;
|
|
54
|
+
export const ogarc_set_rotation: (a: number, b: number) => void;
|
|
55
|
+
export const ogarc_set_scale: (a: number, b: number) => [number, number];
|
|
56
|
+
export const ogarc_generate_geometry: (a: number) => [number, number];
|
|
57
|
+
export const ogarc_dispose_points: (a: number) => void;
|
|
58
|
+
export const ogarc_destroy: (a: number) => void;
|
|
59
|
+
export const ogarc_get_brep_serialized: (a: number) => [number, number];
|
|
60
|
+
export const ogarc_get_local_brep_serialized: (a: number) => [number, number];
|
|
61
|
+
export const ogarc_get_geometry_serialized: (a: number) => [number, number];
|
|
62
|
+
export const ogarc_get_local_geometry_serialized: (a: number) => [number, number];
|
|
63
|
+
export const ogarc_get_geometry_buffer: (a: number) => [number, number];
|
|
64
|
+
export const ogarc_get_local_geometry_buffer: (a: number) => [number, number];
|
|
65
|
+
export const ogarc_get_anchor: (a: number) => number;
|
|
42
66
|
export const __wbg_ogpolygon_free: (a: number, b: number) => void;
|
|
43
67
|
export const ogpolygon_set_id: (a: number, b: number, c: number) => void;
|
|
44
68
|
export const ogpolygon_id: (a: number) => [number, number];
|
|
@@ -66,7 +90,93 @@ export const ogpolygon_set_anchor: (a: number, b: number) => [number, number];
|
|
|
66
90
|
export const ogpolygon_reset_anchor: (a: number) => [number, number];
|
|
67
91
|
export const ogpolygon_set_config: (a: number, b: number, c: number) => [number, number];
|
|
68
92
|
export const ogpolygon_generate_geometry: (a: number) => [number, number];
|
|
93
|
+
export const __wbg_ogsphere_free: (a: number, b: number) => void;
|
|
94
|
+
export const ogsphere_set_id: (a: number, b: number, c: number) => void;
|
|
95
|
+
export const ogsphere_id: (a: number) => [number, number];
|
|
96
|
+
export const ogsphere_new: (a: number, b: number) => number;
|
|
97
|
+
export const ogsphere_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
98
|
+
export const ogsphere_set_center: (a: number, b: number) => void;
|
|
99
|
+
export const ogsphere_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
100
|
+
export const ogsphere_set_translation: (a: number, b: number) => void;
|
|
101
|
+
export const ogsphere_set_rotation: (a: number, b: number) => void;
|
|
102
|
+
export const ogsphere_set_scale: (a: number, b: number) => [number, number];
|
|
103
|
+
export const ogsphere_generate_brep: (a: number) => [number, number];
|
|
104
|
+
export const ogsphere_clean_geometry: (a: number) => void;
|
|
105
|
+
export const ogsphere_generate_geometry: (a: number) => [number, number];
|
|
106
|
+
export const ogsphere_get_brep_serialized: (a: number) => [number, number];
|
|
107
|
+
export const ogsphere_get_local_brep_serialized: (a: number) => [number, number];
|
|
108
|
+
export const ogsphere_get_geometry_serialized: (a: number) => [number, number];
|
|
109
|
+
export const ogsphere_get_local_geometry_serialized: (a: number) => [number, number];
|
|
110
|
+
export const ogsphere_get_geometry_buffer: (a: number) => [number, number];
|
|
111
|
+
export const ogsphere_get_local_geometry_buffer: (a: number) => [number, number];
|
|
112
|
+
export const ogsphere_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
113
|
+
export const ogsphere_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
114
|
+
export const ogsphere_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
115
|
+
export const ogsphere_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
116
|
+
export const ogsphere_get_anchor: (a: number) => number;
|
|
117
|
+
export const __wbg_ogbooleanresult_free: (a: number, b: number) => void;
|
|
118
|
+
export const ogbooleanresult_brepSerialized: (a: number) => [number, number];
|
|
119
|
+
export const ogbooleanresult_geometrySerialized: (a: number) => [number, number];
|
|
120
|
+
export const ogbooleanresult_outlineGeometrySerialized: (a: number) => [number, number];
|
|
121
|
+
export const ogbooleanresult_reportJson: (a: number) => [number, number];
|
|
122
|
+
export const booleanUnion: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
123
|
+
export const booleanIntersection: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
124
|
+
export const booleanSubtraction: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
125
|
+
export const __wbg_ogcuboid_free: (a: number, b: number) => void;
|
|
126
|
+
export const ogcuboid_set_id: (a: number, b: number, c: number) => void;
|
|
127
|
+
export const ogcuboid_id: (a: number) => [number, number];
|
|
128
|
+
export const ogcuboid_new: (a: number, b: number) => number;
|
|
129
|
+
export const ogcuboid_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
130
|
+
export const ogcuboid_set_center: (a: number, b: number) => void;
|
|
131
|
+
export const ogcuboid_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
132
|
+
export const ogcuboid_set_translation: (a: number, b: number) => void;
|
|
133
|
+
export const ogcuboid_set_rotation: (a: number, b: number) => void;
|
|
134
|
+
export const ogcuboid_set_scale: (a: number, b: number) => [number, number];
|
|
135
|
+
export const ogcuboid_generate_geometry: (a: number) => [number, number];
|
|
136
|
+
export const ogcuboid_get_brep_serialized: (a: number) => [number, number];
|
|
137
|
+
export const ogcuboid_get_local_brep_serialized: (a: number) => [number, number];
|
|
138
|
+
export const ogcuboid_get_geometry_serialized: (a: number) => [number, number];
|
|
139
|
+
export const ogcuboid_get_local_geometry_serialized: (a: number) => [number, number];
|
|
140
|
+
export const ogcuboid_get_geometry_buffer: (a: number) => [number, number];
|
|
141
|
+
export const ogcuboid_get_local_geometry_buffer: (a: number) => [number, number];
|
|
142
|
+
export const ogcuboid_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
143
|
+
export const ogcuboid_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
144
|
+
export const ogcuboid_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
145
|
+
export const ogcuboid_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
146
|
+
export const ogcuboid_get_anchor: (a: number) => number;
|
|
147
|
+
export const __wbg_ogsweep_free: (a: number, b: number) => void;
|
|
148
|
+
export const ogsweep_set_id: (a: number, b: number, c: number) => void;
|
|
149
|
+
export const ogsweep_id: (a: number) => [number, number];
|
|
150
|
+
export const ogsweep_new: (a: number, b: number) => number;
|
|
151
|
+
export const ogsweep_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
152
|
+
export const ogsweep_set_config_with_caps: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
153
|
+
export const ogsweep_set_caps: (a: number, b: number, c: number) => [number, number];
|
|
154
|
+
export const ogsweep_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
155
|
+
export const ogsweep_set_translation: (a: number, b: number) => void;
|
|
156
|
+
export const ogsweep_set_rotation: (a: number, b: number) => void;
|
|
157
|
+
export const ogsweep_set_scale: (a: number, b: number) => [number, number];
|
|
158
|
+
export const ogsweep_generate_brep: (a: number) => [number, number];
|
|
159
|
+
export const ogsweep_clean_geometry: (a: number) => void;
|
|
160
|
+
export const ogsweep_generate_geometry: (a: number) => [number, number];
|
|
161
|
+
export const ogsweep_get_brep_serialized: (a: number) => [number, number];
|
|
162
|
+
export const ogsweep_get_local_brep_serialized: (a: number) => [number, number];
|
|
163
|
+
export const ogsweep_get_geometry_serialized: (a: number) => [number, number];
|
|
164
|
+
export const ogsweep_get_local_geometry_serialized: (a: number) => [number, number];
|
|
165
|
+
export const ogsweep_get_geometry_buffer: (a: number) => [number, number];
|
|
166
|
+
export const ogsweep_get_local_geometry_buffer: (a: number) => [number, number];
|
|
167
|
+
export const ogsweep_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
168
|
+
export const ogsweep_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
169
|
+
export const ogsweep_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
170
|
+
export const ogsweep_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
171
|
+
export const ogsweep_get_anchor: (a: number) => number;
|
|
172
|
+
export const ogsweep_set_anchor: (a: number, b: number) => [number, number];
|
|
173
|
+
export const ogsweep_reset_anchor: (a: number) => [number, number];
|
|
174
|
+
export const __wbg_ogstlexportresult_free: (a: number, b: number) => void;
|
|
69
175
|
export const ogstlexportresult_bytes: (a: number) => [number, number];
|
|
176
|
+
export const ogstlexportresult_reportJson: (a: number) => [number, number];
|
|
177
|
+
export const __wbg_ogstepexportresult_free: (a: number, b: number) => void;
|
|
178
|
+
export const ogstepexportresult_text: (a: number) => [number, number];
|
|
179
|
+
export const ogstepexportresult_reportJson: (a: number) => [number, number];
|
|
70
180
|
export const __wbg_ogifcexportresult_free: (a: number, b: number) => void;
|
|
71
181
|
export const ogifcexportresult_text: (a: number) => [number, number];
|
|
72
182
|
export const ogifcexportresult_reportJson: (a: number) => [number, number];
|
|
@@ -114,117 +224,10 @@ export const ogscenemanager_exportCurrentSceneToStep: (a: number, b: number, c:
|
|
|
114
224
|
export const ogscenemanager_exportBrepToIfc: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
115
225
|
export const ogscenemanager_exportSceneToIfc: (a: number, b: number, c: number, d: number, e: number) => [number, number, number];
|
|
116
226
|
export const ogscenemanager_exportCurrentSceneToIfc: (a: number, b: number, c: number) => [number, number, number];
|
|
117
|
-
export const __wbg_ogstlexportresult_free: (a: number, b: number) => void;
|
|
118
|
-
export const __wbg_ogstepexportresult_free: (a: number, b: number) => void;
|
|
119
227
|
export const ogscenemanager_replaceBrepEntityInCurrentScene: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
120
228
|
export const ogscenemanager_refreshBrepEntityInCurrentScene: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
121
|
-
export const ogstlexportresult_reportJson: (a: number) => [number, number];
|
|
122
|
-
export const ogstepexportresult_reportJson: (a: number) => [number, number];
|
|
123
|
-
export const ogstepexportresult_text: (a: number) => [number, number];
|
|
124
229
|
export const ogscenemanager_replaceBrepEntityInScene: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => [number, number];
|
|
125
230
|
export const ogscenemanager_refreshBrepEntityInScene: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number) => [number, number];
|
|
126
|
-
export const __wbg_ogarc_free: (a: number, b: number) => void;
|
|
127
|
-
export const ogarc_set_id: (a: number, b: number, c: number) => void;
|
|
128
|
-
export const ogarc_id: (a: number) => [number, number];
|
|
129
|
-
export const ogarc_new: (a: number, b: number) => number;
|
|
130
|
-
export const ogarc_set_config: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number];
|
|
131
|
-
export const ogarc_set_center: (a: number, b: number) => void;
|
|
132
|
-
export const ogarc_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
133
|
-
export const ogarc_set_translation: (a: number, b: number) => void;
|
|
134
|
-
export const ogarc_set_rotation: (a: number, b: number) => void;
|
|
135
|
-
export const ogarc_set_scale: (a: number, b: number) => [number, number];
|
|
136
|
-
export const ogarc_generate_geometry: (a: number) => [number, number];
|
|
137
|
-
export const ogarc_dispose_points: (a: number) => void;
|
|
138
|
-
export const ogarc_destroy: (a: number) => void;
|
|
139
|
-
export const ogarc_get_brep_serialized: (a: number) => [number, number];
|
|
140
|
-
export const ogarc_get_local_brep_serialized: (a: number) => [number, number];
|
|
141
|
-
export const ogarc_get_geometry_serialized: (a: number) => [number, number];
|
|
142
|
-
export const ogarc_get_local_geometry_serialized: (a: number) => [number, number];
|
|
143
|
-
export const ogarc_get_geometry_buffer: (a: number) => [number, number];
|
|
144
|
-
export const ogarc_get_local_geometry_buffer: (a: number) => [number, number];
|
|
145
|
-
export const ogarc_get_anchor: (a: number) => number;
|
|
146
|
-
export const extrudeBrepFace: (a: number, b: number, c: number, d: number) => [number, number, number, number];
|
|
147
|
-
export const __wbg_ogcuboid_free: (a: number, b: number) => void;
|
|
148
|
-
export const ogcuboid_set_id: (a: number, b: number, c: number) => void;
|
|
149
|
-
export const ogcuboid_id: (a: number) => [number, number];
|
|
150
|
-
export const ogcuboid_new: (a: number, b: number) => number;
|
|
151
|
-
export const ogcuboid_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
152
|
-
export const ogcuboid_set_center: (a: number, b: number) => void;
|
|
153
|
-
export const ogcuboid_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
154
|
-
export const ogcuboid_set_translation: (a: number, b: number) => void;
|
|
155
|
-
export const ogcuboid_set_rotation: (a: number, b: number) => void;
|
|
156
|
-
export const ogcuboid_set_scale: (a: number, b: number) => [number, number];
|
|
157
|
-
export const ogcuboid_generate_geometry: (a: number) => [number, number];
|
|
158
|
-
export const ogcuboid_get_brep_serialized: (a: number) => [number, number];
|
|
159
|
-
export const ogcuboid_get_local_brep_serialized: (a: number) => [number, number];
|
|
160
|
-
export const ogcuboid_get_geometry_serialized: (a: number) => [number, number];
|
|
161
|
-
export const ogcuboid_get_local_geometry_serialized: (a: number) => [number, number];
|
|
162
|
-
export const ogcuboid_get_geometry_buffer: (a: number) => [number, number];
|
|
163
|
-
export const ogcuboid_get_local_geometry_buffer: (a: number) => [number, number];
|
|
164
|
-
export const ogcuboid_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
165
|
-
export const ogcuboid_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
166
|
-
export const ogcuboid_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
167
|
-
export const ogcuboid_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
168
|
-
export const ogcuboid_get_anchor: (a: number) => number;
|
|
169
|
-
export const __wbg_ogbooleanresult_free: (a: number, b: number) => void;
|
|
170
|
-
export const ogbooleanresult_brepSerialized: (a: number) => [number, number];
|
|
171
|
-
export const ogbooleanresult_geometrySerialized: (a: number) => [number, number];
|
|
172
|
-
export const ogbooleanresult_outlineGeometrySerialized: (a: number) => [number, number];
|
|
173
|
-
export const ogbooleanresult_reportJson: (a: number) => [number, number];
|
|
174
|
-
export const booleanUnion: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
175
|
-
export const booleanIntersection: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
176
|
-
export const booleanSubtraction: (a: number, b: number, c: number, d: number, e: number, f: number) => [number, number, number];
|
|
177
|
-
export const __wbg_ogsweep_free: (a: number, b: number) => void;
|
|
178
|
-
export const ogsweep_set_id: (a: number, b: number, c: number) => void;
|
|
179
|
-
export const ogsweep_id: (a: number) => [number, number];
|
|
180
|
-
export const ogsweep_new: (a: number, b: number) => number;
|
|
181
|
-
export const ogsweep_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
182
|
-
export const ogsweep_set_config_with_caps: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => [number, number];
|
|
183
|
-
export const ogsweep_set_caps: (a: number, b: number, c: number) => [number, number];
|
|
184
|
-
export const ogsweep_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
185
|
-
export const ogsweep_set_translation: (a: number, b: number) => void;
|
|
186
|
-
export const ogsweep_set_rotation: (a: number, b: number) => void;
|
|
187
|
-
export const ogsweep_set_scale: (a: number, b: number) => [number, number];
|
|
188
|
-
export const ogsweep_generate_brep: (a: number) => [number, number];
|
|
189
|
-
export const ogsweep_clean_geometry: (a: number) => void;
|
|
190
|
-
export const ogsweep_generate_geometry: (a: number) => [number, number];
|
|
191
|
-
export const ogsweep_get_brep_serialized: (a: number) => [number, number];
|
|
192
|
-
export const ogsweep_get_local_brep_serialized: (a: number) => [number, number];
|
|
193
|
-
export const ogsweep_get_geometry_serialized: (a: number) => [number, number];
|
|
194
|
-
export const ogsweep_get_local_geometry_serialized: (a: number) => [number, number];
|
|
195
|
-
export const ogsweep_get_geometry_buffer: (a: number) => [number, number];
|
|
196
|
-
export const ogsweep_get_local_geometry_buffer: (a: number) => [number, number];
|
|
197
|
-
export const ogsweep_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
198
|
-
export const ogsweep_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
199
|
-
export const ogsweep_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
200
|
-
export const ogsweep_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
201
|
-
export const ogsweep_get_anchor: (a: number) => number;
|
|
202
|
-
export const ogsweep_set_anchor: (a: number, b: number) => [number, number];
|
|
203
|
-
export const ogsweep_reset_anchor: (a: number) => [number, number];
|
|
204
|
-
export const __wbg_ogsphere_free: (a: number, b: number) => void;
|
|
205
|
-
export const ogsphere_set_id: (a: number, b: number, c: number) => void;
|
|
206
|
-
export const ogsphere_id: (a: number) => [number, number];
|
|
207
|
-
export const ogsphere_new: (a: number, b: number) => number;
|
|
208
|
-
export const ogsphere_set_config: (a: number, b: number, c: number, d: number, e: number) => [number, number];
|
|
209
|
-
export const ogsphere_set_center: (a: number, b: number) => void;
|
|
210
|
-
export const ogsphere_set_transform: (a: number, b: number, c: number, d: number) => [number, number];
|
|
211
|
-
export const ogsphere_set_translation: (a: number, b: number) => void;
|
|
212
|
-
export const ogsphere_set_rotation: (a: number, b: number) => void;
|
|
213
|
-
export const ogsphere_set_scale: (a: number, b: number) => [number, number];
|
|
214
|
-
export const ogsphere_generate_brep: (a: number) => [number, number];
|
|
215
|
-
export const ogsphere_clean_geometry: (a: number) => void;
|
|
216
|
-
export const ogsphere_generate_geometry: (a: number) => [number, number];
|
|
217
|
-
export const ogsphere_get_brep_serialized: (a: number) => [number, number];
|
|
218
|
-
export const ogsphere_get_local_brep_serialized: (a: number) => [number, number];
|
|
219
|
-
export const ogsphere_get_geometry_serialized: (a: number) => [number, number];
|
|
220
|
-
export const ogsphere_get_local_geometry_serialized: (a: number) => [number, number];
|
|
221
|
-
export const ogsphere_get_geometry_buffer: (a: number) => [number, number];
|
|
222
|
-
export const ogsphere_get_local_geometry_buffer: (a: number) => [number, number];
|
|
223
|
-
export const ogsphere_get_outline_geometry_serialized: (a: number) => [number, number];
|
|
224
|
-
export const ogsphere_get_local_outline_geometry_serialized: (a: number) => [number, number];
|
|
225
|
-
export const ogsphere_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
226
|
-
export const ogsphere_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
227
|
-
export const ogsphere_get_anchor: (a: number) => number;
|
|
228
231
|
export const __wbg_ogwedge_free: (a: number, b: number) => void;
|
|
229
232
|
export const ogwedge_set_id: (a: number, b: number, c: number) => void;
|
|
230
233
|
export const ogwedge_id: (a: number) => [number, number];
|
|
@@ -249,6 +252,7 @@ export const ogwedge_get_local_outline_geometry_serialized: (a: number) => [numb
|
|
|
249
252
|
export const ogwedge_get_outline_geometry_buffer: (a: number) => [number, number];
|
|
250
253
|
export const ogwedge_get_local_outline_geometry_buffer: (a: number) => [number, number];
|
|
251
254
|
export const ogwedge_get_anchor: (a: number) => number;
|
|
255
|
+
export const extrudeBrepFace: (a: number, b: number, c: number) => [number, number, number, number];
|
|
252
256
|
export const __wbg_ogcurve_free: (a: number, b: number) => void;
|
|
253
257
|
export const ogcurve_set_id: (a: number, b: number, c: number) => void;
|
|
254
258
|
export const ogcurve_id: (a: number) => [number, number];
|
|
@@ -417,7 +421,7 @@ export const __externref_table_alloc: () => number;
|
|
|
417
421
|
export const __wbindgen_export_2: WebAssembly.Table;
|
|
418
422
|
export const __wbindgen_malloc: (a: number, b: number) => number;
|
|
419
423
|
export const __wbindgen_realloc: (a: number, b: number, c: number, d: number) => number;
|
|
420
|
-
export const __externref_table_dealloc: (a: number) => void;
|
|
421
424
|
export const __wbindgen_free: (a: number, b: number, c: number) => void;
|
|
425
|
+
export const __externref_table_dealloc: (a: number) => void;
|
|
422
426
|
export const __externref_drop_slice: (a: number, b: number) => void;
|
|
423
427
|
export const __wbindgen_start: () => void;
|
package/package.json
CHANGED
package/src/base-types.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Version string exposed by the Three.js adapter at runtime.
|
|
3
|
+
*/
|
|
4
|
+
export declare const OPEN_GEOMETRY_THREE_VERSION = "2.0.3";
|
|
5
|
+
/**
|
|
6
|
+
* Options accepted when initializing the OpenGeometry runtime.
|
|
7
|
+
*/
|
|
2
8
|
export interface OpenGeometryOptions {
|
|
3
9
|
wasmURL?: string;
|
|
4
10
|
}
|