~pierre-parent-k/kicad/length-tunning

« back to all changes in this revision

Viewing changes to pcbnew/ratsnest_data.h

  • Committer: Pierre Parent
  • Date: 2014-07-06 10:32:13 UTC
  • mfrom: (4798.1.179 kicad)
  • Revision ID: pierre.parent@insa-rouen.fr-20140706103213-wjsdy0hc9q6wbz5v
Merge with lp:kicad 4977

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
class BOARD_CONNECTED_ITEM;
45
45
class MODULE;
46
46
class D_PAD;
47
 
class SEGVIA;
 
47
class VIA;
48
48
class TRACK;
49
49
class ZONE_CONTAINER;
50
50
class CPolyPt;
51
51
 
52
52
// Preserve KiCad coding style policy
53
 
typedef hed::Node RN_NODE;
54
 
typedef hed::NodePtr RN_NODE_PTR;
55
 
typedef hed::Edge RN_EDGE;
56
 
typedef hed::EdgePtr RN_EDGE_PTR;
57
 
typedef hed::EdgeMST RN_EDGE_MST;
58
 
typedef boost::shared_ptr<hed::EdgeMST> RN_EDGE_MST_PTR;
59
 
typedef hed::Triangulation TRIANGULATOR;
 
53
typedef hed::NODE           RN_NODE;
 
54
typedef hed::NODE_PTR       RN_NODE_PTR;
 
55
typedef hed::EDGE           RN_EDGE;
 
56
typedef hed::EDGE_PTR       RN_EDGE_PTR;
 
57
typedef hed::EDGE_MST       RN_EDGE_MST;
 
58
typedef hed::TRIANGULATION  TRIANGULATOR;
 
59
typedef boost::shared_ptr<hed::EDGE_MST> RN_EDGE_MST_PTR;
60
60
 
61
61
bool operator==( const RN_NODE_PTR& aFirst, const RN_NODE_PTR& aSecond );
62
62
bool operator!=( const RN_NODE_PTR& aFirst, const RN_NODE_PTR& aSecond );
332
332
     * taken into account during ratsnest computations.
333
333
     * @param aVia is a via for which node is added.
334
334
     */
335
 
    void AddItem( const SEGVIA* aVia );
 
335
    void AddItem( const VIA* aVia );
336
336
 
337
337
    /**
338
338
     * Function AddItem()
364
364
     * taken into account during ratsnest computations anymore.
365
365
     * @param aVia is a via for which nodes and edges are removed.
366
366
     */
367
 
    void RemoveItem( const SEGVIA* aVia );
 
367
    void RemoveItem( const VIA* aVia );
368
368
 
369
369
    /**
370
370
     * Function RemoveItem()
522
522
    boost::unordered_map<const D_PAD*, RN_NODE_PTR> m_pads;
523
523
 
524
524
    ///> Map that associates nodes in the ratsnest model to respective vias.
525
 
    boost::unordered_map<const SEGVIA*, RN_NODE_PTR> m_vias;
 
525
    boost::unordered_map<const VIA*, RN_NODE_PTR> m_vias;
526
526
 
527
527
    ///> Map that associates edges in the ratsnest model to respective tracks.
528
528
    boost::unordered_map<const TRACK*, RN_EDGE_PTR> m_tracks;