pyfeyn2.render.pyx.utils

Utility functions and classes for PyFeyn

Module Contents

Classes

Visible

Functions

sign(x)

Get the sign of a numeric type

Attributes

defunit

todefunit

pyfeyn2.render.pyx.utils.defunit[source]
pyfeyn2.render.pyx.utils.todefunit[source]
pyfeyn2.render.pyx.utils.sign(x)[source]

Get the sign of a numeric type

class pyfeyn2.render.pyx.utils.Visible[source]
isVisible()[source]

Check if this instance is visible.

getPath()[source]

Return the path of this instance.

getVisiblePath()[source]

Return the visible path of this instance.

setDepth(depth)[source]

Set the depth at which this instance lives.

getDepth()[source]

Return the depth at which this instance lives.

__cmp__(other)[source]

Compare with another visible class, just using layers.