openglider.utils package

Submodules

openglider.utils.bezier module

class openglider.utils.bezier.BezierCurve(points=None)[source]

Bases: object

controlpoints[source]
fit(data, numpoints=None)[source]
interpolation(num=100)[source]
numpoints[source]
xpoint(x)[source]
ypoint(y)[source]

openglider.utils.cached_property module

class openglider.utils.cached_property.HashedObject[source]

Bases: object

Provide a list of attributes to hash down for tracking changes

hashlist = ()
openglider.utils.cached_property.c_mul(a, b)[source]

C type multiplication http://stackoverflow.com/questions/6008026/how-hash-is-implemented-in-python-3-2

openglider.utils.cached_property.cached_property(*args)[source]
openglider.utils.cached_property.hash_attributes(class_instance, hashlist)[source]

http://effbot.org/zone/python-hash.htm

openglider.utils.cached_property.rec_getattr(obj, attr)[source]
class openglider.utils.cached_property.test[source]

Bases: object

Module contents

openglider.utils.sign(val)[source]