@tscircuit/capacity-autorouter 0.0.160 → 0.0.162
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/dist/index.d.ts +3 -24
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -995,7 +995,7 @@ declare class SingleHighDensityRouteStitchSolver extends BaseSolver {
|
|
|
995
995
|
});
|
|
996
996
|
/**
|
|
997
997
|
* Scan `remainingHdRoutes` and find a route that has **one** end that is not
|
|
998
|
-
* within `
|
|
998
|
+
* within `1e-3` of the start or end of any other route on the same layer.
|
|
999
999
|
* That “lonely” end marks one extremity of the whole chain, which we use as
|
|
1000
1000
|
* our starting segment. If no such route exists (e.g., the data form a loop),
|
|
1001
1001
|
* we simply return the first route so the solver can proceed.
|
|
@@ -1007,28 +1007,6 @@ declare class SingleHighDensityRouteStitchSolver extends BaseSolver {
|
|
|
1007
1007
|
visualize(): GraphicsObject;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
/**
|
|
1011
|
-
* Optimizes route directions by comparing pad-to-endpoint distances.
|
|
1012
|
-
* Reverses routes when cross-connections provide better alignment.
|
|
1013
|
-
*/
|
|
1014
|
-
declare class RouteDirectionFixSubSolver extends BaseSolver {
|
|
1015
|
-
private routes;
|
|
1016
|
-
private reversedRoutes;
|
|
1017
|
-
private currentIndex;
|
|
1018
|
-
private colorMap;
|
|
1019
|
-
constructor(routes: HighDensityIntraNodeRoute$1[], colorMap?: Record<string, string>);
|
|
1020
|
-
getConstructorParams(): HighDensityIntraNodeRoute$1[];
|
|
1021
|
-
_step(): void;
|
|
1022
|
-
/**
|
|
1023
|
-
* Gets the processed routes with optimized directions
|
|
1024
|
-
*/
|
|
1025
|
-
getProcessedRoutes(): HighDensityIntraNodeRoute$1[];
|
|
1026
|
-
/**
|
|
1027
|
-
* Visualization showing route direction optimization progress
|
|
1028
|
-
*/
|
|
1029
|
-
visualize(): GraphicsObject;
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
1010
|
type UnsolvedRoute = {
|
|
1033
1011
|
connectionName: string;
|
|
1034
1012
|
hdRoutes: HighDensityIntraNodeRoute$1[];
|
|
@@ -1045,7 +1023,7 @@ type UnsolvedRoute = {
|
|
|
1045
1023
|
};
|
|
1046
1024
|
declare class MultipleHighDensityRouteStitchSolver extends BaseSolver {
|
|
1047
1025
|
unsolvedRoutes: UnsolvedRoute[];
|
|
1048
|
-
activeSolver: SingleHighDensityRouteStitchSolver |
|
|
1026
|
+
activeSolver: SingleHighDensityRouteStitchSolver | null;
|
|
1049
1027
|
mergedHdRoutes: HighDensityIntraNodeRoute$1[];
|
|
1050
1028
|
colorMap: Record<string, string>;
|
|
1051
1029
|
defaultTraceThickness: number;
|
|
@@ -1117,6 +1095,7 @@ interface UnravelSection {
|
|
|
1117
1095
|
immutableNodeIds: CapacityMeshNodeId[];
|
|
1118
1096
|
segmentPointMap: SegmentPointMap;
|
|
1119
1097
|
mutableSegmentPointIds: Set<SegmentPointId>;
|
|
1098
|
+
zLockedSegmentPointIds: Set<SegmentPointId>;
|
|
1120
1099
|
segmentPairsInNode: Map<CapacityMeshNodeId, Array<[SegmentPointId, SegmentPointId]>>;
|
|
1121
1100
|
segmentPointsInNode: Map<CapacityMeshNodeId, SegmentPointId[]>;
|
|
1122
1101
|
segmentPointsInSegment: Map<SegmentId, SegmentPointId[]>;
|