moviemaker2.transforms

moviemaker2.transforms.polar

Provides conversion between polar and cartesian coordinates.

class moviemaker2.transforms.polar.Polar2DtoCartesian2D(mesh=None)[source]

Computes cartesian 2D coordinates [y, x] from 2D polar coordinates [r, phi].

__init__(mesh=None)[source]

mesh is in polar coordinates [r, phi].

__call__(*args, **kwargs)[source]

Calculates the cartesian coordinates [y, x] from the polar coordinates.

class moviemaker2.transforms.polar.Cartesian2DtoPolar2D(mesh=None)[source]

Calculates 2D polar coordinates [r, phi] from 2D cartesian coordinates [y, x].

__init__(mesh=None)[source]

mesh is in cartesian coordinates [y, x].

__call__(*args, **kwargs)[source]

Calculates the polar coordinates [r, phi] from the cartesian coordinates [y, x].

The angle is calculates mathematically positive starting in the direction os +x with phi=0.

Table Of Contents

Previous topic

moviemaker2.stacks

Next topic

Built-in Extensions

This Page