#include <gugr_basics.h>
Public Methods | |
vertex () | |
vertex (const vertex &other) | |
vertex (const point2< rational > &av) | |
~vertex () | |
vertex & | operator= (const vertex &other) |
point2< rational > & | v () const |
Public Attributes | |
vertex_rep * | m_rep |
Friends | |
bool | operator== (const vertex &a, const vertex &b) |
|
Definition at line 157 of file gugr_basics.h. Referenced by operator=(), and vertex().
00158 { 00159 m_rep = NULL; 00160 } |
|
Definition at line 162 of file gugr_basics.h. References vertex().
00163 { 00164 if( other.m_rep ) other.m_rep->m_refcount++; 00165 m_rep = other.m_rep; 00166 } |
|
Definition at line 168 of file gugr_basics.h.
00169 { 00170 m_rep = new vertex_rep( av ); 00171 } |
|
Definition at line 173 of file gugr_basics.h.
|
|
Definition at line 178 of file gugr_basics.h. References vertex().
|
|
Definition at line 187 of file gugr_basics.h.
00187 { return(m_rep->v); } |
|
Definition at line 190 of file gugr_basics.h.
00191 { 00192 return( a.m_rep == b.m_rep ); 00193 } |
|
Definition at line 155 of file gugr_basics.h. |