Return a transformed point. This function is only kept for backcompatibility; the more general `.transform` method is capable of transforming both a list of points and a single point. The point is given as a sequence of length :attr:`input_dims`. Th
(self, point)
| 1635 | return self.get_affine().get_matrix() |
| 1636 | |
| 1637 | def transform_point(self, point): |
| 1638 | """ |
| 1639 | Return a transformed point. |
| 1640 | |
| 1641 | This function is only kept for backcompatibility; the more general |
| 1642 | `.transform` method is capable of transforming both a list of points |
| 1643 | and a single point. |
| 1644 | |
| 1645 | The point is given as a sequence of length :attr:`input_dims`. |
| 1646 | The transformed point is returned as a sequence of length |
| 1647 | :attr:`output_dims`. |
| 1648 | """ |
| 1649 | if len(point) != self.input_dims: |
| 1650 | raise ValueError("The length of 'point' must be 'self.input_dims'") |
| 1651 | return self.transform(point) |
| 1652 | |
| 1653 | def transform_path(self, path): |
| 1654 | """ |