23#ifndef __PNS_MEANDER_PLACER_H
24#define __PNS_MEANDER_PLACER_H
26#include <math/vector2d.h>
28#include <geometry/shape_line_chain.h>
32#include "pns_placement_algo.h"
33#include "pns_meander.h"
34#include "pns_meander_placer_base.h"
82 return std::vector<int> (1, m_originLine.Net() );
98 bool doMove(
const VECTOR2I& aP,
ITEM* aEndItem,
long long int aTargetLength );
100 void setWorld(
NODE* aWorld );
118 long long int m_lastLength;
Definition pns_itemset.h:37
Base class for PNS router board items.
Definition pns_item.h:57
Represents a track on a PCB, connecting two non-trivial joints (that is, vias, pads,...
Definition pns_line.h:61
Definition pns_linked_item.h:30
Represent a set of meanders fitted over a single or two lines.
Definition pns_meander.h:386
Base class for Single trace & Differential pair meandering tools, as both of them share a lot of code...
Definition pns_meander_placer_base.h:47
TUNING_STATUS
< Result of the length tuning operation
Definition pns_meander_placer_base.h:50
Single track length matching/meandering tool.
Definition pns_meander_placer.h:46
virtual const wxString TuningInfo(EDA_UNITS aUnits) const override
Return a string describing the status and length of the tuned traces.
Definition pns_meander_placer.cpp:270
virtual bool FixRoute(const VECTOR2I &aP, ITEM *aEndItem, bool aForceFinish=false) override
Function FixRoute()
Definition pns_meander_placer.cpp:202
virtual bool Move(const VECTOR2I &aP, ITEM *aEndItem) override
Function Move()
Definition pns_meander_placer.cpp:104
virtual long long int origPathLength() const
current routing start point (end of tail, beginning of head)
Definition pns_meander_placer.cpp:98
int CurrentLayer() const override
Function CurrentLayer()
Definition pns_meander_placer.cpp:264
const VECTOR2I & CurrentEnd() const override
Function CurrentEnd()
Definition pns_meander_placer.cpp:259
bool AbortPlacement() override
Definition pns_meander_placer.cpp:215
bool HasPlacedAnything() const override
Definition pns_meander_placer.cpp:222
NODE * CurrentNode(bool aLoopsRemoved=false) const override
Function CurrentNode()
Definition pns_meander_placer.cpp:51
const ITEM_SET Traces() override
Function Traces()
Definition pns_meander_placer.cpp:252
bool CheckFit(MEANDER_SHAPE *aShape) override
Checks if it's OK to place the shape aShape (i.e.
Definition pns_meander_placer.cpp:238
VECTOR2I m_currentStart
Current world state.
Definition pns_meander_placer.h:105
virtual TUNING_STATUS TuningStatus() const override
Return the tuning status (too short, too long, etc.) of the trace(s) being tuned.
Definition pns_meander_placer.cpp:297
virtual bool Start(const VECTOR2I &aP, ITEM *aStartItem) override
Function Start()
Definition pns_meander_placer.cpp:60
const std::vector< int > CurrentNets() const override
Function CurrentNets()
Definition pns_meander_placer.h:80
bool CommitPlacement() override
Definition pns_meander_placer.cpp:228
The geometry of a single meander.
Definition pns_meander.h:111
Keep the router "world" - i.e.
Definition pns_node.h:148
Definition pns_router.h:116
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
Definition shape_line_chain.h:81
Definition wx_compat.h:13