@typecad/typecad
Version:
🤖programmatically 💥create 🛰️hardware
21 lines (20 loc) • 915 B
TypeScript
import { RoutingGrid, IRoutingObstacle } from '../shared/routing_grid';
import { IRoutePath } from '../../pcb/pcb_interfaces';
interface ISteinerPoint {
x: number;
y: number;
layer: string;
}
export declare class DebugVisualizer {
static visualizeRouting(grid: RoutingGrid, obstacles: IRoutingObstacle[], paths: IRoutePath[], filename?: string, layer?: string, cellSize?: number, steinerPoints?: ISteinerPoint[], debug?: boolean): void;
private static getObstacleColor;
private static getObstacleTypeColor;
private static fillRect;
private static drawRect;
private static fillCircle;
private static drawLine;
private static setPixel;
private static savePPM;
static visualizeAllLayers(grid: RoutingGrid, obstacles: IRoutingObstacle[], paths: IRoutePath[], filename?: string, cellSize?: number, steinerPoints?: ISteinerPoint[], debug?: boolean): void;
}
export {};