pyinterp.geometry.geographic.algorithms.closest_points#
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.LineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment#
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.MultiLineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.MultiPoint, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.LineString, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPoint, geometry2: pyinterp.core.geometry.geographic.LineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPoint, geometry2: pyinterp.core.geometry.geographic.MultiLineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPoint, geometry2: pyinterp.core.geometry.geographic.MultiPoint, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPoint, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPoint, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiLineString, geometry2: pyinterp.core.geometry.geographic.LineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiLineString, geometry2: pyinterp.core.geometry.geographic.MultiLineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiLineString, geometry2: pyinterp.core.geometry.geographic.MultiPoint, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiLineString, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiLineString, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.LineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.MultiLineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.MultiPoint, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.MultiPolygon, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.LineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.MultiLineString, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.MultiPoint, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.MultiPolygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
- pyinterp.geometry.geographic.algorithms.closest_points(geometry1: pyinterp.core.geometry.geographic.Polygon, geometry2: pyinterp.core.geometry.geographic.Polygon, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Segment
Calculate the closest points between two geometries.
The closest points are the pair of points, one on each geometry, that are closest to each other.
- Parameters:
geometry1 – First geometry.
geometry2 – Second geometry.
spheroid – Optional spheroid for geodetic calculations. If not provided, uses WGS84 ellipsoid.
strategy – Calculation strategy.
- Returns:
Closest points as a Segment.