pyfeyn is hosted by Hepforge, IPPP Durham

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

Class Gaugino




A line with a sinoid deformation and a normal line

Instance Methods [hide private]
  __init__(self, point1, point2)
  set3D(self, is3D=True, skipsize=pyx.unit.length(0.04), parity=0)
Make the line look 3-dimensional by 'cutting' one line where self-intersections occur.
  invert(self)
Reflect the decoration in the line itself.
  getDeformedPath(self)
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 the line look 3-dimensional by 'cutting' one line where self-intersections occur.
Overrides: Line.set3D

invert(self)

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

getDeformedPath(self)

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

draw(self, canvas)

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