pyinterp.geometry.geographic.algorithms.densify#
- pyinterp.geometry.geographic.algorithms.densify(geometry: pyinterp.core.geometry.geographic.LineString, max_distance: float, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.LineString#
- pyinterp.geometry.geographic.algorithms.densify(geometry: pyinterp.core.geometry.geographic.Ring, max_distance: float, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Ring
- pyinterp.geometry.geographic.algorithms.densify(geometry: pyinterp.core.geometry.geographic.Polygon, max_distance: float, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.Polygon
- pyinterp.geometry.geographic.algorithms.densify(geometry: pyinterp.core.geometry.geographic.MultiLineString, max_distance: float, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.MultiLineString
- pyinterp.geometry.geographic.algorithms.densify(geometry: pyinterp.core.geometry.geographic.MultiPolygon, max_distance: float, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None, strategy: pyinterp.core.geometry.geographic.algorithms.Strategy = Strategy.ANDOYER) pyinterp.core.geometry.geographic.MultiPolygon
Densifies a geometry by adding points along segments.
- Parameters:
geometry – Geometric object to densify.
max_distance – Maximum allowed distance between consecutive points.
spheroid – Optional spheroid for geodetic calculations.
strategy – Calculation strategy.
- Returns:
Densified version of the input geometry (same type).