PyFeyn is hosted by Hepforge, IPPP Durham

Package pyfeyn :: Module points
[hide private]
[frames] | no frames]

Module points



Various types of points for vertices etc.

Classes [hide private]
  Point
Base class for all pointlike objects in Feynman diagrams.
  DecoratedPoint
Class for a point drawn with a marker
  Vertex
Class for a point drawn with a marker
  Mark
  SquareMark
  CircleMark

Functions [hide private]
  midpoint(point1, point2)
Return the point midway between this point and the argument.
  distance(point1, point2)
Calculate the distance between this point and the argument.

Variables [hide private]
  CIRCLE = <pyfeyn.points.CircleMark instance at 0xb71b680c>
  SQUARE = <pyfeyn.points.SquareMark instance at 0xb71b6d0c>

Function Details [hide private]

midpoint(point1, point2)

 
Return the point midway between this point and the argument.

distance(point1, point2)

 
Calculate the distance between this point and the argument.

Variables Details [hide private]

CIRCLE

None
Value:
<pyfeyn.points.CircleMark instance at 0xb71b680c>                      
      

SQUARE

None
Value:
<pyfeyn.points.SquareMark instance at 0xb71b6d0c>