pyinterp.core.geodetic.LineString.curvilinear_distance#
- LineString.curvilinear_distance(self: pyinterp.core.geodetic.LineString, strategy: str = 'thomas', wgs: pyinterp.core.geodetic.Spheroid | None = None) Annotated[numpy.typing.NDArray[numpy.float64], '[m, 1]']#
Compute the curvilinear distance between the points of this instance.
- Parameters:
strategy – The distance strategy to use. This parameter can take the values
andoyer,thomasorvincenty.wgs – The spheroid to use. If not provided, the WGS84 spheroid is used.
- Returns:
The curvilinear distance between the points of this instance.