TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
layer_limits.hpp File Reference

Which copper layers may carry new tracks, and what a track costs on each (doc 05 §29): the user's --no-tracks-on and --layer-cost lists turned into the numbers RouterOptions holds. More...

#include <cstdint>
#include <string>
#include <vector>
#include "model/board.hpp"

Go to the source code of this file.

Classes

struct  tmk::route::LayerLimits

Namespaces

namespace  tmk
namespace  tmk::route

Functions

LayerLimits tmk::route::layer_limits (const model::Board &b, const std::vector< std::string > &no_tracks_on, const std::vector< std::string > &layer_costs)
 no_tracks_on: copper layer names.

Variables

constexpr double tmk::route::kMaxLayerCost = 1000.0

Detailed Description

Which copper layers may carry new tracks, and what a track costs on each (doc 05 §29): the user's --no-tracks-on and --layer-cost lists turned into the numbers RouterOptions holds.

Definition in file layer_limits.hpp.