Create a new geographical transform. Resolution is the number of steps to interpolate between each input line segment to approximate its path in curved space.
(self, resolution)
| 234 | input_dims = output_dims = 2 |
| 235 | |
| 236 | def __init__(self, resolution): |
| 237 | """ |
| 238 | Create a new geographical transform. |
| 239 | |
| 240 | Resolution is the number of steps to interpolate between each input |
| 241 | line segment to approximate its path in curved space. |
| 242 | """ |
| 243 | super().__init__() |
| 244 | self._resolution = resolution |
| 245 | |
| 246 | def __str__(self): |
| 247 | return f"{type(self).__name__}({self._resolution})" |