A function decorator for defining transformations between coordinate systems using a function that yields a matrix.
The decorated function should accept a single argument, the coordinate object to be transformed, and should return a 3 x 3 matrix.
Note
If decorating a static method of a class, @staticmethod should be added above this decorator.
Parameters : | fromsys : class
tosys : class
priority : number
|
---|