@tscircuit/math-utils 0.0.17 → 0.0.18

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.
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-MTORG67J.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/dist/index.d.ts CHANGED
@@ -5,3 +5,4 @@ export { getUnitVectorFromDirection, getUnitVectorFromPointAToB } from './get-un
5
5
  export { GridCellPositions, GridOptions, grid } from './grid.js';
6
6
  export { pointToSegmentClosestPoint, segmentToBoundsMinDistance, segmentToBoxMinDistance, segmentToCircleMinDistance, segmentToSegmentMinDistance } from './segment-distance.js';
7
7
  export { distSq, midpoint, pointToBoundsDistance, pointToBoxDistance } from './point-distance.js';
8
+ export { Point3 } from './point3.js';
package/dist/index.js CHANGED
@@ -1,3 +1,10 @@
1
+ import {
2
+ pointToSegmentClosestPoint,
3
+ segmentToBoundsMinDistance,
4
+ segmentToBoxMinDistance,
5
+ segmentToCircleMinDistance,
6
+ segmentToSegmentMinDistance
7
+ } from "./chunk-FWQGMQBW.js";
1
8
  import "./chunk-GYQ2KZV6.js";
2
9
  import {
3
10
  getUnitVectorFromDirection,
@@ -12,13 +19,6 @@ import {
12
19
  pointToBoundsDistance,
13
20
  pointToBoxDistance
14
21
  } from "./chunk-SLG2OU3P.js";
15
- import {
16
- pointToSegmentClosestPoint,
17
- segmentToBoundsMinDistance,
18
- segmentToBoxMinDistance,
19
- segmentToCircleMinDistance,
20
- segmentToSegmentMinDistance
21
- } from "./chunk-FWQGMQBW.js";
22
22
  import {
23
23
  distance,
24
24
  doSegmentsIntersect,
@@ -34,6 +34,7 @@ import {
34
34
  findNearestPointsBetweenBoxSets,
35
35
  getBoundingBox
36
36
  } from "./chunk-MHHTZHOJ.js";
37
+ import "./chunk-MTORG67J.js";
37
38
  export {
38
39
  clamp,
39
40
  computeDistanceBetweenBoxes,
@@ -0,0 +1,7 @@
1
+ type Point3 = {
2
+ x: number;
3
+ y: number;
4
+ z: number;
5
+ };
6
+
7
+ export type { Point3 };
package/dist/point3.js ADDED
@@ -0,0 +1,2 @@
1
+ import "./chunk-MTORG67J.js";
2
+ //# sourceMappingURL=point3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tscircuit/math-utils",
3
3
  "main": "dist/index.js",
4
- "version": "0.0.17",
4
+ "version": "0.0.18",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",