Extension of the class Vertex in order to store the information linked
to the display of a FeynmanDiagram, as position
|
__init__(self,
vertex)
Update a vertex to a VertexPoint with additional information about
positioning and link with other vertex/line of the diagram. |
source code
|
|
|
def_position(self,
x,
y)
-Re-Define the position of the vertex in a square [0, 1]^2 |
source code
|
|
|
fuse_vertex(self,
vertex,
common_line='
' )
Import the line of the second vertex in the first one this means A)
change the 'line' of this vertex B) change the start-end position of
line to point on this vertex C) remove common_line (if defined). |
source code
|
|
|
add_line(self,
line)
Add the line in the list keeping line connected to this vertex :
self.lines. |
source code
|
|
|
|
|
|
|
is_external(self)
Check if this vertex is external , i.e is related to a single
(external) particles. |
source code
|
|
|
|
|
get_uid(self)
Provide a unique id for the vertex |
source code
|
|
|
__eq__(self,
other)
Define equality with pointeur equality. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|