pyfeyn is hosted by Hepforge, IPPP Durham

Package pyfeyn :: Module lines :: Class Graviton
[hide private]
[frames] | no frames]

Class Graviton




A line with a double sinoid deformation

Instance Methods [hide private]
  __init__(self, point1, point2)
  set3D(self, is3D=True, skipsize=pyx.unit.length(0.04), parity=0)
Make this line display in '3D'.
  invert(self)
Reflect the decoration in the line itself.
  getDeformedPath(self, sign=1)
Get the path with the decorative deformation.
  draw(self, canvas)
Draw the line on the supplied canvas.

Inherited from DecoratedLine: getNumHalfCycles

Inherited from Line: addArrow, addLabel, addParallelArrow, addStyle, addStyles, arcThru, bend, fracpoint, getPath, getStyles, getVisiblePath, removeArrows, removeLabels, setArrows, setStyles, straighten

Inherited from utils.Visible: __cmp__, getDepth, isVisible, setDepth


Method Details [hide private]

__init__(self, point1, point2)
(Constructor)

 
None
Overrides: Line.__init__

set3D(self, is3D=True, skipsize=pyx.unit.length(0.04), parity=0)

 
Make this line display in '3D'.
Overrides: Line.set3D
(inherited documentation)

invert(self)

 
Reflect the decoration in the line itself.
Overrides: DecoratedLine.invert

getDeformedPath(self, sign=1)

 
Get the path with the decorative deformation.
Overrides: DecoratedLine.getDeformedPath

draw(self, canvas)

 
Draw the line on the supplied canvas.
Overrides: Line.draw