forgi.threedee.model.linecloud module¶
-
class
forgi.threedee.model.linecloud.CoordinateStorage(element_names, on_change=<function <lambda>>)[source]¶ Bases:
_abcoll.MappingProvides a dictionary-like interface for the access to coordinates of elements, while the coordinates are actually stored as numpy array to allow for manipultion with array operations.
Parameters: - defines – The keys that will be used.
- on_change – A function that will be called, whenever coordinates are changed. It will receive the key for which the coordinates are changed as sole argument.
-
is_filled¶ Returns True if all coordinates are set to somethiong different than nan.
-
on_change= None¶ on-change function is called whenever coordinates are modified.
-
class
forgi.threedee.model.linecloud.LineSegmentStorage(*args, **kwargs)[source]¶