KiCad PCB EDA Suite
p2t::AdvancingFront Class Reference

#include <advancing_front.h>

Public Member Functions

 AdvancingFront (Node &head, Node &tail)
 
 ~AdvancingFront ()
 
Nodehead ()
 
void set_head (Node *node)
 
Nodetail ()
 
void set_tail (Node *node)
 
Nodesearch ()
 
void set_search (Node *node)
 
NodeLocateNode (const double &x)
 Locate insertion point along advancing front. More...
 
NodeLocatePoint (const Point *point)
 

Private Member Functions

NodeFindSearchNode (const double &x)
 

Private Attributes

Nodehead_
 
Nodetail_
 
Nodesearch_node_
 

Detailed Description

Definition at line 62 of file advancing_front.h.

Constructor & Destructor Documentation

p2t::AdvancingFront::AdvancingFront ( Node head,
Node tail 
)
p2t::AdvancingFront::~AdvancingFront ( )

Member Function Documentation

Node* p2t::AdvancingFront::FindSearchNode ( const double &  x)
private
Node * p2t::AdvancingFront::head ( )
inline

Definition at line 88 of file advancing_front.h.

References head_.

89 {
90  return head_;
91 }
Node* p2t::AdvancingFront::LocateNode ( const double &  x)

Locate insertion point along advancing front.

Node* p2t::AdvancingFront::LocatePoint ( const Point point)
Node * p2t::AdvancingFront::search ( )
inline

Definition at line 106 of file advancing_front.h.

References search_node_.

107 {
108  return search_node_;
109 }
void p2t::AdvancingFront::set_head ( Node node)
inline

Definition at line 92 of file advancing_front.h.

References head_.

93 {
94  head_ = node;
95 }
void p2t::AdvancingFront::set_search ( Node node)
inline

Definition at line 111 of file advancing_front.h.

References search_node_.

112 {
113  search_node_ = node;
114 }
void p2t::AdvancingFront::set_tail ( Node node)
inline

Definition at line 101 of file advancing_front.h.

References tail_.

102 {
103  tail_ = node;
104 }
Node * p2t::AdvancingFront::tail ( )
inline

Definition at line 97 of file advancing_front.h.

References tail_.

98 {
99  return tail_;
100 }

Member Data Documentation

Node* p2t::AdvancingFront::head_
private

Definition at line 83 of file advancing_front.h.

Referenced by head(), and set_head().

Node * p2t::AdvancingFront::search_node_
private

Definition at line 83 of file advancing_front.h.

Referenced by search(), and set_search().

Node * p2t::AdvancingFront::tail_
private

Definition at line 83 of file advancing_front.h.

Referenced by set_tail(), and tail().


The documentation for this class was generated from the following file: