Add note about coordinates outside of mesh

This commit is contained in:
Johannes Schönberger
2012-09-03 21:49:14 +02:00
parent 65879a2cde
commit f79012fe22
+5 -1
View File
@@ -357,10 +357,12 @@ class PiecewiseAffineTransform(ProjectiveTransform):
def __call__(self, coords):
"""Apply forward transformation.
Coordinates outside of the mesh will be set to `- 1`.
Parameters
----------
coords : (N, 2) array
source coordinates
Source coordinates.
Returns
-------
@@ -388,6 +390,8 @@ class PiecewiseAffineTransform(ProjectiveTransform):
def inverse(self, coords):
"""Apply inverse transformation.
Coordinates outside of the mesh will be set to `- 1`.
Parameters
----------
coords : (N, 2) array