sumolib.net.netshiftadaptor | index /home/delphi/gcc/sumo/tools/sumolib/net/netshiftadaptor.py

`This class performs a network reprojection
using barycentric coordinates of two triangles
which share the same nodes of two networks.
This means: the class is initialized with two
networks and two lists of node ids (should be
exactly three). The according nodes should be
the "same" nodes in both networks.
When "reproject" is called, all nodes' positions
of the second network are reprojected so that
they match positions within the first network.`

Classes
`` |  | builtins.object NetShiftAdaptor
class NetShiftAdaptor(builtins.object)
`` | `NetShiftAdaptor(net1, net2, nodes1, nodes2)`
| Methods defined here: __init__(self, net1, net2, nodes1, nodes2) `Initialize self. See help(type(self)) for accurate signature.` reproject(self, verbose=False) Data descriptors defined here: __dict__ `dictionary for instance variables (if defined)` __weakref__ `list of weak references to the object (if defined)`